feat: expose received_date in laporan pembelian

This commit is contained in:
Adnan Zahir
2026-04-25 22:24:39 +07:00
parent a11d05e720
commit 2b3b6b9549
2 changed files with 9 additions and 0 deletions
@@ -305,6 +305,14 @@ const PurchaseTable = () => {
? formatDate(props.row.original.po_date, 'DD MMM YYYY')
: '-',
},
{
accessorKey: 'received_date',
header: 'Tgl. Terima',
cell: (props) =>
props.row.original.received_date
? formatDate(props.row.original.received_date, 'DD MMM YYYY')
: '-',
},
{
accessorKey: 'due_date',
header: 'Jatuh Tempo',
+1
View File
@@ -68,6 +68,7 @@ export type BasePurchase = {
supplier: Supplier;
credit_term?: number;
due_date: string;
received_date?: string | null;
notes?: string | null;
deleted_at?: string | null;
created_by: number;