@extends('Reports.template') @section('title') @if($reportType == "D") @php $reportTitle = "Pharmacy Outstanding Report ( Detail )"; @endphp @else @php $reportTitle = "Pharmacy Outstanding Report ( Summary )"; @endphp @endif {{__($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)}} ( {{__('Report For')}} : {{__($reportForTitle)}} ) | @if($reportFor == "U"){{__('As On')}} : {{\Helper::getDisplayDate($toDate)}} | @else{{__('Period')}} : {{\Helper::getDisplayDate($fromDate)}} {{__('TO')}} {{\Helper::getDisplayDate($toDate)}} | @endif||||||||||||||||
| {{__('Sr.')}} | {{__('Patient / Customer Details')}} | {{__('Patient Type')}} | ||||||||||||||||
| {{__('Sr.')}} | {{__('Patient / Customer Details')}} | {{__('Patient Type')}} | {{__('Receipt Amount')}} | {{__('Bill Amount')}} | {{__('Balance')}} | |||||||||||||
| {{__('Sr.')}} | {{__('Receipt / Bill No')}} | {{__('Receipt / Bill Date')}} | {{__('IP / OP ID')}} | {{__('Remarks')}} | {{__('Created By')}} | {{__('Receipt Amount')}} | {{__('Bill Amount')}} | {{__('Balance')}} | ||||||||||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||||||
| {{$srHeader++}} | {{$lastPatOrCustName}} | @if($lastPatRateCard > 0){{$rate[$lastPatRateCard]}} | @else@endif @if($lastPtrApplicable == 'Y') | {{$companyName}} | @else@endif | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | ||||||||||
| {{$srHeader++}} | {{$patOrCustName}} | @if($bill->patient_rate_card > 0){{$rate[$bill->patient_rate_card]}} | @else@endif @if($bill->is_ptr_applicable == 'Y') | {{$companyName}} | @else@endif | |||||||||||||
| {{$sr++}} | {{$receipt->trn_receipt_type.$receipt->trn_receipt_no}} | {{\Helper::getDisplayDate($receipt->trn_receipt_date)}} | {{$opOrIpID}} | {{$receipt->remarks}} | {{$receipt->created_by}} | {{\Helper::customAmountFormat($amount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||
| {{$sr++}} | {{$receipt->trn_receipt_type.$receipt->trn_receipt_no}} | {{\Helper::getDisplayDate($receipt->trn_receipt_date)}} | {{$opOrIpID}} | {{$receipt->remarks}} | {{$receipt->created_by}} | {{\Helper::customAmountFormat($amount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||
| {{$sr++}} | {{$bill->trn_type."/".$bill->trn_fyear."/".$bill->trn_id}} | {{\Helper::getDisplayDate($bill->trn_date)}} | {{$opOrIpID}} | {{$bill->remarks}} | {{$bill->created_by}} | {{\Helper::customAmountFormat($amount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||||||
| {{$srHeader++}} | {{$lastPatOrCustName}} | @if($lastPatRateCard > 0){{$rate[$lastPatRateCard]}} | @else@endif @if($lastPtrApplicable == 'Y') | {{$companyName}} | @else@endif | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | ||||||||||
| {{__('Total Outstanding')}} : | {{\Helper::customAmountFormat($totalOutstanding)}} | |||||||||||||||||
| {{__('List of Patient / Customer having Only Receipt')}} | ||||||||||||||||||
| {{__('Sr.')}} | {{__('Patient / Customer Details')}} | {{__('Patient Type')}} | ||||||||||||||||
| {{__('Sr.')}} | {{__('Patient / Customer Details')}} | {{__('Patient Type')}} | {{__('Receipt Amount')}} | {{__('Bill Amount')}} | {{__('Balance')}} | |||||||||||||
| {{__('Sr.')}} | {{__('Receipt / Bill No')}} | {{__('Receipt / Bill Date')}} | {{__('IP / OP ID')}} | {{__('Remarks')}} | {{__('Created By')}} | {{__('Receipt Amount')}} | {{__('Bill Amount')}} | {{__('Balance')}} | ||||||||||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||||||
| {{$srHeader++}} | {{$lastPatOrCustName}} | @if($lastPatRateCard > 0){{$rate[$lastPatRateCard]}} | @else@endif @if($lastPtrApplicable == 'Y') | {{$companyName}} | @else@endif | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | ||||||||||
| {{$srHeader++}} | {{$patOrCustName}} | @if($receipt->patient_rate_card > 0){{$rate[$receipt->patient_rate_card]}} | @else@endif | |||||||||||||||
| {{$sr++}} | {{$receipt->trn_receipt_type.$receipt->trn_receipt_no}} | {{\Helper::getDisplayDate($receipt->trn_receipt_date)}} | {{$opOrIpID}} | {{$receipt->remarks}} | {{$receipt->created_by}} | {{\Helper::customAmountFormat($amount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||||||
| {{$srHeader++}} | {{$lastPatOrCustName}} | @if($lastPatRateCard > 0){{$rate[$lastPatRateCard]}} | @else@endif @if($lastPtrApplicable == 'Y') | {{$companyName}} | @else@endif | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | ||||||||||
| {{$srHeader++}} | {{$patOrCustName}} | @if($receipt->patient_rate_card > 0){{$rate[$receipt->patient_rate_card]}} | @else@endif | |||||||||||||||
| {{$sr++}} | {{$receipt->trn_receipt_type.$receipt->trn_receipt_no}} | {{\Helper::getDisplayDate($receipt->trn_receipt_date)}} | {{$opOrIpID}} | {{$receipt->remarks}} | {{$receipt->created_by}} | {{\Helper::customAmountFormat($amount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||
| {{__('Total')}} : | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | |||||||||||||||
| {{$srHeader++}} | {{$lastPatOrCustName}} | @if($lastPatRateCard > 0){{$rate[$lastPatRateCard]}} | @else@endif @if($lastPtrApplicable == 'Y') | {{$companyName}} | @else@endif | {{\Helper::customAmountFormat($totalReceiptAmount)}} | {{\Helper::customAmountFormat($totalBillAmount)}} | {{\Helper::customAmountFormat($balance)}} | ||||||||||
| {{__('Total Receipt Amount')}} : | @else{{__('Total Outstanding')}} : | @endif{{\Helper::customAmountFormat($totalOutstanding)}} | ✱ {{__(Config::get('constants.asterisk.WALK_CUST'))}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} | ||||||||||||||