@extends('layouts.app') @section('page-title')| {{__('label.outlet_pause_orders')}} @endsection @section('css') @endsection @section('content') @php $resto = \App\Models\Restaurants::find(\App\Helpers\CommonMethods::getRestuarantID()); $lang = $resto->default_lang; app()->setLocale($lang); if(session('app_lang') !==null){ $lang = session('app_lang'); app()->setLocale($lang); } @endphp @php //$resto = \App\Models\Restaurants::find(\App\Helpers\CommonMethods::getRestuarantID()); $restuarant1 = $resto; $resto_meta = isset($restuarant1->resto_metas)?$restuarant1->resto_metas:null; //dump($resto_meta); $resto_metas = []; $billing = []; if(isset($resto_meta)){ foreach($resto_meta as $meta){ if($meta->outlet_id!=""){ continue; } $index_name = isset($meta->resto_meta_defs->parents)?$meta->resto_meta_defs->parents->meta_def_name:$meta->resto_meta_defs->meta_def_name; // dump($meta->resto_meta_defs); if($index_name=="BILLING_GATEWAY"){ // dump($meta->resto_meta_defs->meta_def_name); // $resto_metas['BILLING_GATEWAY'][] = $meta->meta_val; $billing[] = array('id'=>$meta->meta_id,'value'=>$meta->meta_val); } $resto_metas[$index_name] = $meta->meta_val; } } $resto_metas['BILLING_GATEWAY'] = $billing; $currency = isset($resto_metas['BUSSINESS_CCY'])?$resto_metas['BUSSINESS_CCY']:"IQD"; $business_type = isset($resto_metas['BUSSINESS_TYPE'])?trim($resto_metas['BUSSINESS_TYPE']):"Restaurants"; @endphp

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

@php $resto = \App\Models\Restaurants::find(\App\Helpers\CommonMethods::getRestuarantID()); @endphp @if(isset($outlets) && $outlets->count() > 0) @foreach($outlets as $outlet)

{!! $resto->name !!}

{!! $outlet->name !!}
  • @if($outlet->is_delivery=="1") {{__('label.delivery')}} @else {{__('label.delivery_pause')}} @endif
  • @if($outlet->is_pickup=="1") {{__('label.pickup')}} @else {{__('label.pickup_pause')}} @endif
  • @if($business_type=="Restaurants")
  • @if($outlet->is_contactless_dining=="1") {{__('label.dine_in')}} @else {{__('label.dine_in_pause')}} @endif
  • @endif
{{__('label.accepting_delivery_orders')}}
{{__('label.accepting_pickup_orders')}}
@if($business_type=="Restaurants")
{{__('label.accepting_dine_in')}}
@endif
@endforeach @endif
@endsection @section('js') @endsection