@extends('admin.layouts.app') @section('content')

{{ $section->title }}

@if( $orders ) @foreach($orders as $order) @endforeach @endif
ID Order Number Email Name Phone Social Company Time Vin Number State year make model Location Driving direction Notes Order Status Status Action
{{$order->id }} {{ucfirst($order->order_number)}} {{$order->customer_email}} {{$order->customer_fname.' '.$order->customer_lname}} {{$order->customer_phone}} {{$order->customer_social}} {{$order->customer_company}} {{$order->time}} {{$order->vinNumber}} {{$order->state}} {{$order->year}} {{$order->make}} {{$order->model}} {{$order->automobile_location}} {{$order->driving_direction}} {{$order->additional_notes}}
    @if($order->order_status == 'paid')
  • {{$order->order_status}}
  • @else
  • {{$order->order_status}}
  • @endif
    @if($order->status == 1)
  • Active
  • @else
  • Inactive
  • @endif
{{-- @php $prodID = Crypt::encrypt($order->id); @endphp --}}
{{-- {{-- Form::open(['route' => ['order.destroy', $order->id], 'method' => 'delete']) }} --}} {{-- {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} --}} {{-- {{ Form::close() }} --}}
@endsection