Invoice Settings
  • {{--
  • --}}
@method('PUT') @csrf {{-- invoice_number --}} {{-- claim_number --}} {{-- start Period --}} {{-- end Period --}} {{-- finance_handover_date --}} {{-- deduction type --}} {{-- is currency hidden --}} {{-- rounding_amount --}} @if(false && $isMultiCurrencyAdjustable) {{-- conversion rate --}} @endif
Invoice Date {!! Form::date('invoice_date', $invoice->invoice_date, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!}
Received Date {!! Form::date('received_date', $invoice->received_date, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!}
Submission Date {!! Form::date('submission_date', $invoice->submission_date, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!}
Due Date @if($invoice->due_date < $invoice->phases->where('is_allowable_cost', null)->max('due_date')?->startOfDay()) @elseif($invoice->due_date < now() && !in_array($invoice->status, ['Paid', 'Over Paid'])) @endif {!! Form::date('due_date', $invoice->due_date, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!} {{hijriDate($invoice->due_date)}}
Invoice Number {!! Form::text('invoice_number', $invoice->invoice_number, ['class' => 'form-control', 'placeholder' => 'Invoice Number']) !!}
Claim Number {!! Form::text('claim_number', $invoice->claim_number, ['class' => 'form-control', 'placeholder' => 'Claim Number']) !!}
Start Period @if($invoice->start_period < $invoice->phases->where('is_allowable_cost', null)->min('start_date')?->startOfDay()) @endif {!! Form::date('start_period', $invoice->start_period, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!} {{hijriDate($invoice->start_period)}}
End Period @if(!$invoice->end_period || $invoice->end_period > $invoice->phases->where('is_allowable_cost', null)->max('due_date')?->startOfDay()) @endif {!! Form::date('end_period', $invoice->end_period, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!} {{hijriDate($invoice->end_period)}}
Finance Handover Date {!! Form::date('finance_handover_date', $invoice->finance_handover_date, ['class' => 'form-control flatpickr', 'placeholder' => 'YYYY-MM-DD']) !!} {{hijriDate($invoice->finance_handover_date)}}
Deduction Type {!! Form::select('is_deduction_excluding_vat', ['1' => 'Excluding VAT', '0' => 'Including VAT'], $invoice->is_deduction_excluding_vat, ['class' => 'form-select', 'data-kt-select2' => 'true', 'disabled' => !$is_editable]) !!}
{{ Form::label('is_currency_hidden', __('Hide Currency Symbol'), ['class' => 'col-form-label']) }}
{{ Form::label('rounding_amount', __('Round Total'), ['class' => 'col-form-label']) }}
Conversion Rate {{-- {!! Form::text('conversion_rate', $invoice->conversion_rate, ['class' => 'form-control', 'placeholder' => 'Conversion Rate']) !!} --}} {!! getIcon('pencil','fs-3') !!} {{$invoice->conversion_rate}}
@if($invoice->phases->where('is_allowable_cost', null)->count() > 0) @endif