fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { receivePurchaseOrder } from "@/lib/actions";
|
||||
import { PurchaseOrderCreateForm } from "@/components/purchase-order-create-form";
|
||||
import { PurchaseOrderForm } from "@/components/purchase-order-form";
|
||||
import { formatCurrency, formatDate } from "@/lib/format";
|
||||
import { getLowStockParts, getOrderItemOptions, getPurchaseOrders, getVendors } from "@/lib/repository";
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function PurchaseOrdersPage() {
|
||||
<article className="panel">
|
||||
<h2 className="section-title">Create Purchase Order</h2>
|
||||
<p className="section-copy">Build the PO from real inventory items so receipts, costing, and restocking stay relational.</p>
|
||||
<PurchaseOrderCreateForm vendors={vendors} items={items} />
|
||||
<PurchaseOrderForm vendors={vendors} items={items} />
|
||||
</article>
|
||||
<article className="panel">
|
||||
<h2 className="section-title">Receiving Flow</h2>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { shipSalesOrder } from "@/lib/actions";
|
||||
import { SalesOrderCreateForm } from "@/components/sales-order-create-form";
|
||||
import { SalesOrderForm } from "@/components/sales-order-form";
|
||||
import { formatCurrency, formatDate } from "@/lib/format";
|
||||
import { getCustomers, getOrderItemOptions, getSalesOrders } from "@/lib/repository";
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function SalesOrdersPage() {
|
||||
<article className="panel">
|
||||
<h2 className="section-title">Create Sales Order</h2>
|
||||
<p className="section-copy">Build the order from real inventory records so each line references an actual item in the database.</p>
|
||||
<SalesOrderCreateForm customers={customers} items={items} />
|
||||
<SalesOrderForm customers={customers} items={items} />
|
||||
</article>
|
||||
<article className="panel">
|
||||
<h2 className="section-title">Shipping Flow</h2>
|
||||
|
||||
Reference in New Issue
Block a user