@extends('layouts.master') @section('title', 'Online Requests | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', 'Online Requests') @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('Online Requests') }}
{{ __('Online Requests') }}
@foreach ($on_requests as $item) @if ($item->status == 1) @php $text_color = 'not_accepted-color-btn'; $msg = __('Send'); @endphp @elseif ($item->status == 2) @php $text_color = 'pend-color-btn'; $msg = __('In progress'); @endphp @elseif ($item->status == 3) @php $text_color = 'done-color-btn'; $msg = __('Accept'); @endphp @elseif ($item->status == 4) @php $text_color = 'cancel-color-btn'; $msg = __('Not accept'); @endphp @elseif ($item->status == 5) @php $text_color = 'cancel-color-btn'; $msg = __('Canceled'); @endphp @endif @endforeach
{{ __('basic.id') }} {{ __('basic.code') }} {{ __('basic.traveler') }} {{ __('basic.status') }} {{ __('basic.discount') }} {{ __('basic.total') }} {{ __('basic.created') }}
{{ $item->id }} {{ $item->code }} @if($item->patient) {{ $item->patient->full_name }} @endif {{ $msg }} {{ $item->discount }} {{ $item->final_price }} {{ $item->created_at }}
@endsection @section('js') @endsection