{{ $invoice->status === 'paid' ? __('invoice.paid') : __('invoice.unpaid') }}
J&J GROUP PLUMBING SERVICES
SOLUSI PINTAR, SALURAN LANCAR, TANPA BONGKAR*
{{ \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)); @endphp Kontak: @foreach($phones as $phone) {{ $phone }}@if(!$loop->last) / @endif @endforeach
Email: {{ strtolower(\App\Models\Setting::get('company_email', 'jayarooter@gmail.com / jawarooter@gmail.com')) }}
Website: {{ strtolower(\App\Models\Setting::get('company_website', 'jayarooter.com / jawarooter.com')) }}
@if(isset($logoBase64) && $logoBase64) @else
J&J GROUP.
@endif
{{ __('invoice.title') }}
#{{ $invoice->invoice_number }}
{{ optional($invoice->client)->nama_client ?? 'Klien Tidak Ditemukan' }}
@if(optional($invoice->client)->nama_perusahaan) {{ $invoice->client->nama_perusahaan }}
@endif @if(optional($invoice->client)->alamat) {{ $invoice->client->alamat }}
@endif @if(optional($invoice->client)->kota || optional($invoice->client)->provinsi) {{ implode(', ', array_filter([$invoice->client->kota, $invoice->client->provinsi])) }}
@endif @if(optional($invoice->client)->no_hp) {{ __('ui.contact') ?? 'Kontak' }}: {{ $invoice->client->no_hp }} @endif
{{ $invoice->status === 'paid' ? __('invoice.paid') : __('invoice.unpaid') }}
{{ __('invoice.date') }}: {{ $invoice->tanggal_invoice ? $invoice->tanggal_invoice->format(\App\Models\Setting::get('date_format', 'd M Y')) : '-' }} @if($invoice->due_date)
{{ __('invoice.due_date') }}: {{ $invoice->due_date->format(\App\Models\Setting::get('date_format', 'd M Y')) }} @endif
@if($invoice->warranty)
{{ $invoice->warranty }}
@endif
@foreach($invoice->items as $item) @endforeach
DESKRIPSI QTY HARGA TOTAL
{{ $item->deskripsi }}
{{ app()->getLocale() == 'en' ? 'Technical implementation fulfillment' : 'Pemenuhan implementasi teknis' }}
{{ 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->total, 0, ',', '.') }}
{{ __('invoice.bank_account') }}
{!! nl2br(e($invoice->bank_account_info ?: "Bank: Bank Central Asia (BCA)\nAcc No: 6281873404\nName: Wibowo Pratikno")) !!}
@if($invoice->discount > 0) @endif @if($invoice->ppn > 0) @endif @if($invoice->pph > 0) @endif
SUBTOTAL {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->subtotal, 0, ',', '.') }}
Discount - {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->discount, 0, ',', '.') }}
PPN + {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->ppn, 0, ',', '.') }}
PPh + {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->pph, 0, ',', '.') }}
TOTAL {{ \App\Models\Setting::get('currency_symbol', 'Rp') }} {{ number_format($invoice->total, 0, ',', '.') }}
@if(isset($ttdBase64) && $ttdBase64) @else
(Tanda Tangan)
@endif
J&J GROUP PLUMBING SERVICES
SOLUSI PINTAR, SALURAN LANCAR, TANPA BONGKAR*
{{ \App\Models\Setting::get('company_address', 'Jl. Dewa RT.002/002 No.70, Ciracas, Jakarta Timur') }}
@if(isset($logoBase64) && $logoBase64) @endif
DOKUMENTASI
#{{ $invoice->invoice_number }}
Total foto terdeteksi: {{ count($attachments) }}
@if(count($attachments) > 0) @php $count = count($attachments); @endphp @if($count === 1)
@if($attachments[0]->base64_data) @else
{{ app()->getLocale() == 'en' ? 'Image Missing' : 'Gambar Tidak Ditemukan' }}
@endif
@if($attachments[0]->caption)
{{ $attachments[0]->caption }}
@endif
@elseif($count === 2) @foreach($attachments as $attachment) @endforeach
@if($attachment->base64_data) @else
{{ app()->getLocale() == 'en' ? 'Image Missing' : 'Gambar Tidak Ditemukan' }}
@endif
@if($attachment->caption)
{{ $attachment->caption }}
@endif
@else @foreach($attachments->chunk(2) as $row) @foreach($row as $attachment) @endforeach @if($row->count() < 2) @endif @endforeach
@if($attachment->base64_data) @else
{{ app()->getLocale() == 'en' ? 'Image Missing' : 'Gambar Tidak Ditemukan' }}
@endif
@if($attachment->caption)
{{ $attachment->caption }}
@endif
@endif @else
{{ app()->getLocale() == 'en' ? 'No work documentation photos uploaded' : 'Tidak ada foto dokumentasi pekerjaan yang diunggah' }}
@endif @if($invoice->technician_names)
{{ $invoice->technician_names }}
@endif @if($invoice->cause_of_problem)
{{ $invoice->cause_of_problem }}
@endif
Pekerjaan ini telah diverifikasi langsung di lokasi oleh teknisi kami menggunakan peralatan presisi tinggi, sesuai dengan standar kualitas J&J GROUP.
@if($invoice->notes)
Catatan Tambahan: {{ $invoice->notes }}
@endif @if(!empty($invoice->warranty))
Masa Garansi: {{ $invoice->warranty }}
@endif