|
|
@@ -21,7 +21,7 @@ type SearchParamNames = keyof SearchQuery; |
|
|
|
|
|
|
|
const CostAndExpenseReport: React.FC<Props> = ({ team, customer, subsidiary, needAll }) => { |
|
|
|
const { t } = useTranslation("report"); |
|
|
|
const teamCombo = team.map((t) => `${t.name} - ${t.code}`); |
|
|
|
const teamCombo = team.map((t) => `${t.code} - ${t.name}`); |
|
|
|
// const custCombo = customer.map(c => ({label: `${c.name} - ${c.code}`, value: c.id})) |
|
|
|
|
|
|
|
const custCombo = customer.map(customer => ({ |
|
|
|