feat: Some todos added.

This commit is contained in:
2025-01-20 16:47:28 -05:00
parent 410bbae1c8
commit 0cf01298bc
2 changed files with 4 additions and 0 deletions

View File

@@ -141,12 +141,14 @@ enum IDKey: CustomStringConvertible {
}
enum PurchaseOrder: CustomStringConvertible {
case content
case row(id: SharedModels.PurchaseOrder.ID)
case search
case table
var description: String {
switch self {
case let .content: return "content"
case let .row(id): return "\(id)"
case .search: return "search"
case .table: return "table"

View File

@@ -3,6 +3,8 @@ import Foundation
@preconcurrency import URLRouting
// swiftlint:disable file_length
// TODO: Need vendor branch index route, to load branches when vendor form is displayed.
// Also need a home / index route that will redirect to login or purchase orders.
public enum ViewRoute: Sendable, Equatable {
case employee(EmployeeRoute)