@extends('admin.layouts.master') @section('title') Inventories: {{ $product->name }} - SKU: {{ $product->id + 10000 }} @stop @section('content')
Inventories: {{ $product->name }} - SKU: {{ $product->id + 10000 }}
{{ Form::open(array('url' => 'admin/products/inventory-search-by-sku')) }} {{ Form::hidden('return_path', 'admin/products/'.$product->id.'/inventories') }}
{{ Form::close() }}
{{ Form::open(array('class' => 'form-inline', 'url' => 'admin/products/'.$product->id.'/inventories/add')) }}
{{ Form::label('new_inventory', 'Add') }} {{ Form::text('new_inventory', 1, array('class' => 'form-control', 'min' => 1, 'max' => 500)) }} New item for inventory of this product {{ Form::submit('Add', array('class' => 'btn btn-primary btn-outline')) }}
{{ Form::close() }}
@foreach($inventories as $inventory) @endforeach
SKU Current Status Actions
{{ $product->sku }}{{ 10000+($inventory->id) }} {{ ProductInventory::getProductInventoryStatuses($inventory->getCurrentStatus()->status) }} View and Edit Barcode
@stop