mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 15:25:46 +00:00
Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into hotfix/marketing
This commit is contained in:
@@ -112,12 +112,16 @@ const SalesReportTable = ({
|
|||||||
<div className='font-semibold text-gray-900'>Total Penjualan</div>
|
<div className='font-semibold text-gray-900'>Total Penjualan</div>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// id: 'age',
|
id: 'age',
|
||||||
// accessorKey: 'age',
|
accessorKey: 'age',
|
||||||
// header: 'Umur',
|
header: 'Umur',
|
||||||
// cell: (props) => props.getValue() || '-',
|
cell: (props) => {
|
||||||
// },
|
const age = props.row.original.age;
|
||||||
|
const week = props.row.original.week;
|
||||||
|
return age && week ? `${age} hari (${week} minggu)` : '-';
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'do_number',
|
id: 'do_number',
|
||||||
accessorKey: 'do_number',
|
accessorKey: 'do_number',
|
||||||
|
|||||||
Vendored
+1
@@ -17,6 +17,7 @@ export type BaseSales = {
|
|||||||
id: number;
|
id: number;
|
||||||
realization_date: string;
|
realization_date: string;
|
||||||
age: number;
|
age: number;
|
||||||
|
week: number;
|
||||||
do_number: string;
|
do_number: string;
|
||||||
product: Product;
|
product: Product;
|
||||||
customer: Customer;
|
customer: Customer;
|
||||||
|
|||||||
Reference in New Issue
Block a user