@extends('layouts.business.pdf.pdf_layout') @section('pdf_title')
| {{ __('Product') }} | {{ __('Code') }} | {{ __('Hsn Code') }} | {{ __('Category') }} | @usercan('stocks.price'){{ __('Cost') }} | @endusercan{{ __('Qty') }} | {{ __('Sale') }} | {{ __('Stock Value') }} |
|---|---|---|---|---|---|---|---|
| {{ $product->productName }} | {{ $product->productCode }} | {{ $product->hsn_code }} | {{ $product->category?->categoryName }} | @usercan('stocks.price'){{ currency_format(optional($firstStock)->productPurchasePrice, currency: business_currency()) }} | @endusercan{{ $total_stock }} | {{ currency_format(optional($firstStock)->productSalePrice, currency: business_currency()) }} | {{ currency_format($total_value, currency: business_currency()) }} |
| {{ __('Total') }} | @usercan('stocks.price') | @endusercan | {{ $total_stock_qty }} | {{ currency_format($total_stock_value, currency: business_currency()) }} |