@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.start_date_and_time') }} {{ __('admin.end_date_and_time') }} {{ __('admin.total_days') }}{{ __('admin.status') }} {{ __('admin.action') }}
{{ $order->identification_number }} {{ $order->user->phone }} {{ __($order->booking_type) }} {{ \Carbon\Carbon::parse($order['start_date'])->locale(app()->getLocale())->isoFormat('D MMMM YYYY') }} {{ __('admin.at') }} {{ \Carbon\Carbon::parse($order['start_time'])->locale(app()->getLocale())->isoFormat('h:mm A') }} {{ \Carbon\Carbon::parse($order['end_date'])->locale(app()->getLocale())->isoFormat('D MMMM YYYY') }} {{ __('admin.at') }} {{ \Carbon\Carbon::parse($order['end_time'])->locale(app()->getLocale())->isoFormat('h:mm A') }} {!! $company->receipt_from_branch == 1 ? "Yes" : "No" !!} {{-- --}} {{-- --}} {{-- {{__('admin.categories')}} --}} {{-- {{ __('admin.add_periods') }} --}} {{-- {{ __('admin.add_periods') }} --}} {{ __('admin.addCategory') }}
@endsection