@extends('layouts.app')
@section('title', __('sale.add_sale'))
@section('content')
@if(is_null($default_location))
@endif
{!! Form::open(['url' => action('SellPosController@store'), 'method' => 'post', 'id' => 'add_sell_form' ]) !!}
{!! Form::hidden('location_id', $default_location, ['id' => 'location_id', 'data-receipt_printer_type' => isset($bl_attributes[$default_location]['data-receipt_printer_type']) ? $bl_attributes[$default_location]['data-receipt_printer_type'] : 'browser']); !!}
@if(!empty($commission_agent))
{!! Form::label('commission_agent', __('lang_v1.commission_agent') . ':') !!}
{!! Form::select('commission_agent',
$commission_agent, null, ['class' => 'form-control select2']); !!}
@endif
{!! Form::label('status', __('sale.status') . ':*') !!}
{!! Form::select('status', ['final' => __('sale.final'), 'draft' => __('sale.draft'), 'quotation' => __('lang_v1.quotation')], null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!}
@php
$hide_tax = '';
if( session()->get('business.enable_inline_tax') == 0){
$hide_tax = 'hide';
}
@endphp
@lang('sale.product')
|
@lang('sale.qty')
|
@lang('sale.unit_price')
|
@lang('sale.tax')
|
@lang('sale.price_inc_tax')
|
@lang('sale.subtotal')
|
|
@lang( 'sale.discount_amount' ):(-)
0
@lang( 'sale.order_tax' ):(+)
0
@lang('sale.total_payable'):
0
{!! Form::label('sell_note',__('sale.sell_note')) !!}
{!! Form::textarea('sale_note', null, ['class' => 'form-control', 'rows' => 3]); !!}
{!! Form::close() !!}
@include('contact.create', ['quick_add' => true])
@stop
@section('javascript')
@endsection