@if(($posLoyaltyEnabled ?? false) && user_can('Update Order')) @php $showLoyaltyRedeemButton = ($customerId ?? null) && count($orderItemList ?? []) > 0 && (int) ($loyaltyPointsRedeemed ?? 0) === 0 && (float) ($subTotal ?? 0) > 0; @endphp
@endif