@extends('layouts.app') @section('title') {{ __('messages.item_stock.edit_item_stock') }} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('itemsUrl',route('items.list'),['id'=>'editStockItemsUrl','class'=>'itemsUrl'])}} {{Form::hidden('itemId',$itemStock->item_id,['id'=>'editStockItemId'])}} {{Form::hidden('isEdit',true,['class'=>'isEdit'])}} {{Form::hidden('defaultDocumentImageUrl',asset('assets/img/default_image.jpg'),['id'=>'editStockDefaultDocumentImageUrl'])}}
{{ Form::model($itemStock, ['route' => ['item.stock.update', $itemStock->id], 'method' => 'patch','id' => 'editItemStockForm', 'files' => 'true']) }} @include('item_stocks.edit_fields') {{ Form::close() }}
@endsection {{-- --}} {{-- let itemsUrl = "{{ route('items.list') }}";--}} {{-- let itemId = "{{ $itemStock->item_id }}";--}} {{-- let isEdit = true;--}} {{-- let defaultDocumentImageUrl = "{{ asset('assets/img/default_image.jpg') }}";--}} {{-- --}}