@extends('admin.app') @section('title') Edit Order @endsection @section('styles') {{-- --}} @endsection @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ csrf_field() }}

Edit TM{{ $order->order_id }}

Customer information
+64
Delivery Information
drop_off_access == 'Ground') readonly="readonly" @endif>
@php $total_additional_charge = 0; foreach( $order->additionalCharges as $additional_charge ) { $total_additional_charge = $total_additional_charge + $additional_charge->amount; } @endphp $ {{ $total_additional_charge }}
@php $total_charge = floatval($order->estimated_delivery_charge) + $total_additional_charge; @endphp $ {{ $total_charge }}
Packages
@foreach($order->packages as $package) @endforeach
Reference # Product Type Description Quantity Length Width Height Total Cubic Weight Installation Unwrap Fragile Print
{{$package->reference_id}} {{$package->product_type}} {{$package->product_description}} {{$package->quantity}} {{$package->length}} {{$package->unit}} {{$package->width}} {{$package->unit}} {{$package->height}} {{$package->unit}} {{$package->cubic}} ㎥ {{$package->weight}} Kg @if ($package->installation === 1) @else @endif @if ($package->unwrap === 1) @else @endif @if ($package->fragile === 1) @else @endif

Driver Tasks
@foreach($order->drivers as $driver) @endforeach
Task Type Driver
{{$driver->pivot->taskType->task_type_name}} {{$driver->driver_first_name}} {{$driver->driver_last_name}}

Additional Charges
{{-- --}} @foreach ($order->additionalCharges as $key => $additionalCharge)
@endforeach
Order Status
@if($order->currentStatus()) @else This Order is Currently Pending @endif
@if($order->currentStatus()) @else This Order is Currently Pending @endif
Add Attachment
Attachments
Attachments
@foreach($order->images as $image) @endforeach
DATE FILE NAME REMARKS
{{ $image->created_at }} {{ $image->original_file_name }} {{ $image->remarks }}
Back
@endsection @push('scripts') @endpush