{{-- button back --}}
{{-- check status active header --}}
@if (isset($bom) && $bom->isactive == 1)
{{-- CEK STATUS EXPORT: Tombol Edit & Cancel hanya muncul jika data BELUM diexport (is_exported != 1) --}}
@if (!isset($bom->is_exported) || $bom->is_exported != 1)
{{-- button edit & save tampil jika memiliki akses edit --}}
@if (isset($authorize) && $authorize->edit == '1')
@endif
{{-- button cancel tampil jika memiliki akses delete --}}
@if(isset($authorize) && $authorize->delete == '1')
@endif
@else
{{-- TAMPILAN TERKUNCI: Muncul jika data SUDAH diexport (is_exported == 1) --}}
@endif
@endif