@extends('layouts.admin') @section('content')
@if(($order) && ($order->id))
{{ method_field('PUT') }} {{ csrf_field() }} @var $btnLabel = 'Update' @else {{ csrf_field() }} @var $btnLabel = 'Add' @endif
Client Info
{!! FormField::select2('client_state', $states, $order, true, 'Please Select') !!}
{!! FormField::select2('bill_type', $billTypes, $order, true, 'Please Select') !!}
Add Stop
  • Ship From

    @if($order) @if($order->shipfrom_customer_id) {{ $order->shipfrom_name }}
    {{ $order->shipfrom_address.', '.$order->shipfrom_city.', '.$order->shipfrom_state.' '.$order->shipfrom_zip }}
    {{ $order->shipfrom_contact }}
    {{ $order->shipfrom_phone }}
    {{ $order->shipfrom_email }}
    {{ $order->shipfrom_shipping_from_hours }} - {{ $order->shipfrom_shipping_to_hours }}
    {{ ($order->shipfrom_apt_required ? 'Yes' : 'No') }}
    {{ $order->shipfrom_notes }} @elseif($order->shipfrom_city && $order->shipfrom_state) {{ $order->shipfrom_city.', '.$order->shipfrom_state }} @endif @endif

  • @if($order) @if(isset($orderStops)) @if(count($orderStops)) @var $stopCount = 1 @foreach($orderStops as $orderStop)
  • Stop #{{$stopCount}}

    {{ $orderStop->name }}
    {{ $orderStop->address.', '.$orderStop->city.', '.$orderStop->state.' '.$orderStop->zip }}

  • @var $stopCount = $stopCount+1 @endforeach @endif @endif @endif
  • Ship To

    @if($order) @if($order->shipto_customer_id) {{ $order->shipto_name }}
    {{ $order->shipto_address.', '.$order->shipto_city.', '.$order->shipto_state.' '.$order->shipto_zip }}
    {{ $order->shipto_contact }}
    {{ $order->shipto_phone }}
    {{ $order->shipto_email }}
    {{ $order->shipto_receiving_from_hours }} - {{ $order->shipto_receiving_to_hours }}
    {{ ($order->shipto_apt_required ? 'Yes' : 'No') }}
    {{ $order->shipto_notes }} @elseif($order->shipto_city && $order->shipto_state) {{ $order->shipto_city.', '.$order->shipto_state }} @endif @endif

Order Details
equipment_type)) @if($order->equipment_type != 'TL') style="display:none;" @endif @else style="display:none;" @endif @else style="display:none;" @endif >
equipment_type)) @if($order->equipment_type == 'TL') style="display:none;" @endif @else style="display:none;" @endif @else style="display:none;" @endif >
@if($order) @if(count($orderItems)) @var $itemCount = 0 @foreach($orderItems as $orderItem) @if($itemCount != 0) @endif @var $itemCount = $itemCount+1 @endforeach @endif @endif
Description Class Unit Length Width Height Weight
Order Requirement Details @if($order) @if($pickupUpdateCount) PICKUP CHANGED {{$pickupUpdateCount}} TIMES @endif @endif
Order Cost Details
{!! FormField::select2('accessorial_type', $accessorialTypes, false, false) !!}
@if($order) @if(count($orderAccessorials)) @var $accessorialCount = 0 @foreach($orderAccessorials as $orderAccessorial) @var $accessorialCount = $accessorialCount+1 @endforeach @endif @endif
Accessorial Rate
{{ $orderAccessorials[$accessorialCount]->description }}
Assign Carrier
0%
{!! FormField::select2('carrier_accessorial_type', $accessorialTypes, false, false) !!}
@if($order) @if(count($carrierAccessorials)) @var $accessorialCount = 0 @foreach($carrierAccessorials as $carrierAccessorial) @var $accessorialCount = $accessorialCount+1 @endforeach @endif @endif
Accessorial Rate
{{ $carrierAccessorials[$accessorialCount]->description }}
@if($order && isset($order->id))
@endif
Market Price

@if($marketRate > 0) ${{ $marketRate }} @else NA @endif

Reference Number
{!! FormField::select2('reference_code', $referenceCodes, false, false) !!}
@if($order) @if($referenceNumbers) @foreach($referenceNumbers as $referenceNumber) @if(array_key_exists($referenceNumber['refCode'],$referenceCodes))
@endif @endforeach @endif @endif
@if($order) @endif
Lead Type
{!! FormField::select2('lead_type', $leadTypes, $order, false, 'None') !!}
@if(isset($pitOrder) && $pitOrder)
Pit Details @if($order->pit_offer_information)

{!! nl2br($order->pit_offer_information) !!}

@endif @if($order->pit_offer_attachment_name && $order->pit_offer_attachment_url)

{{ $order->pit_offer_attachment_name }}

@endif
@endif
@endsection @section('scripts') @endsection