@if(getCurrentCurrency() == 'inr') @endif
{{ __('messages.invoice.invoice') }}
{{ __('messages.invoice.invoice_id') }}
#{{ $invoice->invoice_id }}
|
{{ $setting['app_name'] }}
{{ $setting['hospital_address'] }}
|
|||||||||||||||||||
|
{{ __('messages.invoice.sub_total') }}: | {{ checkValidCurrency($invoice->currency_symbol ?? getCurrentCurrency()) ? moneyFormat($invoice->amount, strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) : number_format($invoice->amount) . '' . ($invoice->currency_symbol ? getSymbols($invoice->currency_symbol) : getCurrencySymbol()) }} {{-- {{$currencySymbol}} {{ number_format($invoice->amount, 2) }}--}} |
{{ __('messages.invoice.discount') }}: | {{ checkValidCurrency($invoice->currency_symbol ?? getCurrentCurrency()) ? moneyFormat($invoice->amount * $invoice->discount / 100, strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) : number_format($invoice->amount * $invoice->discount / 100, 2) . '' . ($invoice->currency_symbol ? getSymbols($invoice->currency_symbol) : getCurrencySymbol()) }} ({{$invoice->discount}}%) {{-- {{$currencySymbol}} {{ number_format(($invoice->amount * $invoice->discount / 100),2) }}--}} {{-- ({{ $invoice->discount }}--}} |
{{ __('messages.invoice.total') }}: | {{-- {{$currencySymbol}} {{ number_format($invoice->amount - ($invoice->amount * $invoice->discount / 100), 2) }}--}} {{ checkValidCurrency($invoice->currency_symbol ?? getCurrentCurrency()) ? moneyFormat($invoice->amount - ($invoice->amount * $invoice->discount / 100), strtoupper($invoice->currency_symbol ?? getCurrentCurrency())) : number_format($invoice->amount - ($invoice->amount * $invoice->discount / 100), 2) . '' . ($invoice->currency_symbol ? getSymbols($invoice->currency_symbol) : getCurrencySymbol()) }} |