@csrf
@php $defPpn = (float) (\App\Models\Setting::get('finance_default_ppn_rate', '11.00')); $defPph = (float) (\App\Models\Setting::get('finance_default_pph23_rate', '2.00')); $defIncl = (bool) (\App\Models\Setting::get('finance_default_tax_inclusive', '0')); @endphp
@php $oldItems = old('items', isset($invoice) ? $invoice->items->toArray() : []); if (!is_array($oldItems)) { $oldItems = []; } @endphp @forelse($oldItems as $i => $it) @empty @endforelse
Description Qty Unit Price Line Total
@if(!empty($it['id'])) @endif 0.00
0.00
Subtotal (DPP) 0.00
apply_ppn ?? true) ? 'checked' : '' }}>
%
tax_inclusive ?? $defIncl) ? 'checked' : '' }}>
apply_pph23 ?? false) ? 'checked' : '' }}>
%
Cancel
@section('js') @append