@extends('rental-company.layout.master') @section('title', __('admin.orders')) @section('styles') @endsection @section('scripts') @endsection @section('content')
{{ __('admin.orders') }}
{{-- --}} {{-- {{ __('admin.addCarToCompany') }} --}}
{{--
--}} {{--
--}} {{-- --}}
{{--
--}} {{--
--}}
@foreach ($orders as $index=>$order) {{-- --}} {{-- --}} @endforeach
# {{ __('admin.userPhone') }} {{ __('admin.bookingType') }} {{ __('admin.notes') }} {{ __('admin.category') }} {{ __('admin.amount') }} {{ __('admin.status') }} {{ __('admin.action') }}
{{ $order->identification_number}} {{$order->user?->phone}} {{ __($order->booking_type) }} {{ $order->notes }} {{ $order->category?->name }} {{ $order->total_amount }} @if($order->status == 'pending') {{ __('admin.accept') }} {{ __('admin.declined') }} @elseif($order->status == 'confirmed') {{ __('admin.received_car') }} @endif {!! $company->receipt_from_branch == 1 ? "Yes" : "No" !!} {{-- --}} {{-- --}} {{-- {{__('admin.categories')}} --}} {{-- {{ __('admin.add_periods') }} --}} {{-- {{ __('admin.add_periods') }} --}} {{ __('admin.addCategory') }}
@endsection