@extends('Reports.template') @section('title') {{__('Pharmacy Receipt')}} @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}}
|
|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@php if($receipt->trn_receipt_type == 'B'){ if($receipt->receipt_amount >= 0){ $receiptTitle = 'PHARMACY PAYMENT RECEIPT'; }else{ $receiptTitle = 'PHARMACY REFUND'; } }else if($receipt->trn_receipt_type == 'A'){ $receiptTitle = 'PHARMACY PAYMENT RECEIPT'; }else if($receipt->trn_receipt_type == 'R'){ $receiptTitle = 'PHARMACY REFUND ORDER'; } @endphp {{__($receiptTitle)}} |
||||||||||||||
| Receipt No: {{$receipt->receipt_no}} | @php $receiptTime = explode(' ',$receipt->created_date); $receiptTime = $receiptTime[1]; $receiptDateTime = $receipt->receipt_date . " " . $receiptTime; @endphpDate : {{\Helper::getDisplayDateTime($receiptDateTime)}} | |||||||||||||
|
@php if($receipt->patient_id == NULL || $receipt->patient_id == '0'){ $patOrCustLabel = "Customer":; $patOrCustDetail = $receipt->ph_cust_id." / ".$receipt->ph_cust_name; }else{ $patOrCustLabel = "Patient":; $patOrCustDetail = $receipt->patient_id." / ".$receipt->patient_name; } @endphp @if($receipt->trn_receipt_type == 'R' || $receipt->receipt_amount < 0) {{__('Refunded with thanks to')}} {{__($patOrCustLabel)}}{{$patOrCustDetail}} {{__('a Sum of Rupees')}} {{ ucwords(\Helper::convertNumber(abs($receipt->receipt_amount)) . " only") }} {{__('towards')}} {{__('various Pharamcy Bills')}} {{ $receipt->bill_no }} @else {{__('Received with thanks from')}} {{__($patOrCustLabel)}}{{$patOrCustDetail}} {{__('a Sum of Rupees')}} {{ ucwords(\Helper::convertNumber($receipt->receipt_amount) . " only") }} {{__('towards')}} @if($receipt->trn_receipt_type == 'A') {{__('Phramcy Payment')}} @else {{__('various Pharamcy Bills')}} @endif {{ $receipt->bill_no }} @endif |
||||||||||||||
|
|
||||||||||||||
|
@if($receipt->trn_receipt_type == 'R' || $receipt->receipt_amount < 0) Payment Refunded {{"By ".strtoupper($receipt->gm_description) }} @if(strtoupper($receipt->payment_agency != '')) {{", ".strtoupper($receipt->payment_agency) }} {{", ".strtoupper($receipt->payment_number) }} @endif @else {{__('Payment Received')}} {{"By ".strtoupper($receipt->gm_description) }} @if(strtoupper($receipt->payment_agency != '')) {{", ".strtoupper($receipt->payment_agency) }} {{", ".strtoupper($receipt->payment_number) }} {{", ".strtoupper($receipt->payment_card_number) }} @endif @endif |
||||||||||||||
|
{{__('For')}}, {{ strtoupper(($businessEntityMasterData[0]->name)) }} |
||||||||||||||
|
{{__('Authorized Signatory')}} |
||||||||||||||
| {{__('Print By')}} : {{ strtoupper($userId)." # ".$currentTime->format('d/m/Y H:i:s ')}} | {!! $businessEntityMasterData[0]->remarks !!} {{__('Created By')}} : @if($receipt->lastmodified_by) {{strtoupper($receipt->lastmodified_by.' # '.\Helper::getDisplayDateTime($receipt->lastmodified_date))}} @else {{strtoupper($receipt->created_by.' # '.\Helper::getDisplayDateTime($receipt->created_date))}} @endif | |||||||||||||