@extends('Reports.template') @section('ExternalCss') @parent @endsection @section('Content') @php $fromDate = \Carbon\Carbon::parse($fromDate); $fromDate = $fromDate->format('d/m/Y'); $toDate = \Carbon\Carbon::parse($toDate); $toDate = $toDate->format('d/m/Y'); if($trnType == 'I') { $reportTitle = 'Sales Amendment Report'; } elseif( $trnType == 'IR') { $reportTitle = 'Sale Return Amendment Report'; } elseif($trnType == 'P') { $reportTitle = 'Purchase Amendment Report'; } elseif($trnType == 'PR') { $reportTitle = 'Purchase Return Amendment Report'; } @endphp
|
@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) . ' ' }} | {{__('Report Type')}} : {{ __($reportType) }} | {{__('Period')}} : {{ $fromDate }} {{__('TO')}} {{ $toDate }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {{__('Store')}} | {{__('Bill No')}} | AmNo | {{__('Bill Date')}} | {{__('Patient / Customer Name')}} | Gross | {{__('Disc')}}% | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('R.Off')}} | {{__('Net Amount')}} | {{__('Created By')}} | {{__('Created Date')}} | |||||||||||||||||||||||||||||||||||||||||||
| {{__('Store')}} | {{__('Vou No')}} | AmNo | {{__('Vou Date')}} | {{__('Supp Bill No')}} | {{__('Supp Bill Date')}} | {{__('PO No')}} | {{__('Supp Name')}} | {{__('Gross')}} | {{__('Disc')}}% | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('IGST')}} | {{__('Sch Amt')}} | {{__('R.Off')}} | {{__('Net Amt')}} | {{__('Created By')}} | {{__('Created Date')}} | ||||||||||||||||||||||||||||||||||||||
| {{__('Sr')}} | {{__('Medicine Name')}} | {{__('Batch No')}} | {{__('Qty')}} | {{__('Disc')}}% | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('Total')}} | ||||||||||||||||||||||||||||||||||||||||||||||||
| {{__('Sr')}} | {{__('Medicine Name')}} | {{__('Qty')}} | {{__('FQty')}} | {{__('Batch No')}} | {{__('Exp')}} | {{__('Sch Amt')}} | {{__('MRP')}} | {{__('Rate')}} | {{__('Disc')}}% | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('IGST')}} | {{__('Total')}} | ||||||||||||||||||||||||||||||||||||||||||
| {{ $headerItem->gm_description }} | {{ $headerItem->trn_type."/".$headerItem->trn_fyear."/" . $headerItem->trn_id }} | @if($trnType == "I" || $trnType == "IR"){{ $headerItem->bill_amendment }} | {{ $headerDate }} | {{ $patOrCustID }} / {{ $patOrCustName }} | @elseif($trnType == "P" || $trnType == "PR"){{ $headerItem->bill_amendment }} | {{ $headerItem->trn_date }} | {{ $headerItem->purchase_bill_no }} | {{ $headerItem->purchase_bill_date }} | {{ $po ?? '' }} | {{ $headerItem->supplier_name }} | @endif{{ $headerItem->gross_total }} | {{ $headerItem->discount_amt }} | {{ $headerItem->net_taxable_amt }} | {{ $headerItem->cgst_amt }} | {{ $headerItem->sgst_amt }} | @if($trnType == "P" || $trnType == "PR"){{ $headerItem->igst_amt }} | {{ $headerItem->sch_amount }} | @endif{{ $headerItem->round_off }} | {{ $headerItem->total }} | {{ $headerItem->created_by }} | {{ $headerItem->created_date }} | @else@if($trnType == "I" || $trnType == "IR") | {{ $headerItem->bill_amendment }} | {{ $headerDate }} | @elseif($trnType == "P" || $trnType == "PR"){{ $headerItem->bill_amendment }} | {{ $headerItem->purchase_bill_date }} | @endif | {{ $headerItem->gross_total }} | {{ $headerItem->discount_amt }} | {{ $headerItem->net_taxable_amt }} | {{ $headerItem->cgst_amt }} | {{ $headerItem->sgst_amt }} | @if($trnType == "P" || $trnType == "PR"){{ $headerItem->igst_amt }} | {{ $headerItem->sch_amount }} | @endif{{ $headerItem->round_off }} | {{ $headerItem->total }} | {{ $headerItem->created_by }} | {{ $headerItem->created_date }} | @endif||||||||||||||||||
| {{$trn_dataItem->trn_sr_no}} | {{$trn_dataItem->product_name}} | {{$trn_dataItem->batch_no}} | {{$trn_dataItem->quantity}} | {{$trn_dataItem->discount_amt}} | {{$trn_dataItem->taxable_amt}} | {{$trn_dataItem->cgst_value}} | {{$trn_dataItem->sgst_value}} | {{$trn_dataItem->total}} | ||||||||||||||||||||||||||||||||||||||||||||||||
| {{$trn_dataItem->trn_sr_no}} | {{$trn_dataItem->product_name}} | {{$trn_dataItem->quantity}} | {{$trn_dataItem->free_quantity}} | {{$trn_dataItem->batch_no}} | {{ $trn_dataItem->batch_exp }} | {{$trn_dataItem->sch_amt}} | {{$trn_dataItem->mrp}} | {{$trn_dataItem->net_rate}} | {{$trn_dataItem->discount_amt}} | {{$trn_dataItem->taxable_amt}} | {{$trn_dataItem->cgst_value}} | {{$trn_dataItem->sgst_value}} | {{$trn_dataItem->igst_value}} | {{$trn_dataItem->total}} | {{ strtoupper(Session::get('userId')) . ' # ' . $currentTime->format('d/m/Y H:i:s ') }} | |||||||||||||||||||||||||||||||||||||||||