@if ($item->discount != null && $item->discount > 0 && $item->dateDiscountEnd && strtotime(date('Y-m-d')) <= strtotime($item->dateDiscountEnd))
{{-- Tampilan saat ada diskon yang masih berlaku --}}
Rp.
{{ number_format($item->price) }}
Diskon {{ $item->discount }}%
Rp.
{{ number_format($item->price_other) }}
/Kg
@else
{{-- Tampilan saat tidak ada diskon atau diskon sudah berakhir --}}
Rp.
{{ number_format($item->price) }}
/Kg
@endif
Pilih Paket
@foreach ($item->descriptionList as $items)
{{ $items }}
@endforeach