@extends('backEnd.master') @section('title') @lang('inventory.item_receive') @endsection @section('mainContent')
@if (isset($editData)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => ['item-list-update', $editData->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data']) }} @else @if (userPermission('save-item-receive-data')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'save-item-receive-data', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'item-receive-form', ]) }} @endif @endif

@if (isset($editData)) @lang('common.edit_receive_details') @else @lang('inventory.receive_details') @endif

@if ($errors->has('expense_head_id')) {{ $errors->first('expense_head_id') }} @endif
@if ($errors->has('payment_method')) {{ $errors->first('payment_method') }} @endif
@if ($errors->has('bank_id')) {{ $errors->first('bank_id') }} @endif
@if ($errors->has('supplier_id')) {{ $errors->first('supplier_id') }} @endif
@if ($errors->has('store_id')) {{ $errors->first('store_id') }} @endif
@if ($errors->has('reference_no')) {{ $errors->first('reference_no') }} @endif
{{ $errors->first('receive_date') }}

@lang('inventory.item_receive')

@lang('inventory.product_name')* @lang('inventory.unit_price')* @lang('inventory.quantity')* @lang('inventory.sub_total') @lang('common.action')
@if ($errors->has('item_id')) {{ $errors->first('item_id') }} @endif
@if ($errors->has('unit_price')) {{ $errors->first('unit_price') }} @endif
@if ($errors->has('quantity')) {{ $errors->first('quantity') }} @endif
@if ($errors->has('sub_total')) {{ $errors->first('sub_total') }} @endif
@lang('inventory.total') @if ($errors->has('subTotal')) {{ $errors->first('subTotal') }} @endif
@php $tooltip = ''; if (userPermission('save-item-receive-data')) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js')