@extends('layouts.app') @section('content')
{!! Form::open(['url' => action('PurchaseController@store'), 'class' => '', 'method' => 'post', 'id' => 'add_purchase_form' , 'files' => true]) !!}
Purchase Entry

Date:

Delivery Date:

Invoice No:

PO No:

Vat :

Type :

{!! Form::select('account_type', ['CR' => 'CREDITORS', 'DR' => 'DEBTORS'], null, ['class' => 'form-control', 'style'=>'width:60%','placeholder' => 'Select Type' , 'required', 'id' => 'account_type']); !!}

Account Code:

VAT Type :

{!! Form::select('vat_type', ['exclude' => 'E', 'including' => 'I'], 'E', ['class' => 'form-control', 'placeholder' => 'Select Type' , 'required', 'id' => 'vat_type']); !!}
{!! Form::label('doc', __('Document') . ':') !!} {!! Form::file('doc[]', ['multiple']); !!}


{!! Form::text('search_product', null, ['class' => 'form-control mousetrap', 'id' => 'search_product', 'placeholder' => __('Search Stock'), 'autofocus']); !!}
{!! Form::hidden('exit_serial', null, ['id' => 'exit_serial']); !!} {!! Form::hidden('exit_product_id', null, ['id' => 'exit_product_id']); !!}
Des. UOM Width Qty Unit STR Rate Ex. Rate Size/Gage Tax Amount

@lang( 'Total' ):

{!! Form::label('discount_type', __('Discount Type') . ':*' ) !!}
{!! Form::select('discount_type', ['fixed' => __('Fixed'), 'percentage' => __('Percentage')], 'percentage' , ['class' => 'form-control','placeholder' => __('messages.please_select'), 'required', 'data-default' => 'percentage']); !!}
{!! Form::label('discount_amount', __('Discount Amount') . ':*' ) !!}
{!! Form::text('discount_amount', 0, ['class' => 'form-control input_number', 'data-default' => 0]); !!}

@lang( 'Discount Amount' ):(-) 0
{!! Form::label('tax_id', __('Tax') . ':') !!} {!! Form::hidden('tax_amount', 0, ['id' => 'tax_amount']); !!}
@lang( 'Order Tax' ):(+) 0
@lang('Total Payable'): 0

Add Payment

@include('sale.partial.payment_row_form', ['row_index' => 0])
Balance: 0.00

   
{!! Form::close() !!}
@endsection @section('javascript') @endsection