Order a product (ID: {{$prod_id}})

@if ($product->tot_qty >= 0 && $product->daily_qty >= $product->today_bought) @if (isset($_POST["booking_id"]) || ($product->tot_qty > 0 && $product->daily_qty > $product->today_bought))
@if (in_array(auth()->user()->user_type, ['admin', 'manager']))
@endif

(*) Required field

(**) Either one of them is required

@if (isset($booking_id)) @endif
@elseif($product->tot_qty == 0)

Sorry, this product is out of stock!

@else

Sorry, the daily limit for this product has exceeded! Retry tomorrow!

@endif @else
@if ($product->tot_qty == 0)

Sorry, this product is out of stock!

@elseif ($product->today_bought > $product->daily_qty)

Sorry, the daily limit for this product has exceeded! Retry tomorrow!

@endif
@endif