feat: Some todos added.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user