@php $is_mobile = isMobile(); @endphp
@if (!Gate::check('disable_draft') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if (empty($pos_settings['disable_draft']) || $pos_settings['disable_draft'] == 0) @endif @endif @if (!Gate::check('disable_suspend_sale') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if (empty($pos_settings['disable_suspend'])) @endif @endif @if (!isset($pos_settings['hide_recent_trans']) || $pos_settings['hide_recent_trans'] == 0) @endif
@lang('sale.total_payable')
0.00
@if (empty($edit)) @else @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')) @if (array_key_exists('card', $payment_types)) @endif @endif @if (!Gate::check('disable_pay_checkout') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if (empty($pos_settings['disable_pay_checkout']) || $pos_settings['disable_pay_checkout'] == 0) @endif @endif @if (!Gate::check('disable_express_checkout') || auth()->user()->can('superadmin') || auth()->user()->can('admin')) @if (empty($pos_settings['disable_express_checkout']) && array_key_exists('cash', $payment_types)) @endif @endif
{{-- @if ($is_mobile)
@lang('sale.total_payable')
0.00
@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