@extends('admin.layout') @section('content')

{{ trans('labels.Inventory') }} {{ trans('labels.Inventory') }}...

{{ trans('labels.addinventory') }}

@if (count($errors) > 0) @if($errors->any()) @endif @endif

{{ trans('labels.productName') }}: {{ $result['products'][0]->products_name }}


{{ trans('labels.Add Stock') }}

{!! Form::open(array('url' =>'admin/addnewstock', 'name'=>'inventoryfrom', 'id'=>'addewinventoryfrom', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('products_id', $result['products'][0]->products_id, array('class'=>'form-control', 'id'=>'products_id')) !!} @if(count($result['attributes'])==0 and $result['products'][0]->products_type==1) @endif @if($result['products'][0]->products_type==1)
    @foreach ($result['attributes'] as $attribute)
    • @foreach ($attribute['values'] as $value) @endforeach
    @endforeach
{{ trans('labels.Select Option values Text') }}.
@endif

{{$result['stocks']}}


{{ $result['currency'][19]->value }}{{$result['purchase_price']}}


{{ trans('labels.Enter Stock Text') }}
{{ trans('labels.Purchase Price Text') }}
{{ trans('labels.Reference / Purchase Code Text') }}
@if(count($result['attributes'])>0 and $result['products'][0]->products_type==1 or $result['products'][0]->products_type==0) @endif {!! Form::close() !!}

{{ trans('labels.Manage Min/Max Quantity') }}

{!! Form::open(array('url' =>'admin/addminmax', 'name'=>'addminmax', 'id'=>'addminmax', 'method'=>'post', 'class' => 'form-horizontal form-validate-level', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('products_id', $result['products'][0]->products_id, array('class'=>'form-control', 'id'=>'products_id')) !!} @if($result['products'][0]->products_type==1) {!! Form::hidden('inventory_ref_id', '', array('class'=>'form-control check_reference_id', 'id'=>'inventory_ref_id')) !!} @endif
{{ trans('labels.Min Level Text') }}
{{ trans('labels.Min Level Text') }}
{!! Form::close() !!}
@endsection