@section('scripts')
@parent
@endsection
{!! Form::label('quotation_id', 'Select Quotation:') !!}
@section('scripts')
@parent
@endsection
{!! Form::label('subject', __('models/projects.fields.subject').':') !!}
{!! Form::text('subject', null, ['class' => ($errors->has('subject')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('subject'))
{{ $errors->first('subject') }}
@endif
{!! Form::label('user_id', __('models/projects.fields.user_id').':') !!}
{!! Form::select('user_id', $users, null, ['class' => ($errors->has('user_id')) ? 'form-control is-invalid' : 'form-control' ,'id'=>'user_id']) !!}
@if ($errors->has('user_id'))
{{ $errors->first('user_id') }}
@endif
{!! Form::label('labour_charges', __('models/projects.fields.labour_charges').':') !!}
{!! Form::text('labour_charges', null, ['class' => ($errors->has('labour_charges')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('labour_charges'))
{{ $errors->first('labour_charges') }}
@endif
{!! Form::label('material_charges', __('models/projects.fields.material_charges').':') !!}
{!! Form::text('material_charges', null, ['class' => ($errors->has('material_charges')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('material_charges'))
{{ $errors->first('material_charges') }}
@endif
{!! Form::label('project_source', __('models/projects.fields.project_source').':') !!}
{!! Form::text('project_source', null, ['class' => ($errors->has('project_source')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('project_source'))
{{ $errors->first('project_source') }}
@endif
{!! Form::label('project_estimation', __('models/projects.fields.project_estimation').':') !!}
{!! Form::text('project_estimation', null, ['class' => ($errors->has('project_estimation')) ? 'form-control is-invalid' : 'form-control']) !!}
@if ($errors->has('project_estimation'))
{{ $errors->first('project_estimation') }}
@endif
{!! Form::select('category', ['normal' => 'Normal', 'amc' => 'AMC'], null, ['class' => 'form-control', 'id' => 'project_category','hidden' => true]) !!}
{!! Form::number('visits', 4, ['class' => 'form-control', 'min' => 4,'max'=>12,'hidden' => true]) !!}
{!! Form::label('note', __('models/projects.fields.note').':') !!}
{!! Form::textarea('note', null, ['class' => 'form-control']) !!}