@extends('layouts.app') @section('content') @php $resto = \Illuminate\Support\Facades\Auth::user()->restaurants; $lang = $resto->default_lang; app()->setLocale($lang); if(session('app_lang') !==null){ $lang = session('app_lang'); app()->setLocale($lang); } @endphp
@include('outlets.outlet-sidebar')
@csrf

{{__('label.pickup')}}

{{__('label.customers_can_pickup_their_orders_at_outlet')}}

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\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)){!! ucwords($d->day_name) !!}@endif
@if(!in_array($d->day_name,$day_exists)) status=="open") checked @endif /> @endif
status=="close") style="display: none" @endif >
status=="close") style="display: none" @endif>
status=="close") style="display: none" @endif> @if(!in_array($d->day_name,$day_exists)) {{__('label.add_hours')}} @endif
@php $day_exists[] = $d->day_name; @endphp @endforeach @else @foreach($days as $d) @endforeach @endif

{{__('label.operation_settings')}}

{{__('label.set_the_default_time_needed_for_preparing_and_delivering_orders')}}

@endsection @section('js') @endsection