@extends('layouts.admin') @section('content')
{{ Form::open(['route' => __('add-stock.store'), 'method' => 'POST', 'id' => 'ajaxSave']) }}
{{ Form::label('date', __('add_stock.date'), ['class' => 'control-label']) }} {{ Form::text('date', dateFormat(currentDate(), SHOW_DATE), ['class' => 'form-control', 'readonly' => true]) }}
{{ Form::label('remarks', __('add_stock.remarks'), ['class' => 'control-label']) }} {{ Form::textarea('remarks', null, ['class' => 'form-control', 'size' => '2x1']) }}
{{--
{{ Form::label('remark', __('add_stock.item_name'), ['class' => 'control-label']) }}
{{ Form::label('quantity', __('add_stock.quantity'), ['class' => 'control-label']) }}
{{ Form::label('remarks', __('add_stock.remarks'), ['class' => 'control-label']) }}
--}}

{{ Form::select('department', $departments, null, array('class' => 'form-control select2', 'id' => 'department', 'data-live-search' => 'true')) }}
@php $inventoryTypes = inventoryType(); @endphp @if (isset($inventoryTypes) && count($inventoryTypes) > 0) @foreach ($inventoryTypes as $id => $inventoryType) @endforeach @endif
  • {{ Form::submit(__('common.save'), ['class' => 'btn btn-primary width80']) }}
  • {{--
    • {{ Form::submit(__('common.save'), ['class' => 'btn btn-primary width80']) }}
    • --}}{{--
    • {{ Form::reset( __('common.cancel'), array('class' => 'btn btn-default btn-lg font12'));}}
    • --}}{{--
    --}}
    {{ Form::close() }}
    @endsection @section('script') @include('layouts.add-stock-script' , ['route' => $route ?? '']) @endsection