{{ __('basic.orders') }} {{ __('basic.shipments') }}
Appointment controller:
{{-- Add past Appointment --}}
@if (count($patient->orders) > 0)
    @foreach ($patient->orders as $item) {{-- blade-formatter-disable-next-line --}} @break($loop->index === 3)
  • {{ $item->shipped_from_status }}

    {{ date('d M Y', strtotime($item->created_at)) }}

    {{ $item->status_msg }}

    {{ __('basic.amount') }}

    {{ $item->final_price }}
  • @endforeach
@else

{{ __('basic.nothing to show') }}

@endif
{{ __('basic.more') }}
{{ __('basic.shipments') }} {{ __('basic.orders') }}
Dropdown Header:
{{-- {{ __('basic.new attachment') }} --}}
@if (count($patient->shipments) > 0)
    @foreach ($patient->shipments as $item) {{-- blade-formatter-disable-next-line --}} @break($loop->index === 3)
  • {{ $item->shipped_from_status }}

    {{ date('d M Y', strtotime($item->created_at)) }}

    {{ $item->status_msg }}

    {{ __('basic.amount') }}

    {{ $item->final_price }}
  • @endforeach
@else

{{ __('basic.nothing to show') }}

@endif
{{ __('basic.more') }}
{{ __('basic.orders') }}
@foreach ($patient->orders as $item) @endforeach
{{ __('basic.order number') }} {{ __('basic.branch') }} {{ __('basic.worker') }} {{ __('basic.status') }} {{ __('basic.final price') }} {{ __('basic.created') }} {{ __('basic.last update') }}
{{ $item->code }} @if($item->branch) {{ $item->branch->name }} @else {{ __('basic.not selected') }} @endif @isset($item->creator->first_name) {{ $item->creator->first_name }} @endisset {{ $item->status_msg }} {{ $item->final_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)) }}
{{ __('basic.shipments') }}
@foreach ($patient->shipments as $item) @endforeach
{{ __('basic.shipment number') }} {{ __('basic.branch') }} {{ __('basic.worker') }} {{ __('basic.delivery') }} {{ __('basic.status') }} {{ __('basic.final price') }} {{ __('basic.created') }} {{ __('basic.last update') }}
{{ $item->code }} @if($item->branch) {{ $item->branch->name }} @else {{ __('basic.not selected') }} @endif @isset($item->creator) {{ $item->creator->first_name }} @endisset @isset($item->delivery) {{ $item->delivery->full_name }} @endisset {{ $item->msg }} {{ $item->final_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)) }}