45 lines
1.1 KiB
TypeScript
45 lines
1.1 KiB
TypeScript
import { CostTypeVariant } from '@prisma/client';
|
|
import { startOfDay } from 'date-fns';
|
|
|
|
export const TSW_PRIVAT_TARIFFS = [
|
|
{
|
|
description: 'Privat TSW',
|
|
validFrom: startOfDay(new Date('2020-01-01')),
|
|
validTo: null,
|
|
costTypes: [
|
|
{
|
|
description: 'Grundpauschale je Fahrt',
|
|
variant: CostTypeVariant.GRUNDPREIS,
|
|
costAmount: 11500,
|
|
},
|
|
{
|
|
description: 'QMS Zuschlag',
|
|
variant: CostTypeVariant.GRUNDPREIS,
|
|
costAmount: 2000,
|
|
},
|
|
{
|
|
description: 'ab dem 16. km',
|
|
variant: CostTypeVariant.KILOMETERZUSCHLAG,
|
|
costAmount: 250,
|
|
kmInclusive: 15,
|
|
},
|
|
{
|
|
description: 'Nachtzuschlag',
|
|
variant: CostTypeVariant.NACHTZUSCHLAG,
|
|
costAmount: 5500,
|
|
timeRange: '19:00-07:00',
|
|
},
|
|
{
|
|
description: 'Wochenendzuschlag',
|
|
variant: CostTypeVariant.WOCHENENDZUSCHLAG,
|
|
costAmount: 5500,
|
|
},
|
|
{
|
|
description: 'Feiertagszuschlag',
|
|
variant: CostTypeVariant.FEIERTAGSZUSCHLAG,
|
|
costAmount: 5500,
|
|
},
|
|
],
|
|
},
|
|
];
|