@extends('Reports.template') @section('title') @php $reportTitle = __("Gross Profit & Sales Margin Details"); if($onlyForOp == "Y"){ $reportTitle .= __("For OP And Customer"); } if($rateType == "W"){ $reportTitle .= __("- With GST"); } else { $reportTitle .= __("- Without GST"); } @endphp {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content')
|
@if($businessEntityMasterData[0]->logo != null)
|
{{ $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 ')}} | |||||||||||||||