@php // Determine mobile-like POS mode via visit_id in URL $is_visit = (strpos(request()->fullUrl(), 'visit_id') !== false) || request()->has('visit_id'); // Keep backward compatibility: many templates use $is_mobile $is_mobile = $is_visit; @endphp
@lang('sale.total_payable'):
{{--
Payable:
--}}
0.00 @if(!empty($business_details) && $business_details->enable_second_currency == 1 && !empty($second_currency_symbol))
({{ $second_currency_symbol }} 0) @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 (!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
--}}
@lang('sale.total')
@lang('lang_v1.payable'):
0.00 @if(!empty($business_details) && $business_details->enable_second_currency == 1 && !empty($second_currency_symbol))
({{ $second_currency_symbol }} 0) @endif
@endif
@if(isset($pos_settings['make_sell_return']) && $pos_settings['make_sell_return'] == 1)
@endif @if (!$is_mobile) @if (!isset($pos_settings['hide_recent_trans']) || $pos_settings['hide_recent_trans'] == 0)
@endif @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