{{ __('Top-Selling Products') }}
{{ 'Customer' }} | {{ 'Total' }} | {{ 'Date' }} | {{ 'Status' }} |
---|---|---|---|
{{ $sale->customer?->name }} {{ $sale->reference }} |
{{ format_currency($sale->total_amount) }} | {{ $sale->date }} |
@php
$type = $sale->status->getBadgeType();
@endphp
|
{{ 'Supplier' }} | {{ 'Total' }} | {{ 'Date' }} | {{ 'Status' }} |
---|---|---|---|
@if ($purchase->supplier) {{ $purchase->supplier->name }} @else {{ $purchase->supplier->name }} @endif {{ $purchase->reference }} | {{ format_currency($purchase->total_amount) }} | {{ $purchase->date }} |
@php
$badgeType = $purchase->status->getBadgeType();
@endphp
|
{{ __('Seller') }} | {{ __('Profit') }} | {{ __('Customer') }} | {{ __('Sale Date') }} |
---|---|---|---|
{{ $sale->user->name }} | {{ format_currency($sale->total_amount) }} | {{ $sale->customer->name }} | {{ $sale->created_at->format('Y-m-d') }} |
{{ __('Product Name') }} | {{ __('Code') }} | {{ __('Total Quantity') }} | {{ __('Total Sales') }} |
---|---|---|---|
{{ $product->name }} | {{ $product->code }} | {{ $product->qtyItem }} | {{ format_currency($product->totalSalesAmount) }} |