@extends('layouts.business.pdf.pdf_layout') @section('pdf_title')
{{ __('Duration: 14-12-2025 to 24-12-2025') }}
--}}| {{ __('Product') }} | {{ __('Cost') }} | {{ __('Quantity') }} | {{ __('Sale') }} | {{ __('Stock Value') }} |
|---|---|---|---|---|
| {{ $stock_report->productName }} | {{ currency_format(optional($firstStock)->productPurchasePrice, currency: business_currency()) }} | {{ $total_stock }} | {{ currency_format(optional($firstStock)->productSalePrice, currency: business_currency()) }} | {{ currency_format($total_value, currency: business_currency()) }} |
| {{ __('Total') }} | {{ currency_format( $stock_reports->sum(function ($stock_report) { return $stock_report->stocks->sum(function ($stock) { return $stock->productPurchasePrice * $stock->productStock; }); }), currency: business_currency() ) }} |