Sales Order Invoice - {{ $so[0]->so_invoice->so->so_code }}

@if(empty($so[0]['so_invoice']['so']['id_campaign']))

Campaign Baru

@endif

Invoice List

@php $total = 0; @endphp @foreach($so as $item) @php if($item->sku_merchant_so->type==1) $total += $item->qty_total * $item->sku_merchant_so->price; @endphp @endforeach
Product Name Qty SubTotal
{!! $item->sku_merchant_so->product_name.' : '.(empty($voucher_list[$item->id_sku_merchant_so]) ? '-' : '
'.$voucher_list[$item->id_sku_merchant_so]) !!}
{{ $item->qty_total }} @if($item->sku_merchant_so->type==1) {{ number_format($item->sku_merchant_so->price) }} @else {{ '0' }} @endif
{{ number_format($so->sum('qty_total')) }} {{ number_format($total) }}
Diskon {{ number_format($so[0]->so_invoice->so->discount) }}
Grand Total (voucher nominal) {{ number_format($total - $so[0]->so_invoice->so->discount) }}