@extends('layout.mainlayout') @section('content') @php $locale = app('translator')->getLocale() ?? 'en'; $currency_code = 'SAR'; if (isset($global_symbol['from_website']) && $global_symbol['from_website']){ if ($locale == 'en'){ if(isset($global_symbol['is_html']) && $global_symbol['is_html']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } }else{ if(isset($global_symbol['is_html_ar']) && $global_symbol['is_html_ar']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } } } @endphp

{{trans("web.results")}}

@if(count($orders) > 0) @foreach($orders as $order)
getLocale() == "ar") style="background: url('/img/covid-box-rtl.png') no-repeat center center;" @else style="background: url('/img/covid-box.png') no-repeat center center;" @endif>
@if(app('translator')->getLocale() == "ar"){{$order->HOSPITAL->NAME_AR}}@else{{$order->HOSPITAL->NAME_EN}}@endif
{{$order->SCHEDULE_DATE}} - {{$order->TOTAL_AMOUNT}} {!! $currency_code !!}
@endforeach @else


{{trans("web.no_orders")}}

@endif
@endsection