|
Lines 310-315
Link Here
|
| 310 |
|
310 |
|
| 311 |
policy.slots_per_day[dow].forEach(function(slot){ |
311 |
policy.slots_per_day[dow].forEach(function(slot){ |
| 312 |
let pickup_interval = policy.pickup_interval; |
312 |
let pickup_interval = policy.pickup_interval; |
|
|
313 |
if (!pickup_interval) { |
| 314 |
$('#pickup-times').html("<div>"+_("No pickup time define for this day.")+"</div>"); |
| 315 |
return; |
| 316 |
} |
| 313 |
|
317 |
|
| 314 |
let listStartMoment = selectedDate.hour(slot.start_hour).minute(slot.start_minute); |
318 |
let listStartMoment = selectedDate.hour(slot.start_hour).minute(slot.start_minute); |
| 315 |
let listEndMoment = selectedDate.hour(slot.end_hour).minute(slot.end_minute); |
319 |
let listEndMoment = selectedDate.hour(slot.end_hour).minute(slot.end_minute); |
| 316 |
- |
|
|