<!-- Quick form add Unit    -->
<div class="modal fade" id="unit-modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><i class="fa fa-tag"></i> {{ trans('units.menu') }}</h4>
      </div>
      {{ Form::open(['method' => "POST", 'route' => 'products.addUnit', 'id' => 'form-add-unit']) }}
      <div class="modal-body">
        <div class="form-group">
          {{ Form::label("unit_name", trans('units.name')) }}
          {{ Form::text('unit_name', null, ['class' => "form-control", 'placeholder' => trans('units.name'), 'required' => 'required']) }}
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{{ trans('dashboard.crud.cancel') }}</button>
        <button type="submit" class="btn btn-primary">{{ trans('dashboard.crud.add') }}</button>
      </div>
      {{ Form::close() }}
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- Quick form add Unit    -->
<div class="modal fade" id="brand-modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><i class="fa fa-tag"></i> {{ trans('units.menu') }}</h4>
      </div>
      {{ Form::open(['method' => "POST", 'route' => 'products.addUnit', 'id' => 'form-add-unit']) }}
      <div class="modal-body">
        <div class="form-group">
          {{ Form::label("unit_name", trans('units.name')) }}
          {{ Form::text('unit_name', null, ['class' => "form-control", 'placeholder' => trans('units.name'), 'required' => 'required']) }}
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{{ trans('dashboard.crud.cancel') }}</button>
        <button type="submit" class="btn btn-primary">{{ trans('dashboard.crud.add') }}</button>
      </div>
      {{ Form::close() }}
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<!--  Quick form add Supplier -->
<div class="modal fade" id="supplier-modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><i class="fa fa-building"></i> {{ trans('suppliers.menu') }}</h4>
      </div>
      {{ Form::open(['method' => "POST", 'route' => 'products.addSupplier', 'id' => 'form-add-supplier']) }}
      <div class="modal-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              {{ Form::label("company_name", trans('suppliers.company_name')) }}
              {{ Form::text('company_name', null, ['class' => "form-control", 'placeholder' => trans('suppliers.company_name'), 'required' => 'required']) }}
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              {{ Form::label("tel", trans('suppliers.tel')) }}
              {{ Form::text('tel', null, ['class' => "form-control", 'placeholder' => trans('suppliers.tel'), 'required' => 'required']) }}
            </div>
          </div>
        </div>

      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{{ trans('dashboard.crud.cancel') }}</button>
        <button type="submit" class="btn btn-primary">{{ trans('dashboard.crud.add') }}</button>
      </div>
      {{ Form::close() }}
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<!-- Quick form add Item Location -->
<div class="modal fade" id="item-location-modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><i class="fa fa-map"></i> {{ trans('item_locations.menu') }}</h4>
      </div>
      {{ Form::open(['method' => "POST", 'route' => 'products.addItemLocation', 'id' => 'form-add-item-location']) }}
      <div class="modal-body">
        <div class="form-group">
          {{ Form::label("item_location_name", trans('units.name')) }}
          {{ Form::text('item_location_name', null, ['class' => "form-control", 'placeholder' => trans('units.name'), 'required' => 'required']) }}
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{{ trans('dashboard.crud.cancel') }}</button>
        <button type="submit" class="btn btn-primary">{{ trans('dashboard.crud.add') }}</button>
      </div>
      {{ Form::close() }}
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<!-- Quick for add Category -->
<!-- Quick form add Item Location -->
<div class="modal fade" id="addCategory">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><i class="fa fa-tags"></i> {{ trans('products.product_category') }}</h4>
      </div>
      {{ Form::open(['method' => "POST", 'route' => 'addProductCategory', 'id' => 'form-add-category']) }}
      <div class="modal-body">
        <div class="form-group">
          {{ Form::label("category_name", trans('units.name')) }}
          {{ Form::text('category_name', null, ['class' => "form-control", 'placeholder' => trans('units.name'), 'required' => 'required']) }}
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{{ trans('dashboard.crud.cancel') }}</button>
        <button type="submit" class="btn btn-primary">{{ trans('dashboard.crud.add') }}</button>
      </div>
      {{ Form::close() }}
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>
<!-- /.modal -->
