@extends("backend.layouts2.master") @section("title") Invoice - Sistem Klinik @endsection @push('css') @endpush @section ('content')

Invoice

Praktek Mandiri Fisioterapi Prima
No. SIPF 449.4/18103-SIPF/XII.21/DISKES
{{ App\Helpers\SettingHelper::setting('alamat') }}
Handphone {{ App\Helpers\SettingHelper::setting('no_hp') }}
Email {{ App\Helpers\SettingHelper::setting('email') }}


KWITANSI


No : XXIII/{{$billing->id}}

@php function penyebut($nilai) { $nilai = abs($nilai); $huruf = array("", "Satu", "Dua", "Tiga", "Empat", "Lima", "Enam", "Tujuh", "Delapan", "Sembilan", "Sepuluh", "Sebelas"); $temp = ""; if ($nilai < 12) { $temp = " ". $huruf[$nilai]; } else if ($nilai <20) { $temp = penyebut($nilai - 10). " Belas"; } else if ($nilai < 100) { $temp = penyebut($nilai/10)." Puluh". penyebut($nilai % 10); } else if ($nilai < 200) { $temp = " Seratus" . penyebut($nilai - 100); } else if ($nilai < 1000) { $temp = penyebut($nilai/100) . " Ratus" . penyebut($nilai % 100); } else if ($nilai < 2000) { $temp = " Seribu" . penyebut($nilai - 1000); } else if ($nilai < 1000000) { $temp = penyebut($nilai/1000) . " Ribu" . penyebut($nilai % 1000); } else if ($nilai < 1000000000) { $temp = penyebut($nilai/1000000) . " Juta" . penyebut($nilai % 1000000); } return $temp; } function terbilang($nilai) { if($nilai<0) { $hasil = "Minus ". trim(penyebut($nilai)); } else { $hasil = trim(penyebut($nilai)); } return $hasil; } @endphp
Sudah terima dari : @if ($billing->pasien->jenis_kelamin == "Laki-laki") Tn. @else Ny. @endif {{ $billing->pasien->nama }}
Terbilang : @php echo terbilang($billing->total_biaya); @endphp Rupiah.
Rp. {{number_format($billing->total_biaya, 2)}}
Untuk Pembayaran : @if ($billing->biaya_pendaftaran) - Biaya Pendaftaran
- @endif Layanan {{ $billing->register->program->nama }}

Banjarmasin, {{ \Carbon\Carbon::parse($billing->tgl_pembayaran)->format("d/m/Y") }}




({{$billing->register->doctor->nama}})






@endsection @push('js') @endpush