@props([ 'companyData' => [], 'action' => null, 'method' => 'POST', 'showCancel' => true, 'cancelUrl' => null, 'submitText' => 'Simpan & Lanjutkan', 'readonly' => false ])

Form Data Perusahaan

@csrf @if(!in_array($method, ['GET', 'POST'])) @method($method) @endif
@error('period')

{{ $message }}

@enderror
@error('currency')

{{ $message }}

@enderror
@error('company_name')

{{ $message }}

@enderror
@php $fields = ['Makanan', 'Fashion', 'Kerajinan', 'Jasa', 'Pariwisata', 'Lainnya']; $selectedField = $companyData['business_field'] ?? ''; @endphp @foreach($fields as $field) @endforeach
@error('business_field')

{{ $message }}

@enderror
@error('other_field')

{{ $message }}

@enderror

Informasi Tambahan (Opsional)

@if(!$readonly)
@if($showCancel) Batal @endif
@endif
@push('scripts') @endpush