feat: Some todos added.
This commit is contained in:
@@ -141,12 +141,14 @@ enum IDKey: CustomStringConvertible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enum PurchaseOrder: CustomStringConvertible {
|
enum PurchaseOrder: CustomStringConvertible {
|
||||||
|
case content
|
||||||
case row(id: SharedModels.PurchaseOrder.ID)
|
case row(id: SharedModels.PurchaseOrder.ID)
|
||||||
case search
|
case search
|
||||||
case table
|
case table
|
||||||
|
|
||||||
var description: String {
|
var description: String {
|
||||||
switch self {
|
switch self {
|
||||||
|
case let .content: return "content"
|
||||||
case let .row(id): return "\(id)"
|
case let .row(id): return "\(id)"
|
||||||
case .search: return "search"
|
case .search: return "search"
|
||||||
case .table: return "table"
|
case .table: return "table"
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import Foundation
|
|||||||
@preconcurrency import URLRouting
|
@preconcurrency import URLRouting
|
||||||
|
|
||||||
// swiftlint:disable file_length
|
// 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 {
|
public enum ViewRoute: Sendable, Equatable {
|
||||||
|
|
||||||
case employee(EmployeeRoute)
|
case employee(EmployeeRoute)
|
||||||
|
|||||||
Reference in New Issue
Block a user