@extends('Reports.template') @section('title') Pharmacy Outstanding Report @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}}
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pharmacy Outstading Report | Store : {{$storeName}} | As On : {{\Helper::getDisplayDate($toDate)}} | |||||||||||||
Sr No | Bill No | Bill Date | Patient / Customer Details | Patient Type | Age Day | Outstanding Bill Amount | Created By | ||||||||
{{$sr++}} | {{$bill->trn_type."/".$bill->trn_fyear."/".$bill->trn_id}} | {{\Helper::getDisplayDate($bill->trn_date)}} | {{$patOrCustName}} | @if($bill->patient_rate_card > 0){{$rate[$bill->patient_rate_card]}} | @else@endif @if($bill->is_ptr_applicable == 'Y') | {{$companyName}} | @else@endif | {{$ageDay}} | {{\Helper::customAmountFormat($amount)}} | {{$bill->created_by}} | |||||
{{\Helper::customAmountFormat($total)}} | ✱ {{Config::get('constants.asterisk.WALK_CUST')}} | {{ strtoupper(Session::get('userId'))." # ".$currentTime->format('d/m/Y H:i:s ')}} |
Patient Category | 0-7 day | 8-15 day | 16-30 day | >30 day | Total | |||||
---|---|---|---|---|---|---|---|---|---|---|
Count | Amount | Count | Amount | Count | Amount | Count | Amount | Total Count | Total Amount | |
{{$rate[$key]}} | {{\Helper::zeroValueToNbspSpace($value[0])}} | {{\Helper::customAmountFormat($agingAmount[$key][0])}} | {{\Helper::zeroValueToNbspSpace($value[1])}} | {{\Helper::customAmountFormat($agingAmount[$key][1])}} | {{\Helper::zeroValueToNbspSpace($value[2])}} | {{\Helper::customAmountFormat($agingAmount[$key][2])}} | {{\Helper::zeroValueToNbspSpace($value[3])}} | {{\Helper::customAmountFormat($agingAmount[$key][3])}} | {{\Helper::zeroValueToNbspSpace($value[0]+$value[1]+$value[2]+$value[3])}} | {{\Helper::customAmountFormat($agingAmount[$key][0]+$agingAmount[$key][1]+$agingAmount[$key][2]+$agingAmount[$key][3])}} |
Patient / Customer | {{\Helper::zeroValueToNbspSpace($customerAging[0])}} | {{\Helper::customAmountFormat($customerAgingAmount[0])}} | {{\Helper::zeroValueToNbspSpace($customerAging[1])}} | {{\Helper::customAmountFormat($customerAgingAmount[1])}} | {{\Helper::zeroValueToNbspSpace($customerAging[2])}} | {{\Helper::customAmountFormat($customerAgingAmount[2])}} | {{\Helper::zeroValueToNbspSpace($customerAging[3])}} | {{\Helper::customAmountFormat($customerAgingAmount[3])}} | {{\Helper::zeroValueToNbspSpace($customerAging[0]+$customerAging[1]+$customerAging[2]+$customerAging[3])}} | {{\Helper::customAmountFormat($customerAgingAmount[0]+$customerAgingAmount[1]+$customerAgingAmount[2]+$customerAgingAmount[3])}} |
Total | {{\Helper::zeroValueToNbspSpace($totalRange1)}} | {{\Helper::customAmountFormat($totalAmount1)}} | {{\Helper::zeroValueToNbspSpace($totalRange2)}} | {{\Helper::customAmountFormat($totalAmount2)}} | {{\Helper::zeroValueToNbspSpace($totalRange3)}} | {{\Helper::customAmountFormat($totalAmount3)}} | {{\Helper::zeroValueToNbspSpace($totalRange4)}} | {{\Helper::customAmountFormat($totalAmount4)}} | {{\Helper::zeroValueToNbspSpace($totalRange1+$totalRange2+$totalRange3+$totalRange4)}} | {{\Helper::customAmountFormat($totalAmount1+$totalAmount2+$totalAmount3+$totalAmount4)}} |