{{($company->id == 1) ? $dashboard_data['total_labels']->sum('label_count') : $dashboard_data['total_labels'] }}
Total Labels
{{($company->id == 1) ? $dashboard_data['total_printed_labels']->sum('label_count'): $dashboard_data['total_printed_labels']}}
Printed Labels
{{($company->id == 1) ? $dashboard_data['total_un_printed_labels']->sum('label_count') : $dashboard_data['total_un_printed_labels']}}
Un Printed Labels
Latest Orders
Order ID | Products | Total Labels | Status | Date Added |
---|---|---|---|---|
#{{$order->id}} | {{sizeof($order->products)}} | {{$order->products->sum('label_count')}} | @if($order->status == -1 && $order->print_status == 0 ) Approver Rejection @elseif($order->status == 0 && $order->print_status == 0 ) Rejected @elseif($order->status == 1 && $order->print_status == 0) Veification Pending @elseif($order->status == 2 && $order->print_status == 0) Verified @elseif($order->status == 3 && $order->print_status == 0) Approved @elseif($order->status == 4 && $order->print_status == 0) Printed @elseif($order->company_print_status == -1 && $order->print_status == 1 ) Company Approver Rejection @elseif($order->company_print_status == 0 && $order->print_status == 1 ) Company Rejected @elseif($order->company_print_status == 1 && $order->print_status == 1) @if($company->id != 1) Transfered to getOroigin @else New Order @endif @elseif($order->company_print_status == 2 && $order->print_status == 1) @if($company->id != 1) Company Verified @else Verified @endif @elseif($order->company_print_status == 3 && $order->print_status == 1) @if($company->id != 1) Company @else Approved @endif @elseif($order->company_print_status == 4 && $order->print_status == 1) Printed @endif |
Recently Added Products
@if($dashboard_data['latest_products'])
-
@foreach($dashboard_data['latest_products'] as $product)
- @endforeach