@if (!empty($formulas))
@foreach ($formulas as $key => $formula)
{{ $key }} ml
@foreach ($formula as $item)
{{ $item['quality'] }}
({{ $item['volume'] }} ml)
@canany(['update formula', 'delete formula'])
@can('update formula')
@endcan
@can('delete formula')
@endcan
@endcanany
@endforeach
@endforeach
@else
@include('components.animations.lottie.boxing-cat')
@endif
@include('components.modals.confirmation', [
'modalName' => 'delete-confirmation',
'modalTitle' => 'Apakah Anda yakin?',
'modalMessage' => 'Data yang berelasi dengan data ini juga akan ikut terhapus.',
'buttonVariant' => 'primary',
'buttonColor' => 'danger',
'buttonText' => 'Ya, Hapus',
])