@extends('layouts.app') @section('title',($note->exists?'Edit':'New').' Adjustment Note') @section('page_title',($note->exists?'Edit':'New').' Credit / Debit Note') @section('content') @php $__noteItems = old('items', $note->items->map(fn($i) => [ 'description' => $i->description, 'quantity' => $i->quantity, 'unit_rate' => $i->unit_rate, 'vat_rate' => $i->vat_rate, 'account_id' => $i->account_id, 'tax_code_id' => $i->tax_code_id, ])->values()->all()); @endphp
The posted note preserves its original document reference and VAT effect.