mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
feat: expose received_date in laporan pembelian
This commit is contained in:
@@ -305,6 +305,14 @@ const PurchaseTable = () => {
|
|||||||
? formatDate(props.row.original.po_date, 'DD MMM YYYY')
|
? 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',
|
accessorKey: 'due_date',
|
||||||
header: 'Jatuh Tempo',
|
header: 'Jatuh Tempo',
|
||||||
|
|||||||
Vendored
+1
@@ -68,6 +68,7 @@ export type BasePurchase = {
|
|||||||
supplier: Supplier;
|
supplier: Supplier;
|
||||||
credit_term?: number;
|
credit_term?: number;
|
||||||
due_date: string;
|
due_date: string;
|
||||||
|
received_date?: string | null;
|
||||||
notes?: string | null;
|
notes?: string | null;
|
||||||
deleted_at?: string | null;
|
deleted_at?: string | null;
|
||||||
created_by: number;
|
created_by: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user