@extends('layouts.app') @section('title', 'POS') @section('content')

Editing @if($transaction->status == 'draft' && $transaction->is_quotation == 1) @lang('lang_v1.quotation') @elseif($transaction->status == 'draft') Draft @elseif($transaction->status == 'final') Invoice @endif #{{$transaction->invoice_no}}

{!! Form::open(['url' => action('SellPosController@update', [$transaction->id]), 'method' => 'post', 'id' => 'edit_pos_sell_form' ]) !!} {{ method_field('PUT') }} {!! Form::hidden('location_id', $transaction->location_id, ['id' => 'location_id', 'data-receipt_printer_type' => !empty($location_printer_type) ? $location_printer_type : 'browser']); !!}
{!! Form::select('contact_id', [], null, ['class' => 'form-control mousetrap', 'id' => 'customer_id', 'placeholder' => 'Enter Customer name / phone', 'required']); !!}
@if(!empty($commission_agent))
{!! Form::select('commission_agent', $commission_agent, $transaction->commission_agent, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.commission_agent')]); !!}
@endif
{!! Form::text('search_product', null, ['class' => 'form-control mousetrap', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'autofocus']); !!}
@if(in_array('tables' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules))
@endif
@php $hide_tax = ''; if( session()->get('business.enable_inline_tax') == 0){ $hide_tax = 'hide'; } @endphp @foreach($sell_details as $sell_line) @include('sale_pos.product_row', ['product' => $sell_line, 'row_count' => $loop->index, 'tax_dropdown' => $taxes]) @endforeach
@lang('sale.product') @lang('sale.qty') @lang('sale.unit_price') @lang('sale.tax') @lang('sale.price_inc_tax') @lang('sale.subtotal')
@include('sale_pos.partials.pos_details', ['edit' => true]) @include('sale_pos.partials.payment_modal')
{!! Form::close() !!}
@include('sale_pos.partials.right_div')
@stop @section('javascript') @include('sale_pos.partials.keyboard_shortcuts') @if(in_array('tables' ,$enabled_modules) || in_array('modifiers' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules)) @endif @endsection @section('css') @endsection