update marketing
All checks were successful
All checks were successful
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
<th>{{ __('SL') }}.</th>
|
||||
<th>{{ __('Product') }}</th>
|
||||
<th>{{ __('Code') }}</th>
|
||||
<th>{{ __('HSN Code') }}</th>
|
||||
<th>{{ __('Category') }}</th>
|
||||
<th>{{ __('Cost') }}</th>
|
||||
@usercan('stocks.price')
|
||||
<th>{{ __('Cost') }}</th>
|
||||
@endusercan
|
||||
<th>{{ __('Qty') }}</th>
|
||||
<th>{{ __('Sale') }}</th>
|
||||
<th>{{ __('Stock Value') }}</th>
|
||||
@@ -23,10 +26,11 @@
|
||||
<tr>
|
||||
<td>{{ $loop->index + 1 }}</td>
|
||||
<td>{{ $product->productName }}</td>
|
||||
<td class="text-start">{{ $product->productCode }}</td>
|
||||
<td class="text-start">{{ $product->category->categoryName ?? '' }}</td>
|
||||
<td>{{ $product->productCode }}</td>
|
||||
<td>{{ $product->hsn_code }}</td>
|
||||
<td>{{ $product->category->categoryName ?? '' }}</td>
|
||||
@usercan('stocks.price')
|
||||
<td class="text-start">
|
||||
<td>
|
||||
{{ currency_format(optional($firstStock)->productPurchasePrice, currency: business_currency()) }}
|
||||
</td>
|
||||
@endusercan
|
||||
@@ -40,4 +44,23 @@
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@if ($products->count() > 0)
|
||||
<tr class="table-footer">
|
||||
<td class="text-start">{{ __('Total') }}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
@usercan('stocks.price')
|
||||
<td></td>
|
||||
@endusercan
|
||||
<td class="text-start">
|
||||
{{ $total_stock_qty }}
|
||||
</td>
|
||||
<td></td>
|
||||
<td class="text-end">
|
||||
{{ currency_format($total_stock_value, currency: business_currency()) }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user