| {!! $project_term_report->label($field) !!} |
|
@foreach (AppHelper::options('al_report_terms') as $k => $v)
Warning: Undefined variable $k in /var/www/html/pruthvi/resources/views/project_term_report/al_report/create_hep_consolidated_section.blade.php on line 20
Warning: Undefined variable $field in /var/www/html/pruthvi/resources/views/project_term_report/al_report/create_hep_consolidated_section.blade.php on line 20
Warning: Undefined variable $term in /var/www/html/pruthvi/resources/views/project_term_report/al_report/create_hep_consolidated_section.blade.php on line 22
Warning: Undefined variable $project in /var/www/html/pruthvi/resources/views/project_term_report/al_report/create_hep_consolidated_section.blade.php on line 25
Warning: Attempt to read property "project_name" on null in /var/www/html/pruthvi/resources/views/project_term_report/al_report/create_hep_consolidated_section.blade.php on line 25
@if ($k == $term)
@php
$inputClasses = 'form-control form-control-sm'; // Bootstrap classes for better appearance
$placeholder = ($field == 'total_beneficiaries') ? 'In Term-3 Report only' : 'In Term-3 Report only';
$inputOptions = [
'class' => $inputClasses,
'id' => "report[$k][$field]",
'onchange' => 'updateSummary(this)',
'readonly' => $readonly,
'placeholder' => $placeholder,
];
if ($field == 'total_beneficiaries') {
$inputOptions['max'] = $max_beneficiaries;
$inputOptions['min'] = 0;
}
@endphp
{!! Form::number($field, old($field, $value), $inputOptions) !!}
@if ($errors->has($field))
{{ $errors->first($field) }}
@endif
@else
{!! Form::number(null, $value, ['class' => 'form-control form-control-sm', 'disabled' => true]) !!}
@endif
|
@endforeach
{!! Form::number(null, $rowTotal, ['disabled' => true]) !!}
|
@endforeach