@extends('business.partials.layout') @section('css') @endsection @section('content')

Edit Purchase Invoice

@csrf @method('PUT')

Invoice Info

@if($errors->has('date'))

{{ $errors->first('date') }}

@endif
@if($errors->has('due_date'))

{{ $errors->first('due_date') }}

@endif
@if($errors->has('ref'))

{{ $errors->first('ref') }}

@endif
@if($errors->has('tracking_id'))

{{ $errors->first('tracking_id') }}

@endif
@if($errors->has('is_paid'))

{{ $errors->first('is_paid') }}

@endif
@if($errors->has('vendor_id'))

{{ $errors->first('vendor_id') }}

@endif
@if($errors->has('description'))

{{ $errors->first('description') }}

@endif

Invoice Items


@foreach ($model->items as $k => $item)
@endforeach

Invoice Summary


@foreach (json_decode($model->adjustments) ?? [] as $key => $adjustment)
@endforeach

Additional Details

@endsection @section('js') @endsection