@extends('layouts.admin') @section('styles') @endsection @section('content') {{--
id) }}" enctype="multipart/form-data"> @method('PUT') @csrf
{{ trans('global.edit') }} {{ trans('cruds.invoice.title_singular') }} ({{ $invoice->invoice_no }})
@if($errors->has('agent_id'))
{{ $errors->first('agent_id') }}
@endif {{ trans('cruds.invoice.fields.agent_helper') }}
@if($errors->has('tax'))
{{ $errors->first('tax') }}
@endif {{ trans('cruds.invoice.fields.tax_helper') }}
@if($errors->has('discount'))
{{ $errors->first('discount') }}
@endif {{ trans('cruds.invoice.fields.discount_helper') }}
@if($errors->has('issue_date'))
{{ $errors->first('issue_date') }}
@endif {{ trans('cruds.invoice.fields.issue_date_helper') }}
@if($errors->has('due_date'))
{{ $errors->first('due_date') }}
@endif {{ trans('cruds.invoice.fields.due_date_helper') }}
@if($errors->has('subject'))
{{ $errors->first('subject') }}
@endif {{ trans('cruds.invoice.fields.subject_helper') }}
{{ trans('global.create') }} {{ trans('cruds.invoice.title_singular') }} Items
@foreach ($invoiceItems as $key => $invoiceItem) @endforeach
# Taxable Item Type Description Quantity U.Price (RM) Amount (RM)
taxable == 1 ? 'Checked' : '' }}>
Reorder rows Subtotal RM{{ $invoice->subtotal_amount }}
Amount Due RM{{ $invoice->due_amount }}
@foreach ($invoiceItems as $key => $invoiceItem) @endforeach
Back
--}} @endsection @section('scripts') @endsection