@extends('Reports.template') @if ($trnType == 'P') @php $reportTitle = 'Purchase Register Report'; @endphp @elseif($trnType == 'PR') @php $reportTitle = 'Purchase Return Register Report'; @endphp @else @php $reportTitle = 'Purchase & Purchase Return Register Report'; @endphp @endif @section('title') {{ __($reportTitle) }} @endsection @section('ExternalCss') @parent @endsection @section('Content') @php if ($trnStatus === 'P') { $trnStatusMessage = 'Partial'; } elseif ($trnStatus === 'T') { $trnStatusMessage = 'Cancelled'; } elseif ($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')}} | {{__('PO No')}} | {{__('Credit Bill')}} | {{__('Supp Name')}} | {{__('Gross')}} | {{__('Disc')}} | {{__('Net Taxable')}} | {{__('CGST')}} | {{__('SGST')}} | {{__('IGST')}} | {{__('Invoice')}} | {{__('Sch Amt')}} | {{__('TCS Amt')}} | {{__('R. Off')}} | {{__('Net Amount')}} | ||||||
| {{__('Sr')}} | {{__('Name')}} | {{__('HSN Code')}} | {{__('Mfg')}} | {{__('Category')}} | {{__('P Unit')}} | {{__('S Unit')}} | {{__('P Size')}} | {{__('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->trn_type == 'P' && $productTransaction->purchase_order_no > 0) {{ 'PO' . $productTransaction->purchase_order_no }}@else{{ ' ' }} @endif | @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($productTransaction->product_hsn_code) }} | {{ \Helper::zeroValueToNbspSpace(strtoupper($productTransaction->manufacturer_code)) }} | {{ \Helper::zeroValueToNbspSpace($productTransaction->category_abbrev) }} | {{ \Helper::zeroValueToDash($productTransaction->unit_abbrev) }} | {{ \Helper::zeroValueToDash($productTransaction->suom) }} | {{ \Helper::zeroValueToDash($productTransaction->conversion_factor) }} | {{ \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 ') }} | ||||||||||