@extends('Reports.template') @section('title') {{__('Pharmacy Outstanding Report')}} @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}}
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{__('Pharmacy Outstanding 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)}} |