@extends('layouts.master') @section('title', 'Bookings | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.all bookings')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))
@endif @endsection @section('content')| {{ __('basic.booking number') }} | {{ __('basic.branch') }} | {{ __('basic.file id') }} | {{ __('basic.traveler') }} | {{ __('basic.worker') }} | {{ __('basic.status') }} | {{ __('basic.sell to') }} | {{ __('basic.buy') }} | {{ __('basic.sell') }} | {{ __('basic.net income') }} | {{ __('basic.created') }} | {{ __('basic.last update') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->code }} | @if($item->branch) {{ $item->branch->name }} @else {{ __('basic.not selected') }} @endif | {{ $item->file_id }} | @if($item->patient_id) {{ $item->patient->first_name }} @else {{ __('basic.not selected') }} @endif | @isset($item->creator->first_name) {{ $item->creator->first_name }} @endisset | {{ $msg }} | @if($item->sell_debtor) {{ $item->sell_debtor->company_name }} @else {{ __('basic.not selected') }} @endif | {{ $item->total_buy_price }} | {{ $item->total_sell_price }} | {{ $item->total_sell_price - $item->total_buy_price }} |
{{ date('Y-m-d', strtotime($item->created_at)) }} {{ date('h:i a', strtotime($item->created_at)) }} |
{{ date('Y-m-d', strtotime($item->updated_at)) }} {{ date('h:i a', strtotime($item->updated_at)) }} |