feat: Adds purchase-order form only renders a new row rather than whole table.

This commit is contained in:
2025-01-09 22:34:49 -05:00
parent c4410706fd
commit 3f30327fd8
5 changed files with 35 additions and 16 deletions

View File

@@ -102,6 +102,8 @@ struct ApiController: RouteCollection {
// MARK: - PurchaseOrders
// TODO: Add fetch by id.
// TODO: Add pagination and filters.
@Sendable
func purchaseOrdersIndex(req: Request) async throws -> [PurchaseOrder.DTO] {