File tree 5 files changed +9
-2
lines changed
resources/views/booking_options
5 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public function rules(): array
63
63
'available_from ' => [
64
64
'nullable ' ,
65
65
'date_format:Y-m-d\TH:i ' ,
66
+ 'required_with:available_until ' ,
66
67
],
67
68
'available_until ' => [
68
69
'nullable ' ,
Original file line number Diff line number Diff line change 107
107
"Edit users" : " Benutzer bearbeiten" ,
108
108
"email field" : " E-Mail-Feld" ,
109
109
"End date" : " Enddatum" ,
110
+ "End of the booking period" : " Ende des Anmeldezeitraums" ,
110
111
"End of the period" : " Ende des Zeitraums" ,
111
112
"Event" : " Veranstaltung" ,
112
113
"Event series" : " Veranstaltungsreihen" ,
244
245
"Sorting" : " Sortierung" ,
245
246
"spreadsheet" : " Tabellenkalkulation" ,
246
247
"Start date" : " Startdatum" ,
248
+ "Start of the booking period" : " Beginn des Anmeldezeitraums" ,
247
249
"Start of the period" : " Beginn des Zeitraums" ,
248
250
"Status" : " Status" ,
249
251
"Street" : " Straße" ,
Original file line number Diff line number Diff line change 162
162
'abilities ' => 'Berechtigungen ' ,
163
163
'address ' => 'Adresse ' ,
164
164
'approval_status ' => 'Freigabestatus ' ,
165
+ 'available_from ' => 'Beginn des Anmeldezeitraums ' ,
166
+ 'available_until ' => 'Ende des Anmeldezeitraums ' ,
165
167
'booking_option_id ' => 'Anmeldeoption ' ,
166
168
'city ' => 'Stadt ' ,
167
169
'comment ' => 'Kommentar ' ,
Original file line number Diff line number Diff line change 163
163
* As the database scheme is in English, translations work out of the box for the most attributes.
164
164
* The other attributes have to be added here.
165
165
*/
166
+ 'available_from ' => 'Start of the booking period ' ,
167
+ 'available_until ' => 'End of the booking period ' ,
166
168
'booking_option_id ' => 'Booking option ' ,
167
169
'date_from ' => 'start of the period ' ,
168
170
'date_until ' => 'end of the period ' ,
Original file line number Diff line number Diff line change 51
51
@endisset
52
52
</x-bs::form .field >
53
53
<x-bs::form .field name =" available_from" type =" datetime-local"
54
- :value =" isset($bookingOption->available_from) ? $bookingOption->available_from->format('Y-m-d\TH:i') : null" >{{ __ (' Start date ' ) } } </x-bs::form .field >
54
+ :value =" isset($bookingOption->available_from) ? $bookingOption->available_from->format('Y-m-d\TH:i') : null" >{{ __ (' Start of the booking period ' ) } } </x-bs::form .field >
55
55
<x-bs::form .field name =" available_until" type =" datetime-local"
56
- :value =" isset($bookingOption->available_until) ? $bookingOption->available_until->format('Y-m-d\TH:i') : null" >{{ __ (' End date ' ) } } </x-bs::form .field >
56
+ :value =" isset($bookingOption->available_until) ? $bookingOption->available_until->format('Y-m-d\TH:i') : null" >{{ __ (' End of the booking period ' ) } } </x-bs::form .field >
57
57
<x-bs::form .field name =" price" type =" number" min =" 0.01" step =" 0.01"
58
58
:value =" $bookingOption->price ?? null" >
59
59
{{ __ (' Price' ) } }
You can’t perform that action at this time.
0 commit comments