@php $is_mobile = isMobile(); @endphp
@if($is_mobile)
@lang('sale.total_payable'): 0
@endif @if(!Gate::check('disable_draft') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @endif @if(!Gate::check('disable_quotation') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @endif @if(!Gate::check('disable_suspend_sale') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if(empty($pos_settings['disable_suspend'])) @endif @endif @if(!Gate::check('disable_credit_sale') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if(empty($pos_settings['disable_credit_sale_button'])) @endif @endif @if(!Gate::check('disable_card') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @endif @if(!Gate::check('disable_pay_checkout') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @endif @if(!Gate::check('disable_express_checkout') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @endif @if(empty($edit)) @else @endif @if(!$is_mobile)
@lang('sale.total_payable') 0
@endif @if(!isset($pos_settings['hide_recent_trans']) || $pos_settings['hide_recent_trans'] == 0) @endif
@if(isset($transaction)) @include('sale_pos.partials.edit_discount_modal', ['sales_discount' => $transaction->discount_amount, 'discount_type' => $transaction->discount_type, 'rp_redeemed' => $transaction->rp_redeemed, 'rp_redeemed_amount' => $transaction->rp_redeemed_amount, 'max_available' => !empty($redeem_details['points']) ? $redeem_details['points'] : 0]) @else @include('sale_pos.partials.edit_discount_modal', ['sales_discount' => $business_details->default_sales_discount, 'discount_type' => 'percentage', 'rp_redeemed' => 0, 'rp_redeemed_amount' => 0, 'max_available' => 0]) @endif @if(isset($transaction)) @include('sale_pos.partials.edit_order_tax_modal', ['selected_tax' => $transaction->tax_id]) @else @include('sale_pos.partials.edit_order_tax_modal', ['selected_tax' => $business_details->default_sales_tax]) @endif @include('sale_pos.partials.edit_shipping_modal')