51 lines
1.8 KiB
PHP
51 lines
1.8 KiB
PHP
<?php
|
|
|
|
namespace App\BusProNet;
|
|
|
|
final class Constants
|
|
{
|
|
public const SOURCE_TRAVEL = 'travel';
|
|
public const SOURCE_BOOKING = 'booking';
|
|
|
|
public const CATEGORY_ADDITIONAL = 'additional';
|
|
public const CATEGORY_TRANSPORTATION = 'transportation';
|
|
|
|
public const TOKEN_COURSES = 'KUR';
|
|
public const TOKEN_SKI_PASS = 'SPA';
|
|
public const TOKEN_ADDITIONAL = 'SON';
|
|
public const TOKEN_BOARD = 'VPF';
|
|
public const TOKEN_RENTALS = ['VER', 'VE2', 'VE3', 'VE4', 'VE5', 'VE6', 'VE7', 'VE8'];
|
|
public const TOKEN_RENTAL_INSURANCE = 'LVS';
|
|
public const TOKEN_INSURANCES = ['RRV', 'PAK', 'OHN', 'PKG'];
|
|
public const TOKEN_PARKING = 'PAR';
|
|
|
|
// Insurance subtype labels for display
|
|
public const INSURANCE_LABELS = [
|
|
'RRV' => 'Reiserücktrittsversicherung',
|
|
'PAK' => 'Reiseschutz',
|
|
'OHN' => 'Selbstbehalt',
|
|
];
|
|
|
|
// Normalized service group keys for pricing display
|
|
public const GROUP_TRANSPORTATION = 'transportation';
|
|
public const GROUP_RENTALS = 'rentals';
|
|
public const GROUP_INSURANCE = 'insurance';
|
|
|
|
// Service type display labels (German) - used in pricing calculator
|
|
public const SERVICE_LABELS = [
|
|
self::TOKEN_COURSES => 'Kurse',
|
|
self::TOKEN_SKI_PASS => 'Skipässe',
|
|
self::TOKEN_ADDITIONAL => 'Zusatzleistungen',
|
|
self::TOKEN_BOARD => 'Verpflegung',
|
|
self::TOKEN_RENTAL_INSURANCE => 'Leihmaterial-Versicherung',
|
|
self::TOKEN_PARKING => 'Parkplatz',
|
|
self::GROUP_TRANSPORTATION => 'Beförderung',
|
|
self::GROUP_RENTALS => 'Leihmaterial',
|
|
self::GROUP_INSURANCE => 'Reiseversicherungen',
|
|
];
|
|
|
|
public const STATUS_AVAILABLE = 'Frei';
|
|
public const STATUS_BLOCKED = 'Buchungsstop';
|
|
public const STATUS_ON_REQUEST = 'Anfrage';
|
|
}
|