@include('helpers.ChiffresEnLettres')
@php $company = auth()->user()->company; @endphp
|
|||||
FACTURE Nº {{ $data->no() }}Patient : {{ $data->patient->name }}, {{ $data->patient->tel }} |
|||||
| Désignation | Quantité | Prix Unitaire | Prix Total | ||
| Consultation | 1 | {{ number_format($data->consultation->amount, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!} | {{ number_format($data->consultation->amount, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!} | ||
| Total | {{ number_format($data->amount, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!} | ||||
| Total à payer |
{{ number_format($totalDue, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}
({{ convertCurrencyToWords($totalDue) }} {{ $company->currency }}) |
||||
| @if($remaining > 0) Facture partiellement payée{{ $paymentDate }} @else Facture payée{{ $paymentDate }} @endif | |||||
| Montant payé | {{ number_format($paidSum, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!} | ||||
| Reste à payer | {{ number_format($remaining, 0, '', ' ') }} {!! htmlentities($company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!} | ||||
| Signature du Patient |
Signature
@if($company->signature) Dr. {{ $company->doctor }} |
| {!! $company->header !!} | {!! $company->footer !!} |