{{ app()->getLocale() == 'en' ? 'Manage billing for ' : 'Kelola tagihan untuk ' }}{{ optional($invoice->client)->nama_client ?? 'Klien Tidak Ditemukan' }}.
{{ \App\Models\Setting::get('company_name', 'J&J GROUP PLUMBING SERVICES') }}
{{ \App\Models\Setting::get('company_address', 'Jl. Dewa RT.002/002 No.70, Ciracas, Jakarta Timur') }}
@php
$phonesStr = \App\Models\Setting::get('company_phone', '0812-40000-759 / 0812-40000-749 / 0812-83-300-900');
$phones = array_map('trim', explode('/', $phonesStr));
$primary = '0812-40000-759';
$reordered = [];
if (in_array($primary, $phones)) {
$reordered[] = $primary;
foreach ($phones as $phone) {
if ($phone !== $primary) {
$reordered[] = $phone;
}
}
} else {
$reordered = $phones;
}
@endphp
T:
@foreach($reordered as $phone)
{{ $phone }}@if(!$loop->last) / @endif
@endforeach
E: {{ \App\Models\Setting::get('company_email', 'Jayarooter@gmail.com / Jawarooter@gmail.com') }}
W: {{ \App\Models\Setting::get('company_website', 'Jayarooter.com / Jawarooter.com') }}
{{ $invoice->invoice_number }}
{{ app()->getLocale() == 'en' ? 'Issued' : 'Dibuat' }}: {{ $invoice->tanggal_invoice ? $invoice->tanggal_invoice->format(\App\Models\Setting::get('date_format', 'd M Y')) : '-' }}
@if($invoice->due_date){{ $invoice->status === 'paid' ? (app()->getLocale() == 'en' ? 'Client' : 'Klien') : (app()->getLocale() == 'en' ? 'Customer Account' : 'Tagihan Ke') }}
{{ optional($invoice->client)->nama_client ?? 'Klien Tidak Ditemukan' }}
@if(optional($invoice->client)->nama_perusahaan){{ $invoice->client->nama_perusahaan }}
@endif @if(optional($invoice->client)->alamat || optional($invoice->client)->kota || optional($invoice->client)->provinsi || optional($invoice->client)->no_hp)
@if($invoice->client->alamat)
{{ $invoice->client->alamat }}
@endif
@if($invoice->client->kota || $invoice->client->provinsi)
{{ implode(', ', array_filter([$invoice->client->kota, $invoice->client->provinsi])) }}
@endif
@if($invoice->client->no_hp)
{{ __('ui.contact') ?? 'Kontak' }}: {{ $invoice->client->no_hp }}
@endif
{{ app()->getLocale() == 'en' ? 'Total Payable' : 'Total Tagihan' }}
{{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->total, 0, ',', '.') }}
| {{ app()->getLocale() == 'en' ? 'Line Item Description' : 'Deskripsi Item Tagihan' }} | {{ app()->getLocale() == 'en' ? 'Qty' : 'Jumlah' }} | {{ app()->getLocale() == 'en' ? 'Rate' : 'Harga Satuan' }} | {{ app()->getLocale() == 'en' ? 'Amount' : 'Total' }} |
|---|---|---|---|
|
{{ $item->deskripsi }} |
{{ number_format($item->qty, 0) }} | {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($item->harga, 0, ',', '.') }} | {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($item->qty * $item->harga, 0, ',', '.') }} |
{{ app()->getLocale() == 'en' ? 'Description' : 'Deskripsi' }}
{{ $item->deskripsi }}
{{ app()->getLocale() == 'en' ? 'Quantity & Rate' : 'Jumlah & Harga Satuan' }}
{{ number_format($item->qty, 0) }} Unit × {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($item->harga, 0, ',', '.') }}
{{ app()->getLocale() == 'en' ? 'Item Subtotal' : 'Subtotal Item' }}
{{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($item->qty * $item->harga, 0, ',', '.') }}
{{ app()->getLocale() == 'en' ? 'Terms & Conditions' : 'Syarat & Ketentuan' }}
{{ $invoice->terms_condition }}
{{ app()->getLocale() == 'en' ? 'Field Technicians' : 'Teknisi Lapangan' }}
{{ $invoice->technician_names }}
{{ app()->getLocale() == 'en' ? 'Cause of Problem' : 'Penyebab Mampet' }}
{{ $invoice->cause_of_problem }}
{{ app()->getLocale() == 'en' ? 'Payment History' : 'Riwayat Pembayaran' }}
{{ app()->getLocale() == 'en' ? 'Payment Instructions' : 'Instruksi Pembayaran' }}
{{ $invoice->terms_condition }}
{{ app()->getLocale() == 'en' ? 'Digitally Issued By' : 'Diterbitkan Secara Digital Oleh' }}
{{ optional($invoice->creator)->name ?? 'System' }} ({{ $invoice->tanggal_invoice ? $invoice->tanggal_invoice->format(\App\Models\Setting::get('date_format', 'd M Y')) : '-' }})
{{ app()->getLocale() == 'en' ? 'Enter the amount received for this invoice.' : 'Masukkan jumlah yang diterima untuk invoice ini.' }}
{{ app()->getLocale() == 'en' ? 'Draft professional billing email reminders instantly.' : 'Buat draf pengingat email tagihan profesional secara instan.' }}