feat: Begins implementing route definitions.

This commit is contained in:
2025-01-18 18:49:04 -05:00
parent 9efd920456
commit da41da566b
10 changed files with 469 additions and 17 deletions

View File

@@ -22,14 +22,12 @@ struct PurchaseOrderTable: HTML {
var content: some HTML {
table(.id(.purchaseOrders())) {
if page.items.count > 0 {
thead {
buttonRow
tableHeader
}
tbody(.id(.purchaseOrders(.table))) {
Rows(page: page)
}
thead {
buttonRow
tableHeader
}
tbody(.id(.purchaseOrders(.table))) {
Rows(page: page)
}
}
}