Invoice Id |
Invoice Date |
Total Selling Price |
Total Margin Price |
Total Profit |
Tax Amount |
Action |
@foreach ($profitDetails as $index => $detail)
{{$detail['invoice_id']}} |
{{\Carbon\Carbon::parse($detail['invoice_date'])->format('d-m-Y')}} |
₹ {{ number_format($detail['total_selling_price'], 2) }} |
₹ {{ number_format($detail['total_margin_price'], 2) }} |
₹ {{ number_format($detail['total_profit'], 2) }} |
₹ {{ number_format($detail['tax_amount'], 2) }} |
|
@endforeach
@foreach ($profitDetails as $index => $detail)
Product Name |
Selling Price / Unit |
Margin Price / Unit |
Quantity |
Total Selling Price |
Total Margin Price |
Profit |
Tax Amount |
@foreach ($detail['product_profit_details'] as $product)
{{ $product['product_name'] }} |
₹ {{ number_format($product['selling_price'], 2) }} |
₹ {{ number_format($product['margin_price'], 2) }} |
{{ number_format($product['quantity'], 2) }} |
₹ {{ number_format(($product['selling_price'] * $product['quantity']), 2) }} |
₹ {{ number_format(($product['margin_price'] * $product['quantity']), 2) }} |
₹{{ number_format($product['profit'], 2) }} |
₹ {{ number_format($product['tax_amount'], 2) }} |
@endforeach
@endforeach