@extends('Reports.template') @if($trnType == "CSN") @php $reportTitle = 'Consignment Purchase Register Report'; @endphp @elseif($trnType == "CSNR") @php $reportTitle = 'Consignment Purchase Return Register Report'; @endphp @else @php $reportTitle = 'Consignment Purchase & Consignment Purchase Return Register Report'; @endphp @endif @section('title') {{__($reportTitle)}} @endsection @section('ExternalCss') @parent @endsection @section('Content') @php if($trnStatus === 'P'){ $trnStatusMessage = "Partial"; }else if($trnStatus === 'T'){ $trnStatusMessage = "Cancelled"; }else if($trnStatus === 'C'){ $trnStatusMessage = "Completed"; }else{ $trnStatusMessage = "ALL"; } @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)." "}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | ||||||||||||||||||
| {{__('Vou No')}} | {{__('Vou Date')}} | {{__('Supp Bill No')}} | {{__('Supp Bill Date')}} | {{__('Credit Bill')}} | {{__('Supp Name')}} | {{__('Gross')}} | {{__('Disc')}} | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('IGST')}} | {{__('Invoice')}} | {{__('Sch Amt')}} | {{__('TCS Amt')}} | {{__('R. Off')}} | {{__('Net Amount')}} | ||||
| {{__('Sr')}} | {{__('Name')}} | {{__('Mfg')}} | {{__('Category')}} | {{__('Unit')}} | {{__('Ref No.')}} | {{__('Qty')}} | {{__('FQty')}} | {{__('Batch')}} | {{__('Exp')}} | {{__('Sch Amt')}} | {{__('MRP')}} | {{__('Rate')}} | {{__('Disc')}}% | {{__('Net Rate')}} | {{__('Taxable')}} | {{__('GST')}}% | {{__('GST')}} | {{__('Amount')}} | ||
| @if($remark != '') {{__('Remarks')}} : {{$remark}} @endif | {{__('Total Qty')}} : | {{ \Helper::zeroValueToNbspSpace($totalQty)}} | {{\Helper::zeroValueToNbspSpace($totalFreeQty)}} | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | ||||||||||||||||
| {{ $symbol }} {{ $productTransaction->trn_type." / ".$productTransaction->trn_fyear." / ".$productTransaction->ph_trn_id }} | {{ \Helper::getDisplayDate($productTransaction->ph_trn_date) }} | {{ $productTransaction->ph_purchase_bill_no }} | {{ \Helper::getDisplayDate($productTransaction->ph_purchase_bill_date) }} | @if($productTransaction->is_credit_bill == "Y"){{ "Yes" }}@else{{ "No" }}@endif | {{ $productTransaction->supplier_name }} | {{ \Helper::customAmountFormat($phGrossTotal) }} | {{ \Helper::customAmountFormat($phDiscountAmt) }} | {{ \Helper::customAmountFormat($phNetTaxableAmt) }} | {{ \Helper::customAmountFormat($phCgstAmt) }} | {{ \Helper::customAmountFormat($phSgstAmt) }} | {{ \Helper::customAmountFormat($phIgstAmt) }} | {{ \Helper::customAmountFormat($phInvoiceAmt) }} | {{ \Helper::customAmountFormat($phSchAmount) }} | {{ \Helper::customAmountFormat($phTcsAmount) }} | {{ \Helper::customAmountFormat($phRoundOff) }} | {{ \Helper::customAmountFormat($phTotal) }} | ||||
| {{$transactionSr++}} | {{ \Helper::zeroValueToNbspSpace($productTransaction->product_name) }} | {{ \Helper::zeroValueToNbspSpace(strtoupper($productTransaction->manufacturer_code)) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->category_abbrev) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->unit_abbrev) }} | {{ \Helper::zeroValueToNbspSpace($refTrnNo) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->quantity) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->free_quantity) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->batch_no) }} | {{ \Helper::getMonthYearFromDate($productTransaction->batch_exp) }} | {{ \Helper::customAmountFormat($productTransaction->sch_amt) }} | {{ \Helper::customAmountFormat($productTransaction->mrp) }} | {{ \Helper::customAmountFormat($productTransaction->price) }} | {{ \Helper::customAmountFormat($productTransaction->discount) }} | {{ \Helper::customAmountFormat($productTransaction->net_rate) }} | {{ \Helper::customAmountFormat($productTransaction->taxable_amt) }} | {{ \Helper::customAmountFormat(floatval($productTransaction->sgst_percentage) + floatval($productTransaction->cgst_percentage) + floatval($productTransaction->igst_percentage)) }} | {{ \Helper::customAmountFormat(floatval($productTransaction->sgst_value) + floatval($productTransaction->cgst_value) + floatval($productTransaction->igst_value)) }} | {{ \Helper::customAmountFormat($productTransaction->total) }} | ||
| @if($remark != '') {{__('Remarks')}} : {{$remark}} @endif | {{__('Total Qty')}} : | {{ \Helper::zeroValueToNbspSpace($totalQty)}} | {{\Helper::zeroValueToNbspSpace($totalFreeQty)}} | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | ||||||||||||||||
| {{__($footerHeading)." ".\Helper::zeroValueToNbspSpace($summary->Bills)}} | {{\Helper::customAmountFormat($summary->gross_total)}} | {{\Helper::customAmountFormat($summary->discount)}} | {{\Helper::customAmountFormat($summary->net_taxable_amt)}} | {{\Helper::customAmountFormat($summary->cgst_amt)}} | {{\Helper::customAmountFormat($summary->sgst_amt)}} | {{\Helper::customAmountFormat($summary->igst_amt)}} | {{\Helper::customAmountFormat($summary->invoice_amt)}} | {{\Helper::customAmountFormat($summary->sch_amount)}} | {{\Helper::customAmountFormat($summary->tcs_amount)}} | {{\Helper::customAmountFormat($summary->round_off)}} | {{\Helper::customAmountFormat($summary->total)}} | |||||||||
| {{__('Total Bills')}} : {{\Helper::zeroValueToNbspSpace($summaryBills)}} | {{\Helper::customAmountFormat($summaryGrossTotal)}} | {{\Helper::customAmountFormat($summaryDiscount)}} | {{\Helper::customAmountFormat($summaryNetTaxableAmt)}} | {{\Helper::customAmountFormat($summaryCgstAmt)}} | {{\Helper::customAmountFormat($summarySgstAmt)}} | {{\Helper::customAmountFormat($summaryIgstAmt)}} | {{\Helper::customAmountFormat($summaryInvoiceAmt)}} | {{\Helper::customAmountFormat($summarySchAmt)}} | {{\Helper::customAmountFormat($summaryTcsAmt)}} | {{\Helper::customAmountFormat($summaryRoundOff)}} | {{\Helper::customAmountFormat($summaryTotal)}} | ✱ {{__('Partially save')}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | |||||||