| {{ __('Product Code') }} |
{{ __('Name') }} |
{{ __('Quantity') }} |
{{ __('Total Sell') }} |
{{ __('Average Cost') }} |
{{ __('Sell price') }} |
@can('reports.journal')
{{ __('Sales profit') }} |
|
{{ __('Total Sell') }} |
@endcan
{{ __('Product group') }} |
{{ __('Action') }} |
@foreach ($products as $product)
| {{ convertToFarsi($product->code) }} |
{{ $product->name }}
|
{{ formatNumber($product->quantity) }}
@if ($product->unapprovedQuantity != 0)
/ {{ formatNumber($product->unapprovedQuantity) }}
@endif
|
{{ formatNumber($product->totalSellCount) }} |
{{ formatNumber($product->average_cost) }} |
{{ formatNumber($product->selling_price) }} |
@can('reports.journal')
{{ formatNumber($product->salesProfit) }} |
{{ $product->totalSell != 0 ? formatNumber(round(($product->salesProfit / $product->totalSell) * 100, 2)) : 0 }}% |
{{ formatNumber($product->totalSell) }} |
@endcan
{{ $product->productGroup->name }}
|
{{ __('Edit') }}
@if ($product->invoiceItems()->exists())
@else
@endif
|
@endforeach
{!! $products->withQueryString()->links() !!}