42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
import { CostTypeVariant } from '@prisma/client';
|
|
import { endOfDay, startOfDay } from 'date-fns';
|
|
|
|
export const BTW_DAK_VDEK_TARIFFS = [
|
|
{
|
|
description: 'DAK + VDEK BTW',
|
|
validFrom: startOfDay(new Date('2021-01-01')),
|
|
validTo: endOfDay(new Date('2023-05-31')),
|
|
costTypes: [
|
|
{
|
|
description: 'Grundpauschale je Fahrt',
|
|
variant: CostTypeVariant.GRUNDPREIS,
|
|
costAmount: 3700,
|
|
},
|
|
{
|
|
description: 'ab dem 21. km',
|
|
variant: CostTypeVariant.KILOMETERZUSCHLAG,
|
|
costAmount: 159,
|
|
kmInclusive: 20,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
description: 'DAK + VDEK BTW',
|
|
validFrom: startOfDay(new Date('2023-06-01')),
|
|
validTo: null,
|
|
costTypes: [
|
|
{
|
|
description: 'Grundpauschale je Fahrt',
|
|
variant: CostTypeVariant.GRUNDPREIS,
|
|
costAmount: 4171,
|
|
},
|
|
{
|
|
description: 'ab dem 21. km',
|
|
variant: CostTypeVariant.KILOMETERZUSCHLAG,
|
|
costAmount: 166,
|
|
kmInclusive: 21,
|
|
},
|
|
],
|
|
},
|
|
];
|