fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { receivePurchaseOrder } from "@/lib/actions";
|
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 { formatCurrency, formatDate } from "@/lib/format";
|
||||||
import { getLowStockParts, getOrderItemOptions, getPurchaseOrders, getVendors } from "@/lib/repository";
|
import { getLowStockParts, getOrderItemOptions, getPurchaseOrders, getVendors } from "@/lib/repository";
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ export default function PurchaseOrdersPage() {
|
|||||||
<article className="panel">
|
<article className="panel">
|
||||||
<h2 className="section-title">Create Purchase Order</h2>
|
<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>
|
<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>
|
||||||
<article className="panel">
|
<article className="panel">
|
||||||
<h2 className="section-title">Receiving Flow</h2>
|
<h2 className="section-title">Receiving Flow</h2>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { shipSalesOrder } from "@/lib/actions";
|
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 { formatCurrency, formatDate } from "@/lib/format";
|
||||||
import { getCustomers, getOrderItemOptions, getSalesOrders } from "@/lib/repository";
|
import { getCustomers, getOrderItemOptions, getSalesOrders } from "@/lib/repository";
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ export default function SalesOrdersPage() {
|
|||||||
<article className="panel">
|
<article className="panel">
|
||||||
<h2 className="section-title">Create Sales Order</h2>
|
<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>
|
<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>
|
||||||
<article className="panel">
|
<article className="panel">
|
||||||
<h2 className="section-title">Shipping Flow</h2>
|
<h2 className="section-title">Shipping Flow</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user