mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
codex: initiated changes
This commit is contained in:
@@ -81,7 +81,7 @@ const getTableColumns = (
|
||||
},
|
||||
{
|
||||
key: 'warehouse',
|
||||
header: 'Gudang',
|
||||
header: 'Gudang Fisik',
|
||||
flex: 1.2,
|
||||
align: 'left',
|
||||
cell: ({ row }) => row.warehouse?.name ?? '-',
|
||||
|
||||
@@ -30,7 +30,7 @@ export const generateDailyMarketingExcel = async (
|
||||
{ header: 'Tanggal Jual', key: 'soDate', width: 15 },
|
||||
{ header: 'Tanggal Realisasi', key: 'realizationDate', width: 18 },
|
||||
{ header: 'Aging', key: 'aging', width: 10 },
|
||||
{ header: 'Gudang', key: 'warehouse', width: 25 },
|
||||
{ header: 'Gudang Fisik', key: 'warehouse', width: 25 },
|
||||
{ header: 'Pelanggan', key: 'customer', width: 25 },
|
||||
{ header: 'No. DO', key: 'doNumber', width: 15 },
|
||||
{ header: 'Sales/Marketing', key: 'sales', width: 20 },
|
||||
@@ -97,7 +97,7 @@ export const generateDailyMarketingExcel = async (
|
||||
});
|
||||
}
|
||||
|
||||
worksheet.columns.forEach((column) => {
|
||||
worksheet.columns.forEach((column: { width?: number }) => {
|
||||
if (column.width && column.width < 10) {
|
||||
column.width = 10;
|
||||
}
|
||||
|
||||
@@ -508,7 +508,7 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
},
|
||||
{
|
||||
id: 'warehouse',
|
||||
header: 'Gudang',
|
||||
header: 'Gudang Fisik',
|
||||
accessorKey: 'warehouse',
|
||||
cell: ({ row }) => row.original.warehouse.name,
|
||||
footer: () => <div className='font-semibold text-gray-900'>-</div>,
|
||||
@@ -858,8 +858,8 @@ const DailyMarketingTab = ({ tabId }: DailyMarketingTabProps) => {
|
||||
|
||||
{/* Warehouse Filter */}
|
||||
<SelectInput
|
||||
label='Gudang'
|
||||
placeholder='Pilih Gudang'
|
||||
label='Gudang Fisik'
|
||||
placeholder='Pilih Gudang Fisik'
|
||||
options={warehouseOptions}
|
||||
isLoading={isLoadingWarehouses}
|
||||
value={warehouseValue}
|
||||
|
||||
Reference in New Issue
Block a user