Skip to content

Commit

Permalink
Issue bagisto#2718 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendra-webkul committed Apr 6, 2022
1 parent 93f582b commit 4d44b84
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'حجز موعد',
'date' => 'تاريخ',
'slot' => 'فتحة',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'استئجار عنصر',
'choose-rent-option' => 'اختر خيار الإيجار',
'daily-basis' => 'الأساس اليومي',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'Book an Appointment',
'date' => 'Date',
'slot' => 'Slot',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'Rent an Item',
'choose-rent-option' => 'Choose Rent Option',
'daily-basis' => 'Daily Basis',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'Reservar una Cita',
'date' => 'Fecha',
'slot' => 'Horario',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'Alquilar un Artículo',
'choose-rent-option' => 'Elija la Opción de Alquiler',
'daily-basis' => 'Diariamente',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'قرار ملاقات را رزرو کنید',
'date' => 'تاریخ',
'slot' => 'اسلات',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'اجاره یک مورد',
'choose-rent-option' => 'گزینه اجاره را انتخاب کنید',
'daily-basis' => 'به صورت روزانه',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'एक अपॉइंटमेंट बुक करें',
'date' => 'तारीख',
'slot' => 'स्लॉट',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'एक वस्तु किराए पर लें',
'choose-rent-option' => 'किराया विकल्प चुनें',
'daily-basis' => 'दैनिक आधार पर',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'same-slot-all-days' => 'Stesso Slot tutti i giorni',
'slot-has-quantity' => 'Slot ha quantità',
'slots' => 'Slot',
'no-slots-available' => 'No slots available',
'from' => 'Da',
'to' => 'A',
'qty' => 'Qtà',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'Een afspraak maken',
'date' => 'Datum',
'slot' => 'Sleuf',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'Huur een item',
'choose-rent-option' => 'Kies Huuroptie',
'daily-basis' => 'Dagelijks',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'Marque uma consulta',
'date' => 'Date',
'slot' => 'Slot',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'Alugar um item',
'choose-rent-option' => 'Escolha a opção de aluguel',
'daily-basis' => 'Diariamente',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => 'Randevu Al',
'date' => 'Tarih',
'slot' => 'Slot',
'no-slots-available' => 'No slots available',
'rent-an-item' => 'Eşya Kiralama',
'choose-rent-option' => 'Kiralama Seçeneğini Seçin',
'daily-basis' => 'Günlük Bazında',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
'book-an-appointment' => '预约',
'date' => '日期',
'slot' => '插槽',
'no-slots-available' => 'No slots available',
'rent-an-item' => '租一个项目',
'choose-rent-option' => '选择租金选项',
'daily-basis' => '每日基础',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<div class="control-group slots" :class="[errors.has('booking[slot]') ? 'has-error' : '']">
<select v-validate="'required'" name="booking[slot]" class="control" data-vv-as="&quot;{{ __('bookingproduct::app.shop.products.slot') }}&quot;">
<option v-for="slot in slots" :value="slot.timestamp">@{{ slot.from + ' - ' + slot.to }}</option>

<option value="" v-if="! slots.length">{{ __('bookingproduct::app.shop.products.no-slots-available') }}</option>
</select>

<span class="control-error" v-if="errors.has('booking[slot]')">@{{ errors.first('booking[slot]') }}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<div class="form-group slots" :class="[errors.has('booking[slot]') ? 'has-error' : '']">
<select v-validate="'required'" name="booking[slot]" class="form-style" data-vv-as="&quot;{{ __('bookingproduct::app.shop.products.slot') }}&quot;">
<option v-for="slot in slots" :value="slot.timestamp">@{{ slot.from + ' - ' + slot.to }}</option>

<option value="" v-if="! slots.length">{{ __('bookingproduct::app.shop.products.no-slots-available') }}</option>
</select>

<span class="control-error" v-if="errors.has('booking[slot]')">@{{ errors.first('booking[slot]') }}</span>
Expand Down

0 comments on commit 4d44b84

Please sign in to comment.