@php $is_mobile = isMobile(); $view_suspended_sell_url = action([\App\Http\Controllers\SellController::class, 'index']).'?suspended=1'; @endphp @if(!empty($pos_module_data)) @foreach($pos_module_data as $key => $value) @php if(!empty($value['transaction_sub_type'])) { $transaction_sub_type = $value['transaction_sub_type']; $view_suspended_sell_url .= '&transaction_sub_type='.$transaction_sub_type; } @endphp @endforeach @endif
@if($is_mobile)
@lang('sale.total_payable'): 0
@endif {{-- --}} {{-- @if(empty($pos_settings['disable_suspend'])) --}} {{-- --}} {{-- @endif --}} @if(empty($pos_settings['disable_credit_sale_button'])) @endif @if (empty($pos_settings['disable_express_checkout'])) @endif {{-- --}} @if(empty($edit)) {{-- --}} @else @endif @if(!$is_mobile) @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')