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