@if ($type == 'item') {{ $item->name }} - Item Details @elseif($type == 'package') Package Details @endif
@if ($type == 'item')
{{ $item->name }}
@if (Str::startsWith($item->image, ['http://', 'https://']))
@else
@endif
@elseif($type == 'package')
Package - {{ $fullpackage->package_name }}
@if (Str::startsWith($fullpackage->image, ['http://', 'https://']))
@else
@endif
@endif
Item Options:
No image available
@endif{{ $item->name }}
{{ $item->description ?? 'No Description' }}
@endifStock: Unlimited Stock
@elseif ($item->stock > 0)Stock: {{ $item->stock }}
@elseOut of Stock
@endif @if ($item->expiry_date)Expires on: {{ \Carbon\Carbon::parse($item->expiry_date)->format('l d/m/Y h:iA') }}
Price : {{ number_format($item->price, 2) }} @if ($item->balance_type == 'balance') 💎 @elseif($item->balance_type == 'gift_balance') 🌟 @endif
Package Includes:
@endif
{{ $packageItem->name }}
@if (isset($packageItem->json_data['options']) && is_array($packageItem->json_data['options'])){{ $packageItem->description ?? 'No Description' }}
@endifStock: Unlimited Stock
@elseif ($fullpackage->stock > 0)Stock: {{ $fullpackage->stock }}
@elseOut of Stock
@endif @if ($fullpackage->expiry_date)Expires on: {{ \Carbon\Carbon::parse($fullpackage->expiry_date)->format('l d/m/Y h:iA') }}
Price : {{ number_format($fullpackage->price, 2) }} @if ($fullpackage->balance_type == 'balance') 💎 @elseif($fullpackage->balance_type == 'gift_balance') 🌟 @endif