import { ButtonDownloadConfig } from 'app/modules/exportToXls/components/buttonDownloadXLS/buttonDownloadXLS.types'; import { EarningsXlsRow } from '../store/earnings.types'; export const COLUMN_NAMES = { NAME: 'Name', SCRUBBER: 'Scrubber', POOL_POINTS: 'Pool Points', BUNKER_ADJUSTMENT: 'Bunker Adjustment', EARNINGS: 'Pool point earnings', SCRUBBER_BONUS: 'Scrubber Bonus', WAF_DTA_CBP: 'Trade specific compensation', SPECIAL_COMPENSATION: 'Special Compensations', TCE: 'Vessel pay out', }; export const xlsColumnsConfig: ButtonDownloadConfig[] = [ { header: COLUMN_NAMES.NAME, key: 'name', width: 20, }, { header: COLUMN_NAMES.SCRUBBER, key: 'hasScrubber', width: 10, }, { header: COLUMN_NAMES.POOL_POINTS, key: 'poolPoints', width: 15, }, { header: COLUMN_NAMES.BUNKER_ADJUSTMENT, key: 'bunkerAdjustmentPerDay', width: 20, }, { header: COLUMN_NAMES.EARNINGS, key: 'earnings', width: 15, }, { header: COLUMN_NAMES.BUNKER_ADJUSTMENT, key: 'bunkerAdjustment', width: 20, }, { header: COLUMN_NAMES.SCRUBBER_BONUS, key: 'scrubberBonus', width: 10, }, { header: COLUMN_NAMES.SCRUBBER_BONUS, key: 'scrubberBonus', width: 18, }, { header: COLUMN_NAMES.WAF_DTA_CBP, key: 'wafDta', width: 30, }, { header: COLUMN_NAMES.SPECIAL_COMPENSATION, key: 'specialCompensations', width: 25, }, { header: COLUMN_NAMES.TCE, key: 'tce', width: 15, }, ];