@php
$disabled = "";
$tooltip = "";
if(!$product_line['product']->canBeCollected($product_line['quantity'], $order->branch_id, $product_line['order_prod_line_id'])) {
$disabled = "disabled";
$tooltip = '
';
}
@endphp
id}}
data-product_id={{$product_line['product']->id}}
{{ $product_line['product']->getOrderProductCollectedStatus($order->id) ? 'checked' : '' }}
>
@php echo $tooltip @endphp