<div class="row pos_form_totals" @if(!empty($edit)) style="margin-top: 45px;" @endif>
	<div class="col-md-12">
		<table class="table table-condensed" style="margin-bottom: 0 !important">
			<tr>
				<td class="vh-form-control-pos-total-left"><b>@lang('sale.item'):</b>&nbsp;
					<span class="total_quantity">0</span>
				</td>

			    </td>
					<td class="vh-form-control-pos-total-right">
						<b>@lang('sale.total'):</b> $&nbsp;
						<span class="price_total">0</span>
					</td>
				</tr>
			<tr class="" style="background: #e4e6ff;">
			<td>
					
	
					<b>
						@if($is_discount_enabled)
							<!-- @lang('sale.discount')
							@show_tooltip(__('tooltip.sale_discount'))
						@endif -->
						@if($is_rp_enabled)
							{{session('business.rp_name')}}
						@endif
						@if($is_discount_enabled)
							<!-- (-): -->
							@if($edit_discount)
							<button class="vh-pos-btn-clk-dis-tax vh-pos-btn-2"type="button" title="{{ __('lang_v1.full_screen') }}" id="pos-edit-discount" 
							title="@lang('sale.edit_discount')" aria-hidden="true" data-toggle="modal" data-target="#posEditDiscountModal">
            <strong><i class="fa fa-tags"></i>&nbsp;DISCOUNT $&nbsp;:<span id="total_discount">0</span></strong>
      </button>
							@endif	
						
						@endif
							<input type="hidden" name="discount_type" id="discount_type" value="@if(empty($edit)){{'percentage'}}@else{{$transaction->discount_type}}@endif" data-default="percentage">

							<input type="hidden" name="discount_amount" id="discount_amount" value="@if(empty($edit)) {{@num_format($business_details->default_sales_discount)}} @else {{@num_format($transaction->discount_amount)}} @endif" data-default="{{$business_details->default_sales_discount}}">

							<input type="hidden" name="rp_redeemed" id="rp_redeemed" value="@if(empty($edit)){{'0'}}@else{{$transaction->rp_redeemed}}@endif">

							<input type="hidden" name="rp_redeemed_amount" id="rp_redeemed_amount" value="@if(empty($edit)){{'0'}}@else {{$transaction->rp_redeemed_amount}} @endif">

							</span>
					</b> 
				</td>

					<td class="@if($pos_settings['disable_order_tax'] != 0) hide @endif" style="float: right;">
					<span>
						<!-- <b>@lang('sale.order_tax')(+): @show_tooltip(__('tooltip.sale_tax'))</b> -->
						{{-- <button class="vh-pos-btn-clk-dis-tax vh-pos-btn-2"type="button" title="@lang('sale.edit_order_tax')" aria-hidden="true" data-toggle="modal" data-target="#posEditOrderTaxModal" id="pos-edit-tax" > --}}
            			<strong><i class="fa fa-cart-plus"></i>&nbsp;Sales Tax $&nbsp;:<span id="order_tax">
							@if(empty($edit))
								0
							@else
								{{$transaction->tax_amount}}
							@endif
						</span></strong>
      					{{-- </button>	 --}}
						<!-- <i class="fas fa-edit cursor-pointer" title="@lang('sale.edit_order_tax')" aria-hidden="true" data-toggle="modal" data-target="#posEditOrderTaxModal" id="pos-edit-tax" ></i> 
						<span id="order_tax">
							@if(empty($edit))
								0
							@else
								{{$transaction->tax_amount}}
							@endif
						</span> -->

						<input type="hidden" name="tax_rate_id" 
							id="tax_rate_id" 
							@if(empty($edit)) value="{{$business_details->tax_rate_id}}" @else value="{{$transaction->tax_id}}" @endif 
							data-default="{{$business_details->tax_rate_id}}">

						<input type="hidden" name="tax_calculation_amount" id="tax_calculation_amount" 
							value="@if(empty($edit)) {{@num_format($business_details->tax_calculation_amount)}} @else {{@num_format($transaction->tax?->amount)}} @endif" data-default="{{$business_details->tax_calculation_amount}}">

					</span>
				</td>
				<!-- <td>
					<span>

						<b>@lang('sale.shipping')(+): @show_tooltip(__('tooltip.shipping'))</b>
						<button class="vh-pos-btn-clk vh-pos-btn-2 vh-pos-btn-clc "type="button" title="@lang('sale.shipping')" aria-hidden="true" data-toggle="modal" data-target="#posShippingModal">
            <strong><i class="fa fa-window-maximize fa-lg"></i>&nbsp;SHIPPING &nbsp;:<span id="shipping_charges_amount">0</span></strong>
      </button>


						<i class="fas fa-edit cursor-pointer"  title="@lang('sale.shipping')" aria-hidden="true" data-toggle="modal" data-target="#posShippingModal"></i>
						<span id="shipping_charges_amount">0</span>
						<input type="hidden" name="shipping_details" id="shipping_details" value="@if(empty($edit)){{''}}@else{{$transaction->shipping_details}}@endif" data-default="">

						<input type="hidden" name="shipping_address" id="shipping_address" value="@if(empty($edit)){{''}}@else{{$transaction->shipping_address}}@endif">

						<input type="hidden" name="shipping_status" id="shipping_status" value="@if(empty($edit)){{''}}@else{{$transaction->shipping_status}}@endif">

						<input type="hidden" name="delivered_to" id="delivered_to" value="@if(empty($edit)){{''}}@else{{$transaction->delivered_to}}@endif">

						<input type="hidden" name="shipping_charges" id="shipping_charges" value="@if(empty($edit)){{@num_format(0.00)}} @else{{@num_format($transaction->shipping_charges)}} @endif" data-default="0.00">
					</span>
				</td> -->
				@if(in_array('types_of_service', $enabled_modules))
					<td class="col-sm-3 col-xs-6 d-inline-table">
						<b>@lang('lang_v1.packing_charge')(+):</b>
						<i class="fas fa-edit cursor-pointer service_modal_btn"></i> 
						<span id="packing_charge_text">
							0
						</span>
					</td>
				@endif
				@if(!empty($pos_settings['amount_rounding_method']) && $pos_settings['amount_rounding_method'] > 0)
				<td>
					<b id="round_off">@lang('lang_v1.round_off'):</b> <span id="round_off_text">0</span>								
					<input type="hidden" name="round_off_amount" id="round_off_amount" value=0>
				</td>
				@endif
			</tr>
		</table>
	</div>

	<div class="col-md-12">
	<table class="table table-condensed" 
	style="background:#e4e6ff ; 
	margin-bottom: 3px;
	border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;" >
		<tr>
<td>
<button type="button" 
{{-- @if($is_mobile) @endif  no-print pos-express-finalize --}}
				class="vh-pos-btn-clk vh-pos-btn-3 no-print pos-express-finalize"   
				data-pay_method="suspend"
				title="@lang('lang_v1.tooltip_suspend')" @if(!empty($only_payment)) disabled @endif>
				<i class="fas fa-pause" aria-hidden="true"></i>
				@lang('lang_v1.suspend')
				</button>
</td>
<td>
{{-- <button type="button" class="vh-pos-btn-clk-rcvpayment vh-pos-btn-5" id="pos-finalize" title="@lang('lang_v1.tooltip_checkout_multi_pay')"><i class="fas fa-money-check-alt" aria-hidden="true"></i> @lang('lang_v1.checkout_multi_pay') </button> --}}
     <button type="button" class="vh-pos-btn-clk-rcvpayment vh-pos-btn-5" id="pos-finalize" title="@lang('lang_v1.tooltip_checkout_multi_pay')"><i class="fas fa-money-check-alt" aria-hidden="true"></i> @lang('lang_v1.checkout_multi_pay') $<input type="hidden" name="final_total"  id="final_total_input" value=0> <span id="total_payable" class="number">0</span> </button>
</td>
<td class="" style="float: right;">
<button type="button" class="vh-pos-btn-clk vh-pos-btn-4" id="pos-cancel"> <i class="fas fa-window-close"></i> @lang('sale.cancel')</button>
</td>
</tr>
</table>
</div>
</div>