{{-- @include('scrumboard::livewire.show.task-card-right-description', ['task' => $task]) --}}
{{-- Invoice Period --}}
{{-- Start Period --}}
@if($is_editable) @else
{{ $start_period }}
@endif
{{-- End Period --}}
@if($is_editable) @else
{{ $end_period }}
@endif
@if($is_editable)
@endif

Submission Date: {{ optional($task->projectable->submission_date)->format('Y-m-d') }}

@if($task->projectable_type === \App\Models\Invoice::class)
@error('submission_date') {{ $message }} @enderror
@error('claim_number_input') {{ $message }} @enderror
{{-- Invoice Period --}}
Setting
{{-- Invoice Date --}}
@if($is_editable) @else
{{ $invoice_date }}
@endif
{{-- Received Date --}}
@if($is_editable) @else
{{ $received_date }}
@endif
{{-- Due Date --}}
@if($is_editable) @else
{{ $due_date }}
@endif
{{-- Invoice Number --}}
@if($is_editable) @else
{{ $invoice_number }}
@endif
{{-- Finance Handover Date --}}
@if($is_editable) @else
{{ $finance_handover_date }}
@endif
{{-- Deduction Type --}}
@if($is_editable) @else
{{ $is_deduction_excluding_vat ? 'Excluding VAT' : 'Including VAT' }}
@endif
{{-- Hide Currency Symbol --}}
@if($is_editable)
@else
{{ $is_currency_hidden ? 'Yes' : 'No' }}
@endif
{{-- Round Total --}}
@if($is_editable)
@else
{{ $rounding_amount ? 'Yes' : 'No' }}
@endif
{{-- Save Button --}} @if($is_editable)
@endif
@error('reference_no_input') {{ $message }} @enderror
@if($invoice->reference_nos->count())
    @foreach($invoice->reference_nos as $ref)
  • {{ $ref->reference_no }}
  • @endforeach
@endif
@endif