@php use App\Models\ParameterDetail; @endphp INVOICE #{{ $invoice->number }} @if(isset(Auth::user()->entity->logo)) @else @endif

{{ Auth::user()->entity->name }}

{{ Auth::user()->entity->address . ' / ' . Common::phoneFormat(Auth::user()->entity->phone) }}
{!! $invoice->qr_code !!}

{{ Auth::user()->entity->name }}

{{ Auth::user()->entity->address . ' / ' . Common::phoneFormat(Auth::user()->entity->phone) }}
{!! $invoice->qr_code !!}
 
INVOICE
 
Kepada YTH,
{{ $invoice->customer->name }}

{{ $invoice->customer->address }}
No. Order {{ $invoice->number }}
Tanggal {{ Common::dateFormat($invoice->setdate, 'dd mmmm yyyy') }}
@if (Auth::user()->entity->is_barang) @else @endif @php $no = 1; $class = ''; $items = json_decode($invoice->items); @endphp @foreach ($items as $i) @php $work = \App\Models\Item::select('name') ->where('id', $i->id) ->first(); @endphp @php $class = empty($class) ? 'gray' : ''; $no++; @endphp @endforeach
NoItemJasaQty Harga Total
{{ $no }} {{ $work->name }} {{ number_format($i->qty, 0, '', '.') }} {{ 'Rp. ' . number_format($i->price, 0, '', '.') }} {{ 'Rp. ' . number_format($i->total, 0, '', '.') }}
@isset($invoice->description)

Keterangan:
{{ $invoice->description }}

@endisset
Sub Total Rp. {{ number_format($invoice->subtotal, 0, '', '.') }}
PPN Rp. {{ number_format($invoice->ppn, 0, '', '.') }}
PPH Rp. {{ number_format($invoice->pph, 0, '', '.') }}
Biaya Pengiriman Rp. {{ number_format($invoice->shipping_cost, 0, '', '.') }}
Total Rp. {{ number_format($invoice->total, 0, '', '.') }}
@if (!empty($employees)) Dikerjakan oleh :
    @foreach ($employees as $e)
  1. {{ $e }}
  2. @endforeach
@endif
Dibuat Oleh,




{{ $invoice->creator->name }}