@extends('layouts/pos_layout') @section('title', '|'.$moduleTitle) @section('style') @endsection @section('content')
{{ $moduleTitle }}
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'purchaseForm')) !!}
{!! Form::label('billNo', 'Bill No:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('purchase_no', $value = $nextPurchaseNo, ['class' => 'form-control', 'id' => 'purchase_no', 'type' => 'text','readonly','autocomplete'=>'off']) !!}

{!! Form::label('supplier_id', 'Supplier:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('supplier_id', $suppliers,null, ['class' => 'form-control', 'id' => 'supplier_id','placeholder' => 'Select Supplier','required'=>'required']) !!}

{!! Form::label('purchase_return_date', 'Purchase Return Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('purchase_return_date', $branch_active_date, ['class' => 'form-control','readonly']) !!}

{!! Form::label('branch_id', 'From Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('branch_id', $branches,null, ['class' => 'form-control', 'id' => 'branch_id','placeholder' => 'Select Branch','required'=>'required']) !!}

{!! Form::label('total_amount', 'Total Amount:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('total_amount', null, ['class' => 'form-control numeric', 'id' => 'total_amount', 'readonly','min'=>'0']) !!}

{!! Form::label('total_quantity', 'Total Quantity:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::number('total_quantity', null, ['class' => 'form-control numeric', 'id' => 'total_quantity', 'readonly','min'=>'0']) !!}

{!! Form::label('total_stock', 'Stock:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('total_stock', null, ['class' => 'form-control numeric', 'id' => 'total_stock', 'readonly','min'=>'0']) !!}

{!! Form::label('group_id', 'Group:', ['class' => 'control-label col-sm-12']) !!}
{!! Form::label('category_id', 'Category:', ['class' => 'control-label col-sm-12']) !!}
{!! Form::label('sub_category_id', 'Subcatagory:', ['class' => 'control-label col-sm-12']) !!}
{!! Form::label('model_id', 'Model:', ['class' => 'control-label col-sm-12']) !!}
Product Name PID/EMEI Number Qty Price Total Remove
Total Quantity Total Amount
{!! Form::label('submit', ' ', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::submit('submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}