{{-- @include("/include.header") --}} {{-- Date: {{date("d/m/Y", Strtotime(12-12-2020))}}
--}}

JOBCARD

{{--
--}}
   {{date("d/m/Y", strtotime($order[0]->created_at))}} | {{date("h:i:a", strtoTime($order[0]->created_at))}}
   {{$order[0]->id}}
    {{date("d/m/Y", strtotime($order[0]->date))}}
   {{$order[0]->time}}
    @if($order[0]->users) {{$order[0]->users->name}} @endif
   @if($order[0]->users) {{$order[0]->users->email}} @endif
    @if($order[0]->users) {{$order[0]->users->phone}} @endif
   {{$order[0]->users->city->name}}
{{--
    @if($order[0]->users) {{$order[0]->users->name}} | {{$order[0]->users->id}} @endif
   @if($order[0]->users) {{$order[0]->users->email}} @endif
    @if($order[0]->users) {{$order[0]->users->phone}} @endif
   {{$order[0]->users->city->name}}
--}}
   @if($order[0]->users->society->name)Society: {{$order[0]->users->society->name}}@endif, @if($order[0]->users->phase->name)Phase: {{$order[0]->users->phase->name}}@endif, @if($order[0]->users->block->name)Block {{$order[0]->users->block->name}}@endif, @if($order[0]->users->road)Road: {{$order[0]->users->road}}@endif, @if($order[0]->users->street)Street: {{$order[0]->users->street}}@endif, @if($order[0]->users->city->name)City: {{$order[0]->users->city->name}}@endif.
   {{$order[0]->message}}
@php $quantity=0; $total = 0; @endphp @foreach($order[0]->order_details as $orders) @php $quantity = $quantity + $orders->quantity; $total = $total + $orders->total; @endphp @endforeach
Service Name Quantity Unit.Price Total.Pice
{{$orders->services_prices->name}} {{$orders->quantity}} {{number_format($orders->price)}} {{number_format($orders->total)}}
TOTAL QUANTITY {{$quantity}} TOTAL PRICE {{number_format($total)}}

{{--

Reference Information

--}}
 

_______________________________________
 

_______________________________________
 

_______________________________________
 

_______________________________________
{{--



      _______________________________________
      _________________________________________
--}}
{{--
--}}