draft for tarif in naz

This commit is contained in:
Gerhard Hoffmann 2023-12-15 13:18:12 +01:00
parent ea2dfa144f
commit ef7fff79c9

View File

@ -35,21 +35,21 @@
"tbase_label": "absolute time"
},
{
"tbase_id": 1,
"tbase_type": 1,
"tbase_label": "relative time"
}
],
"Customer": [
{
"cust_type": 1,
"cust_type": 1000,
"cust_label": "Adult"
},
{
"cust_type": 2,
"cust_type": 1001,
"cust_label": "Child"
},
{
"cust_type": 3,
"cust_type": 1002,
"cust_label": "Teen"
}
],
@ -81,37 +81,29 @@
"daily_ticket_price": 400,
"daily_ticket_tbase_type": 0,
"daily_ticket_tbase_type_comment": "0: absolute, 1: relative to offset",
"daily_ticket_tbase_type_comment": "absolute or relative to offset",
"daily_ticket_clearance_type": [3],
"daily_ticket_clearance_type_comment": "who is allowed to buy ticket",
"daily_ticket_clearance_customer_type": 1002,
"daily_ticket_clearance_customer_type_comment": "who is allowed to buy a ticket",
"daily_ticket_from_min": "00:00:00",
"daily_ticket_to_max": "00:00:00",
"daily_ticket_absolute_comment": "time ranges if time base is absolute",
"daily_ticket_from_offset_min": 0,
"daily_ticket_to_offset_max": 0,
"daily_ticket_relative_comment": "offsets if time base is realtive"
"daily_ticket_weekday_range" : 1,
"daily_ticket_weekday_ranges_comment" : "ticket valid on week day id and associated time range",
"daily_ticket_special_day_range": 0
},
{
"daily_ticket_payment_option_id": 1049,
"daily_ticket_unit_id": 2,
"daily_ticket_price": 800,
"daily_ticket_tbase_type": 1,
"daily_ticket_tbase_type_comment": "0: absolute, 1: relative to offset",
"daily_ticket_tbase_type": 0,
"daily_ticket_tbase_type_comment": "absolute or relative to offset",
"daily_ticket_clearance_type": [1],
"daily_ticket_clearance_type_comment": "who is allowed to buy ticket",
"daily_ticket_clearance_customer_type": 1000,
"daily_ticket_clearance_customer_type_comment": "who is allowed to buy a ticket",
"daily_ticket_from_min": "00:00:00",
"daily_ticket_to_max": "00:00:00",
"daily_ticket_absolute_comment": "time ranges if time base is absolute",
"daily_ticket_from_offset_min": 0,
"daily_ticket_to_offset_max": 0,
"daily_ticket_relative_comment": "offsets if time base is realtive"
"daily_ticket_weekday_ranges" : 1,
"daily_ticket_weekday_ranges_comment" : "ticket valid on week day id and associated time range",
"daily_ticket_special_day_ranges": 0
}
],
"Duration": [
@ -119,6 +111,13 @@
"pun_comment":"Unused"
}
],
"TimeRange" : [
{
"time_range_id": 1,
"time_range_from": "08:00:00",
"time_range_to": "20:00:00"
}
],
"WeekDaysWorktime": [
{
"pwd_id": 621,