@extends('backEnd.master') @section('title') @lang('inventory.item_sell') @endsection @section('mainContent') @push('css') @endpush
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'save-item-sell-data', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'item-sell-form']) }}

@if(isset($editData)) @lang('common.edit_sell') @else @lang('inventory.sells_details') @endif

@if ($errors->has('income_head_id')) {{ $errors->first('income_head_id') }} @endif
@if ($errors->has('bank_id')) {{$errors->first('bank_id')}} @endif
@if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('student')) {{ $errors->first('student') }} @endif
@if ($errors->has('staff_id')) {{ $errors->first('staff_id') }} @endif
{{$errors->first('sell_date')}}

@lang('inventory.item_sell')

@lang('inventory.product_name') @lang('inventory.sell_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
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js')