@extends('layouts.app') @section('title', 'Create Invoice') @push('styles') @endpush @section('content') {{-- Config element — passes Blade-rendered values to invoice-create.js without embedding them inside the JS file itself. --}}
{{-- ── HEADER ── --}}

Generate License Invoice

Ministry of Fisheries & Ocean Resources — Local Fish Licensing System

{{-- ── VALIDATION ERRORS ── --}} @if($errors->any())
Please correct the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- ── APPLICANT LOOKUP ── --}}
{{-- ── APPLICANT INFO CARD ── --}}
@csrf {{-- Hidden inputs for disabled checkboxes — populated by JS after lookup --}}
{{-- ══ SECTION 1: LICENSE DETAILS ══ --}}
1  ·  License Details Read Only
{{-- ══ SECTION 2: HARVESTING METHODS ══ --}}
2  ·  Harvesting Methods Read Only
@foreach($harvestingMethods as $hm) @if(!in_array(strtolower(trim($hm->name)), ['others','other'])) @endif @endforeach @foreach($harvestingMethods as $hm) @if(in_array(strtolower(trim($hm->name)), ['others','other'])) @endif @endforeach

Specify the harvesting method(s) — fee = "Others" base price × number of entries:

{{-- ══ SECTION 3: FISH FAMILIES ══ --}}
3  ·  Target Fish Families Read Only
@foreach($fishFamilies as $ff) @if(!in_array(strtolower(trim($ff->name)), ['others','other'])) @endif @endforeach @foreach($fishFamilies as $ff) @if(in_array(strtolower(trim($ff->name)), ['others','other'])) @endif @endforeach

Specify the fish family/families — fee = "Others" base price × number of entries:

{{-- ══ FEE SUMMARY ══ --}} {{-- ══ FORM FOOTER ══ --}}
{{-- /.form-fields-wrapper --}}
{{-- /.invoice-card --}}
{{-- /.invoice-wrap --}}
{{-- /.invoice-page --}} @push('scripts') @endpush @endsection