@php $is_pos_downpayment = !empty($is_pos_downpayment) || (($sub_type ?? null) === 'downpayment') || (!empty($transaction) && $transaction->sub_type === 'downpayment'); @endphp
Customer credit requires a selected customer and will not return cash from the drawer.