{{ app()->getLocale() == 'en' ? 'Invoice Details' : 'Rincian Invoice' }}

{{ app()->getLocale() == 'en' ? 'Manage billing for ' : 'Kelola tagihan untuk ' }}{{ optional($invoice->client)->nama_client ?? 'Klien Tidak Ditemukan' }}.

J
J&J GROUP.

{{ \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') }}

{{ app()->getLocale() == 'en' ? 'Tax Invoice' : 'Faktur Pajak' }}

{{ $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)
{{ app()->getLocale() == 'en' ? 'Due' : 'Tempo' }}: {{ $invoice->due_date->format(\App\Models\Setting::get('date_format', 'd M Y')) }}
@endif

{{ $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

@endif

{{ app()->getLocale() == 'en' ? 'Total Payable' : 'Total Tagihan' }}

{{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->total, 0, ',', '.') }}

@foreach($invoice->items as $item) @endforeach
@foreach($invoice->items as $item)

{{ 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, ',', '.') }}

@endforeach

{{ app()->getLocale() == 'en' ? 'Terms & Conditions' : 'Syarat & Ketentuan' }}

{{ $invoice->terms_condition }}

@if($invoice->technician_names)

{{ app()->getLocale() == 'en' ? 'Field Technicians' : 'Teknisi Lapangan' }}

{{ $invoice->technician_names }}

@endif @if($invoice->cause_of_problem)

{{ app()->getLocale() == 'en' ? 'Cause of Problem' : 'Penyebab Mampet' }}

{{ $invoice->cause_of_problem }}

@endif @if($invoice->payments->count() > 0)

{{ app()->getLocale() == 'en' ? 'Payment History' : 'Riwayat Pembayaran' }}

@foreach($invoice->payments as $payment)
{{ $payment->payment_date ? $payment->payment_date->format(\App\Models\Setting::get('date_format', 'd M Y')) : '-' }} {{ $payment->payment_method }}
{{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($payment->amount, 0, ',', '.') }}
@csrf @method('DELETE')
@endforeach
@endif
Subtotal {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->subtotal, 0, ',', '.') }}
@if($invoice->discount > 0)
{{ app()->getLocale() == 'en' ? 'Discount' : 'Diskon' }} ({{ $invoice->discount_percent }}%) - {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->discount, 0, ',', '.') }}
{{ app()->getLocale() == 'en' ? 'Tax Base (DPP)' : 'Dasar Pengenaan Pajak (DPP)' }} {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->subtotal - $invoice->discount, 0, ',', '.') }}
@endif @if($invoice->ppn > 0)
PPN ({{ $invoice->tax_percent }}%) + {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->ppn, 0, ',', '.') }}
@endif @if($invoice->pph > 0)
PPh ({{ $invoice->pph_percent }}%) + {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->pph, 0, ',', '.') }}
@endif @if($invoice->status === 'dp')
{{ app()->getLocale() == 'en' ? 'Remaining' : 'Sisa Tagihan' }} {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->amount_due, 0, ',', '.') }}
@endif
{{ app()->getLocale() == 'en' ? 'Total Due' : 'Total Tagihan' }} {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->total, 0, ',', '.') }}
@if($invoice->status !== 'paid') @endif

{{ 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' ? 'Record Payment' : 'Catat Pembayaran' }}

{{ app()->getLocale() == 'en' ? 'Enter the amount received for this invoice.' : 'Masukkan jumlah yang diterima untuk invoice ini.' }}

@csrf

{{ app()->getLocale() == 'en' ? 'Remaining balance' : 'Sisa saldo' }}:

AI Billing Copywriter

{{ app()->getLocale() == 'en' ? 'Draft professional billing email reminders instantly.' : 'Buat draf pengingat email tagihan profesional secara instan.' }}