@extends('layouts/pos_layout') @section('title', '| ' . $pageTitle) @section('content')
Add Requisition
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups', 'id' => 'branchRequisitionForm')) !!}
{!! Form::label('billNo', 'Bill No:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('requisition_bill_no', $value = $nextRequisitionBillNo, ['class' => 'form-control', 'id' => 'requisition_no', 'type' => 'text','readonly','autocomplete'=>'off']) !!}

{!! Form::label('requisition_date', 'Date:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::text('requisition_date', $branch_active_date, ['class' => 'form-control', 'id' => 'requisition_date','readonly','autocomplete'=>'off']) !!}

@if ($loggedBranch->name == 'Head Office')
{!! Form::label('branch_id', 'From Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('branch_id', $fromBranches,null, ['class' => 'form-control custom-select2', 'id' => 'branch_id','placeholder' => 'Select Branch','required'=>'required','autocomplete'=>'off']) !!}

@else {!! Form::hidden('branch_id', $loggedBranch->id, ['class' => 'form-control input-sm', 'id' => 'branch_id']) !!} @endif
{!! Form::label('to_branch_id', 'To Branch:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::select('to_branch_id', $toBranches,1, ['class' => 'form-control custom-select2', 'id' => 'to_branch_id','placeholder' => 'Select Branch','required'=>'required','autocomplete'=>'off']) !!}

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

{!! Form::label('remarks', 'Remarks:', ['class' => 'col-sm-4 control-label']) !!}
{!! Form::textarea('remarks', null, array('class'=>'form-control','rows'=>2, 'id' => 'remarks','placeholder' => 'Enter Remarks','autocomplete'=>'off')) !!}

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

{!! 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 ']) !!}
{{-- --}} {{-- --}} {{-- --}} {{-- --}}
Barcode Product Name Model Name QtyPrice TotalRemove
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() !!}