Manage your purchase orders efficiently. You can add, edit, or delete purchase orders as needed.
| toggleSort(col.key)} > {col.title} {#if sortColumn === col.key} {sortOrder === "asc" ? " 🔼" : " 🔽"} {/if} | {:else}toggleSort(col.key)} > {col.title} {#if sortColumn === col.key} {sortOrder === "asc" ? " 🔼" : " 🔽"} {/if} | {/if} {/each}|||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| {#if row[col.key]} {new Date( row[col.key], ).toLocaleString()} {:else} — {/if} | {:else if col.key === "po_remark"}{row[col.key] || "—"} | {:else if col.key === "purchase_order_number"}{row.purchase_order_number || "—"} | {:else if col.key === "prepared"}{:else if col.key === "approved"} | {:else if col.key === "acknowledged"} | {:else if col.key === "completed"} | {:else if col.key === "received"} | {:else if col.key === "payment"} | {:else if col.key === "actions"} | {:else} | {row[col.key] ?? "—"} | {/if} {/each}