@extends('layouts.layout') @push('header') @if (old('account_name') || isset($invoice->invoiceItems)) @endif @endpush @section('content')

@lang('Edit Invoice')

@csrf @method('PUT')
@error('user_id')
{{ $message }}
@enderror
@error('insurance_id')
{{ $message }}
@enderror
@error('invoice_date')
{{ $message }}
@enderror
@if (old('account_name')) @foreach (old('account_name') as $key => $value) @endforeach @else @foreach ($invoice->invoiceItems as $invoiceItem) @endforeach @endif
@lang('Account Name') @lang('Description') @lang('Quantity') @lang('Price') @lang('Sub Total') @lang('Add / Remove')
@lang('Total')
@lang('Discount')
%
@lang('Vat')
%
@lang('Grand Total')
@lang('Paid')
@lang('Due')
@endsection @push('footer') @endpush