@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) logo )}}"/> @endif |
{{ $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)}} | @elsePeriod : {{\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 : | @elseTotal Outstanding : | @endif{{\Helper::customAmountFormat($totalOutstanding)}} | ✱ {{Config::get('constants.asterisk.WALK_CUST')}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} |