@extends('Reports.template') @section('title') @if($rateType == "W") @php $reportTitle = "Gross Profit & Sales Margin Details - With GST"; @endphp @else @php $reportTitle = "Gross Profit & Sales Margin Details - Without GST"; @endphp @endif {{$reportTitle}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@if($businessEntityMasterData[0]->logo != null) logo )}}"/> @endif |
{{ $businessEntityMasterData[0]->name }}
{{$businessEntityMasterData[0]->add1. " " .$businessEntityMasterData[0]->add2 ." ".$businessEntityMasterData[0]->city." : " .$businessEntityMasterData[0]->pincode }}
{{"Phone : ".$businessEntityMasterData[0]->tel1}}
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$reportTitle . " (Category : " . $categoryName . ")"}} | Store : {{$storeName}} | As on : {{$currentTime}} | |||||||||||||
Period : {{\Helper::getDisplayDate($fromDate)}} TO {{\Helper::getDisplayDate($toDate)}} | |||||||||||||||
Sr No. | Product Name | Sale Qty | SUOM | Sale Amt | Purchase Amt | Gross Profit Amt | Gross Sales Margin % | Gross Profit % | |||||||
(A) | (B) | (C = A - B) | (D = (C / A) * 100) | (E = (C / B) * 100) | |||||||||||
{{$sr++}} | {{$profit->product_name}} | {{$profit->quantity}} | {{$profit->stock_unit}} | {{\Helper::customAmountFormat($profit->sale_amt)}} | {{\Helper::customAmountFormat($profit->pur_amt)}} | {{\Helper::customAmountFormat($profitAmt)}} | {{\Helper::customAmountFormat($MarginPer).'%'}} | {{\Helper::customAmountFormat($ProfitPer).'%'}} | |||||||
Total | {{\Helper::customAmountFormat($totalSaleAmt)}} | {{\Helper::customAmountFormat($totalPurchaseAmt)}} | {{\Helper::customAmountFormat($totalProfitAmt)}} | @if($totalSaleAmt!=0){{\Helper::customAmountFormat(($totalProfitAmt/$totalSaleAmt)*100).'%'}} | @endif @if($totalPurchaseAmt!=0){{\Helper::customAmountFormat(($totalProfitAmt/$totalPurchaseAmt)*100).'%'}} | @endif||||||||||
{{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} |