@include('include.datatable-css')
@if (is_countable($orderHistory)) @foreach ($orderHistory as $record) @endforeach @endif
Order No. Package Trial Customer Price Status Date & Time
{{ $record->orderNumber }} {{ $record->package->title }} {{ $record->trial == 1 ? 'Yes' : 'No' }} @if ($record->user != NULL) {{ $record->user->firstName . ' ' . $record->user->lastName }} @endif ${{ number_format($record->price, ) }} @switch($record->status) @case('P') Pending @break @case('S') Completed @break @case('F') Cancelled @break @default @endswitch {{ $record->created_at }}