@extends('layouts/inventory_layout') @section('title', '| ' . $pageTitle) @section('content')
{{ $pageTitle }}
{!! Form::open(array('url' => '' , 'enctype' => 'multipart/form-data', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('branch_id', 'Branch:*', ['class' => 'col-sm-4 control-label'],false) !!}
{!! Form::select('branch_id', $branches,null, ['class' => 'form-control custom-select2', 'id' => 'branch_id','placeholder' => 'Select Branch','required'=>'required','autocomplete'=>'off']) !!}

{!! Form::label('Opening Date', 'Opening Date:*', ['class' => 'col-sm-5 control-label'],false) !!}
{!! Form::text('opening_date', null, ['class'=>'form-control', 'id' => 'opening_date_id','readonly']) !!}

@if (!empty($hasCategories)) @php $serial = 0; @endphp @foreach ($hasCategories as $key => $hasCategory) @php $invProducts = App\Models\inventory\productConfig\InvProduct::where('category_id', '=' , $key)->get(); @endphp @if (!empty($invProducts)) @foreach ($invProducts as $invProduct) @endforeach @endif @endforeach @endif
{!! Form::label('submit', ' ', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}