is_pickup=="1") class="active" @endif>
{{__('label.payment_methods')}}
{{__('label.select_all_payment_methods_accepted_on_delivery')}}
@php
$payment_methods = [];
if(isset($features) && !empty($features->payment_methods)){
$payment_methods = explode(',',$features->payment_methods);
}
@endphp
{{__('label.opening_hours')}}
{{__('label.select_all_payment_methods_accepted_on_delivery')}}
@php
$days = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
$existing_days = \App\Models\BranchHours::where('branch_id',$outlet->id)->where('hours_for','pickup')->get();
$day_exists = [];
@endphp
@if(isset($existing_days) && $existing_days->count() > 0)
@foreach($existing_days as $d)
@if(!in_array($d->day_name,$day_exists))
{{__('label.'.trim(strtolower($d->day_name)))}}
@endif
@if(!in_array($d->day_name,$day_exists))
@endif
@php
$day_exists[] = $d->day_name;
@endphp
@endforeach
@else
@foreach($days as $d)
{{__('label.'.trim(strtolower($d)))}}
@endforeach
@endif
{{__('label.operation_settings')}}
{{__('label.set_the_default_time_needed_for_preparing_and_delivering_orders')}}