@extends('Reports.template') @section('title') @php $reportTitle = "Sales Discount Report"; @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)." "}} | {{__('Store')}} : {{$storeName}} | {{__('Period')}} : {{ \Helper::getDisplayDate($fromDate) }} {{__('TO')}} {{ \Helper::getDisplayDate($toDate) }} | |||||||||||||||
| {{__('Trn No')}} | {{__('Trn Date')}} | {{__('Payment Received')}} | {{__('Patient / Customer Name')}} | {{__('Remarks')}} | {{__('Gross')}} | {{__('Disc')}} | {{__('Invoice')}} | {{__('R.Off')}} | {{__('Net Amount')}} | ||||||||
| {{__('Sr')}} | {{__('Medicine Name')}} | {{__('Mfg')}} | {{__('Category')}} | {{__('Unit')}} | {{__('Ref No.')}} | {{__('Batch')}} | {{__('Exp')}} | {{__('Qty')}} | {{__('MRP')}} | {{__('Disc')}}% | {{__('Disc')}} | {{__('Amount')}} | |||||
| {{__('Total Qty')}} : {{\Helper::zeroValueToDash($totalQty)}} | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | ||||||||||||||||
| @if($productTransaction->is_credit_bill == 'Y')✱@endif {{ $productTransaction->trn_type."/".$productTransaction->trn_fyear."/".$productTransaction->ph_trn_id }} | {{ \Helper::getDisplayDate($productTransaction->trn_date) }} | {{ ($productTransaction->is_fully_paid == 'Y') ? __('Yes') : __('No') }} | {{ $patOrCustName }} | {{ $productTransaction->ph_remarks }} | {{ \Helper::customAmountFormat($phGrossTotal) }} | {{ \Helper::customAmountFormat($phDiscountAmt) }} | {{ \Helper::customAmountFormat($phInvoiceAmt) }} | {{ \Helper::customAmountFormat($phRoundOff) }} | {{ \Helper::customAmountFormat($phTotal) }} | ||||||||
| {{$transactionSr++}} | {{ \Helper::zeroValueToDash($productTransaction->product_name) }} | {{ \Helper::zeroValueToDash($productTransaction->manufacturer_name) }} | {{ \Helper::zeroValueToDash($productTransaction->category_abbrev) }} | {{ \Helper::zeroValueToDash($productTransaction->unit_abbrev) }} | {{ \Helper::zeroValueToDash($refTrnNo) }} | {{ $productTransaction->batch_no }} | {{ \Helper::getMonthYearFromDate($productTransaction->batch_exp) }} | {{ $productTransaction->quantity }} | {{ \Helper::customAmountFormat($productTransaction->mrp) }} | {{ \Helper::customAmountFormat($productTransaction->discount) }} | {{ \Helper::customAmountFormat($productTransaction->discount_amt) }} | {{ \Helper::customAmountFormat($productTransaction->total) }} | |||||
| {{__('Total Qty')}} : {{\Helper::zeroValueToDash($totalQty)}} | {{__("Created By")}}: @if($createdBy) {{$createdBy ." ".Carbon\Carbon::parse($datetime)->format('d-m-Y h:i:s')}} @endif | ||||||||||||||||
| {{__('Total Sales / DC Bills')}} : {{\Helper::zeroValueToNbspSpace($saleSummaryBills)}} | {{\Helper::customAmountFormat($saleSummaryGrossTotal)}} | {{\Helper::customAmountFormat($saleSummaryDiscount)}} | {{\Helper::customAmountFormat($saleSummaryInvoiceAmt)}} | {{\Helper::customAmountFormat($saleSummaryRoundOff)}} | {{\Helper::customAmountFormat($saleSummaryTotal)}} | ||||||||||||
| {{__('Total Sales Return / DC Return Bills')}} : {{\Helper::zeroValueToNbspSpace($returnSummaryBills)}} | {{\Helper::customAmountFormat($returnSummaryGrossTotal)}} | {{\Helper::customAmountFormat($returnSummaryDiscount)}} | {{\Helper::customAmountFormat($returnSummaryInvoiceAmt)}} | {{\Helper::customAmountFormat($returnSummaryRoundOff)}} | {{\Helper::customAmountFormat($returnSummaryTotal)}} | ||||||||||||
| {{__('Total Bills')}} : {{\Helper::zeroValueToNbspSpace($summaryBills)}} | {{\Helper::customAmountFormat($summaryGrossTotal)}} | {{\Helper::customAmountFormat($summaryDiscount)}} | {{\Helper::customAmountFormat($summaryInvoiceAmt)}} | {{\Helper::customAmountFormat($summaryRoundOff)}} | {{\Helper::customAmountFormat($summaryTotal)}} | ✱ {{__(Config::get('constants.asterisk.WALK_CUST'))}}, ✱{{__('Credit Bill')}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | ||||||||||