fix data PO
This commit is contained in:
@@ -727,7 +727,15 @@
|
||||
}
|
||||
|
||||
showEditModal = false;
|
||||
await fetchPurchaseOrder();
|
||||
await fetchPurchaseOrder(
|
||||
selectedVillaId,
|
||||
searchTerm,
|
||||
sortColumn,
|
||||
sortOrder,
|
||||
(currentPage - 1) * rowsPerPage,
|
||||
rowsPerPage,
|
||||
selectedStatus,
|
||||
);
|
||||
}
|
||||
// save completed purchase order
|
||||
async function saveCompleted() {
|
||||
@@ -2207,7 +2215,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- PO Item -->
|
||||
{#if approvalForm.po_item}
|
||||
{#if acknowledgedForm.po_item}
|
||||
<label>PO Item</label>
|
||||
<input
|
||||
type="text"
|
||||
@@ -2218,7 +2226,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- Approved Quantity -->
|
||||
{#if approvalForm.approved_quantity != null}
|
||||
{#if acknowledgedForm.approved_quantity != null}
|
||||
<label>Approved Quantity</label>
|
||||
<input
|
||||
type="number"
|
||||
@@ -2229,7 +2237,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- Approved Price -->
|
||||
{#if approvalForm.approved_price != null}
|
||||
{#if acknowledgedForm.approved_price != null}
|
||||
<label>Approved Price</label>
|
||||
<CurrencyInput
|
||||
value={acknowledgedForm.approved_price}
|
||||
@@ -2239,7 +2247,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- Total Approved Order Amount -->
|
||||
{#if approvalForm.total_approved_order_amount != null}
|
||||
{#if acknowledgedForm.total_approved_order_amount != null}
|
||||
<label>Total Approved Order Amount</label>
|
||||
<CurrencyInput
|
||||
value={acknowledgedForm.total_approved_order_amount}
|
||||
@@ -2249,7 +2257,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- Approved Vendor -->
|
||||
{#if approvalForm.approved_vendor}
|
||||
{#if acknowledgedForm.approved_vendor}
|
||||
<label>Approved Vendor</label>
|
||||
<input
|
||||
type="text"
|
||||
|
||||
Reference in New Issue
Block a user