@extends('layouts/layout') @section('title', "Dashboard") @section('page-description', '') @section('page-keywords', '') @section('vendor-style') @endsection @section('page-style') @endsection @section('vendor-script') @endsection @section('page-script') @endsection @section('content')

Dashboard

Log out
@foreach($histories as $history) @endforeach
ORDER # PRODUCT DATE AMOUNT DELIVERY DATE STATUS
#{{ $history->order_number}} @if($history->item == "QBio Pro") @elseif($history->item == "QBio Elixir") @elseif($history->item == "QBio Gro") @endif {{$history->item}} {{ (new DateTime($history->created_at))->format('F d, Y'); }} ${{ $history->amount }} {{ $history->delivery_date ? (new DateTime($history->delivery_date))->format('F d, Y') : '-'; }} @if(($history->status == 1 || $history->status == 3) && $history->is_preorder == 1) @if($history->preorder_invoice_path) Preordered @else Preordered @endif @endif @if($history->status == 1) Cancel @elseif($history->status == 2) Cancelled @elseif($history->status == 3) @elseif($history->status == 4) On Its Way @elseif($history->status == 5) Completed @endif
ORDER # AMOUNT
@if(count($histories) == 0)
No data available in table
@else
@php $index = 1; @endphp @foreach($histories as $history)

@if($history->is_preorder == 1) @if($history->preorder_invoice_path) @else @endif @endif @if($history->status == 1) Cancel @elseif($history->status == 2) Cancelled @elseif($history->status == 3) @elseif($history->status == 4) On Its Way @elseif($history->status == 5) Completed @endif
@php $index++; @endphp @endforeach
@endif
Verify your email. Enter the code we’ve sent over email to
Verify your phone number. Enter the code we’ve sent over SMS to +1098765432
Log out
@endsection