@php $isEdit = isset($license) && $license !== null; $current = fn (string $field, mixed $default = null) => old($field, $isEdit ? ($license->{$field} ?? $default) : $default); $dateValue = function (string $field) use ($current) { $value = $current($field); return $value instanceof \Carbon\CarbonInterface ? $value->format('Y-m-d') : ($value ?? ''); }; $selectedType = old('license_type', $isEdit ? $license->license_type : \App\Models\License::TYPE_SUBSCRIPTION); @endphp
@csrf @if ($method !== 'POST') @method($method) @endif @if ($isEdit) @endif

Produk & jenis lisensi

Rahasia & tenant

Kunci lisensi {{ $selectedType === \App\Models\License::TYPE_PERPETUAL ? '(disarankan)' : '(opsional)' }} Disimpan terenkripsi AES-256-GCM dan tidak pernah tampil di daftar, log, atau ekspor. @if ($isEdit && $license->hasLicenseKey()) @endif @error('license_key')

{{ $message }}

@enderror

Masa berlaku

Langganan wajib memiliki tanggal berakhir. Tanggal placeholder dari tabel lama harus diverifikasi ke portal vendor sebelum ditandai terverifikasi.

Biaya & pembelian

Catatan

@error('notes')

{{ $message }}

@enderror
Batal