mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-327): Rename Ekor label to Kuantitas
This commit is contained in:
@@ -69,7 +69,7 @@ const generateCustomHeaders = (template: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (group.label === 'Jumlah') {
|
if (group.label === 'Jumlah') {
|
||||||
subCell.field = subLabel === 'Ekor' ? 'quantity' : 'weight';
|
subCell.field = subLabel === 'Kuantitas' ? 'quantity' : 'weight';
|
||||||
}
|
}
|
||||||
|
|
||||||
subRow.push(subCell);
|
subRow.push(subCell);
|
||||||
@@ -244,7 +244,7 @@ const SalesReportTable = ({
|
|||||||
{
|
{
|
||||||
id: 'quantity',
|
id: 'quantity',
|
||||||
accessorKey: 'quantity',
|
accessorKey: 'quantity',
|
||||||
header: 'Ekor',
|
header: 'Kuantitas',
|
||||||
cell: (props) => {
|
cell: (props) => {
|
||||||
const value = props.getValue() as number;
|
const value = props.getValue() as number;
|
||||||
const isSummary = props.row.id === 'summary';
|
const isSummary = props.row.id === 'summary';
|
||||||
@@ -386,7 +386,7 @@ const SalesReportTable = ({
|
|||||||
{
|
{
|
||||||
label: 'Jumlah',
|
label: 'Jumlah',
|
||||||
colSpan: 2,
|
colSpan: 2,
|
||||||
subLabels: ['Ekor', 'Kg'],
|
subLabels: ['Kuantitas', 'Kg'],
|
||||||
},
|
},
|
||||||
{ label: 'AVG (Kg)', field: 'average', rowSpan: 2 },
|
{ label: 'AVG (Kg)', field: 'average', rowSpan: 2 },
|
||||||
{ label: 'Harga Mitra (Rp)', field: 'price_partner', rowSpan: 2 },
|
{ label: 'Harga Mitra (Rp)', field: 'price_partner', rowSpan: 2 },
|
||||||
|
|||||||
Reference in New Issue
Block a user