@extends('Reports.template') @section('title') Pharmacy Receipt @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}}
|
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@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 |
||||||||||||||
{{number_format(abs($receipt->receipt_amount),2)}}/- |
||||||||||||||
@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 |