@extends('Reports.template') @php $reportTitle = 'Doctor Wise - Sales Report'; @endphp @section('title') {{ $reportTitle }} @endsection @section('ExternalCss') @parent @endsection @section('Content')
@if ($businessEntityMasterData[0]->logo != null) @endif |
{{ $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) }} | |||||||||||
Patient Category : @php $cat=""; foreach ($rateCard as $item) $cat.= $item->rate_card .'-'. $item->rate_type .', '; @endphp {{ rtrim($cat,', ') }} | |||||||||||||
UH ID / Cust ID | Patient / Customer Name | Patient Category | OP ID | IP ID | @if($doctorwiseorpatient == "P")Doctor | Bill No | @elseBill No | @endifBill Date | Invoice | R.Off | Net Amount | Created By | |
Patient Total | {{ \Helper::customAmountFormat($patInvoiceTotal) }} | {{ \Helper::customAmountFormat($patRoundTotal) }} | {{ \Helper::customAmountFormat($patNetAmtTotal) }} | ||||||||||
Doctor Total | {{ \Helper::customAmountFormat($invoiceTotal) }} | {{ \Helper::customAmountFormat($roundOffTotal) }} | {{ \Helper::customAmountFormat($netAmtTotal) }} | ||||||||||
{{ $productTransaction->doctor_name }} | |||||||||||||
{{ $patORCustID }} | {{ $patOrCustName }} | {{ $productTransaction->rate_card.' - '.$productTransaction->rate_type }} | {{ $productTransaction->opd_reg_id }} | {{ \Helper::zeroValueToDash($productTransaction->ipd_reg_id) }} | @if($doctorwiseorpatient == "P"){{ $productTransaction->doctor_name }} | @if ($productTransaction->is_credit_bill == 'Y') ✱ @endif {{ $productTransaction->ph_trn_type . "/" . $productTransaction->trn_fyear . "/" . $productTransaction->ph_trn_id }} | @else@if ($productTransaction->is_credit_bill == 'Y') ✱ @endif {{ $productTransaction->ph_trn_type . "/" . $productTransaction->trn_fyear . "/" . $productTransaction->ph_trn_id }} | @endif{{ \Helper::getDisplayDate($productTransaction->trn_date) }} | {{ \Helper::customAmountFormat($phInvoiceAmt) }} | {{ \Helper::customAmountFormat($phRoundOff) }} | {{ \Helper::customAmountFormat($phTotal) }} | {{ $productTransaction->ph_created_by }} | |
Patient Total | {{ \Helper::customAmountFormat($patInvoiceTotal) }} | {{ \Helper::customAmountFormat($patRoundTotal) }} | {{ \Helper::customAmountFormat($patNetAmtTotal) }} | ||||||||||
Doctor Total | {{ \Helper::customAmountFormat($invoiceTotal) }} | {{ \Helper::customAmountFormat($roundOffTotal) }} | {{ \Helper::customAmountFormat($netAmtTotal) }} | ✱ {{ Config::get('constants.asterisk.WALK_CUST') }}, ✱{{ 'Credit Bill' }} | {{ strtoupper(Session::get('userId')) . ' # ' . $currentTime->format('d/m/Y H:i:s ') }} | @endif