@extends('Reports.template') @section('title') @php $reportTitle = "Sales Summary With GST Details"; if($billType=='B'){ $billType = "Credit and Cash"; $reportTitle = __($reportTitle)." / ".__($billType); }else if($billType=='C'){ $billType = "Cash"; $reportTitle = __($reportTitle)." / ".__($billType); }else if($billType=='CR'){ $billType = "Credit"; $reportTitle = __($reportTitle)." / ".__($billType); } @endphp {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content') @if($reportType == "D")
|
@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)}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | |||||||||||||
| {{__('Sr No')}} | {{__('Bill Date')}} | {{__('Bill No')}} | {{__('Patient Name')}} | {{__('Bill Type')}} | {{__('Taxable Amt')}} | {{__('CGST Amt')}} | {{__('SGST Amt')}} | {{__('Round Off')}} | {{__('Total')}} | ||||||
| {{__('Total')}} | {{\Helper::customAmountFormat($totalTaxableAmt)}} | {{\Helper::customAmountFormat($totalCgstAmt)}} | {{\Helper::customAmountFormat($totalSgstAmt)}} | {{\Helper::customAmountFormat($totalRoundoffAmt)}} | {{\Helper::customAmountFormat($totalsale)}} | ||||||||||
| {{$sr++}} | {{\Helper::getDisplayDate($patient->trn_date)}} | @else@endif | {{$patient->trn_type."/".$patient->trn_fyear."/".$patient->trn_id}} | {{$patOrCustName}} | {{__($bill)}} | {{ $totalTaxable == 0 ? '0.00' : \Helper::customAmountFormat($totalTaxable) }} | {{ $totalCgst == 0 ? '0.00' : \Helper::customAmountFormat($totalCgst) }} | {{ $totalSgst == 0 ? '0.00' : \Helper::customAmountFormat($totalSgst) }} | {{ $totalRoundoff == 0 ? '0.00' : \Helper::customAmountFormat($totalRoundoff) }} | {{ $patientsale == 0 ? '0.00' : \Helper::customAmountFormat($patientsale) }} | |||||
| {{__('Total')}} | {{\Helper::customAmountFormat($totalTaxableAmt)}} | {{\Helper::customAmountFormat($totalCgstAmt)}} | {{\Helper::customAmountFormat($totalSgstAmt)}} | {{\Helper::customAmountFormat($totalRoundoffAmt)}} | {{\Helper::customAmountFormat($totalsale)}} | ||||||||||
| {{__('Total Cash Sales')}} : {{ \Helper::customAmountFormat($totalCashTaxableSaleAmt)}} | {{ \Helper::customAmountFormat($totalCashSaleCgstAmt)}} | {{ \Helper::customAmountFormat($totalCashSaleSgstAmt)}} | {{ \Helper::customAmountFormat($totalCashRoundoffSaleAmt)}} | {{ \Helper::customAmountFormat($totalCashSaleAmt)}} | |||||||||||
| {{__('Total Credit Sales')}} : {{ \Helper::customAmountFormat($totalCreditTaxableSaleAmt)}} | {{ \Helper::customAmountFormat($totalCreditSaleCgstAmt)}} | {{ \Helper::customAmountFormat($totalCreditSaleSgstAmt)}} | {{ \Helper::customAmountFormat($totalCreditRoundoffSaleAmt)}} | {{ \Helper::customAmountFormat($totalCreditSaleAmt)}} | |||||||||||
| {{__('Total Sales')}} : {{ \Helper::customAmountFormat($totalTaxableSaleAmt)}} | {{ \Helper::customAmountFormat($totalSaleCgstAmt)}} | {{ \Helper::customAmountFormat($totalSaleSgstAmt)}} | {{ \Helper::customAmountFormat($totalRoundoffSaleAmt)}} | {{ \Helper::customAmountFormat($totalSaleAmt)}} | |||||||||||
| {{__('Total Cash Sales Return')}} : {{ \Helper::customAmountFormat($totalCashTaxableReturnAmt)}} | {{ \Helper::customAmountFormat($totalCashReturnCgst)}} | {{ \Helper::customAmountFormat($totalCashReturnSgst)}} | {{ \Helper::customAmountFormat($totalCashRoundoffReturnAmt)}} | {{ \Helper::customAmountFormat($totalCashSaleReturnAmt)}} | |||||||||||
| {{__('Total Credit Sales Return')}} : {{ \Helper::customAmountFormat($totalCreditTaxableReturnAmt)}} | {{ \Helper::customAmountFormat($totalCreditReturnCgst)}} | {{ \Helper::customAmountFormat($totalCreditReturnSgst)}} | {{ \Helper::customAmountFormat($totalCreditRoundoffReturnAmt)}} | {{ \Helper::customAmountFormat($totalCreditSaleReturnAmt)}} | |||||||||||
| {{__('Total Sales Return')}} : {{ \Helper::customAmountFormat($totalTaxableReturnAmt)}} | {{ \Helper::customAmountFormat($totalReturnCgst)}} | {{ \Helper::customAmountFormat($totalReturnSgst)}} | {{ \Helper::customAmountFormat($totalRoundoffReturnAmt)}} | {{ \Helper::customAmountFormat($totalSaleReturnAmt)}} | |||||||||||
| {{__('Net Total')}} : {{ \Helper::customAmountFormat($netTaxableAmt)}} | {{ \Helper::customAmountFormat($netCgstAmt)}} | {{ \Helper::customAmountFormat($netSgstAmt)}} | {{ \Helper::customAmountFormat($netRoundoff)}} | {{ \Helper::customAmountFormat($netSaleAmt)}} | ✱{{__(Config::get('constants.asterisk.WALK_CUST'))}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | |||||||||
|
@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)}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | |||||||||||||
| {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | |||||||||||||||
| {{__('Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('Sale')}} | |||
|---|---|---|---|---|---|---|
| % | {{__('Amount')}} | % | {{__('Amount')}} | % | {{__('Amount')}} | {{__('Total Amount')}} |
| {{$gstRange}} | {{\Helper::customAmountFormat($gst->net_taxable)}} | {{$gst->cgst_percentage}} | {{\Helper::customAmountFormat($gst->cgst_amt)}} | {{$gst->sgst_percentage}} | {{\Helper::customAmountFormat($gst->sgst_amt)}} | {{\Helper::customAmountFormat($total)}} |
| {{__('Total')}} | {{\Helper::customAmountFormat($netTaxableTotal)}} | {{\Helper::customAmountFormat($cgstAmt)}} | {{\Helper::customAmountFormat($sgstAmt)}} | {{\Helper::customAmountFormat($netSale)}} | ||
| {{__('Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('Sale')}} | |||
|---|---|---|---|---|---|---|
| % | {{__('Amount')}} | % | {{__('Amount')}} | % | {{__('Amount')}} | {{__('Total Amount')}} |
| {{$gstRange}} | {{\Helper::customAmountFormat((-1)*$gst->net_taxable)}} | {{$gst->cgst_percentage}} | {{\Helper::customAmountFormat((-1)*$gst->cgst_amt)}} | {{$gst->sgst_percentage}} | {{\Helper::customAmountFormat((-1)*$gst->sgst_amt)}} | {{\Helper::customAmountFormat((-1)*$total)}} |
| {{__('Total')}} | {{\Helper::customAmountFormat((-1)*$netTaxableTotal)}} | {{\Helper::customAmountFormat((-1)*$cgstAmt)}} | {{\Helper::customAmountFormat((-1)*$sgstAmt)}} | {{\Helper::customAmountFormat((-1)*$netSale)}} | ||
| {{__('Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('Sale')}} | |||
|---|---|---|---|---|---|---|
| % | {{__('Amount')}} | % | {{__('Amount')}} | % | {{__('Amount')}} | {{__('Total Amount')}} |
| {{$oldGstRange}} | {{\Helper::customAmountFormat($totalTaxable)}} | {{$oldGstPercentage}} | {{\Helper::customAmountFormat($totalCgstAmt)}} | {{$oldGstPercentage}} | {{\Helper::customAmountFormat($totalSgstAmt)}} | {{\Helper::customAmountFormat($totalAmt)}} |
| {{$oldGstRange}} | {{\Helper::customAmountFormat($totalTaxable)}} | {{$oldGstPercentage}} | {{\Helper::customAmountFormat($totalCgstAmt)}} | {{$oldGstPercentage}} | {{\Helper::customAmountFormat($totalSgstAmt)}} | {{\Helper::customAmountFormat($totalAmt)}} |
| {{__('Total')}} | {{\Helper::customAmountFormat($netTaxableTotal)}} | {{\Helper::customAmountFormat($cgstAmt)}} | {{\Helper::customAmountFormat($sgstAmt)}} | {{\Helper::customAmountFormat($netSale)}} | ||