@extends('backEnd.master') @section('title') @lang('inventory.edit_sells_details') @endsection @section('mainContent')
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'update-item-sell-data', 'enctype' => 'multipart/form-data', 'id' => 'edit-item-sell-form']) }}

@lang('inventory.edit_sells_details')

@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($editData->role_id == 2)
@else @endif @if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if($editData->role_id == 2) @else @endif
@if ($errors->has('student')) {{ $errors->first('student') }} @endif
@if ($errors->has('staff_id')) {{ $errors->first('staff_id') }} @endif
@if ($errors->has('reference_no')) {{ $errors->first('reference_no') }} @endif
@if ($errors->has('sell_date')) {{ $errors->first('sell_date') }} @endif

@lang('inventory.item_sale')

@php $i = 0; $j=0; $total_quantity = 0; $grand_total = 0; @endphp @if(isset($editDataChildren)) @foreach($editDataChildren as $editDataValue) @php $total_quantity += $editDataValue->quantity; $grand_total += $editDataValue->sub_total; @endphp @endforeach @endif
@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('sell_price')) {{ $errors->first('sell_price') }} @endif
@if ($errors->has('quantity')) {{ $errors->first('quantity') }} @endif
@if ($errors->has('sub_total')) {{ $errors->first('sub_total') }} @endif
@lang('exam.result')
paid_status == 'P') checked @endif>
{{ Form::close() }}
@endsection @include('backEnd.partials.date_picker_css_js')