@extends('layouts.page') @section('title') {{ $program->program }} - Add Actuals @endsection @section('navs') @endsection @section('content')
{!! Form::open(['url' => route('program_new.save_actuals', [$program->id]), 'files' => true]) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::autocomplete('actual_staff_attended', $program->label('actual_staff_attended'), old('actual_staff_attended', $program->actual_staff_attended ? $program->actual_staff_attended : $program->expected_staff_attended), AppHelper::autoOptions(DataHelper::userOptions()), 'user_options')!!} {!! EasyForm::date('actual_from_date', $program->label('actual_from_date'), old('from_date', $program->actual_from_date ? $program->actual_from_date : $program->from_date, ['required' =>true]))!!} {!! EasyForm::date('actual_to_date', $program->label('actual_to_date'), old('to_date', $program->actual_to_date ? $program->actual_to_date : $program->to_date, ['required' =>true]))!!} {!! EasyForm::input('participants_attended', 'Participants Attended', old('participants_attended', $program->participants_attended), ['required' =>true])!!} {!! EasyForm::file('registration_copy', 'Registration Copy', old('registration_copy', $program->registration_copy))!!} @if($program->type == 'micro_onsite') {!! EasyForm::input('food_amount', 'Food Amount', old('food_amount', $program->food_amount), ['required' =>true, 'max' => $program->getFoodBudgetAmount()])!!} {!! EasyForm::file('food_bill', 'Food Bill', old('food_bill', $program->food_bill))!!} @endif @foreach ($program->budgets as $budget) @endforeach
Particulars Budgeted Actual GST Total Breakup
{{ $budget->category->sub_category }} {{ $budget->budget_amount }} @if ($budget->isType('Travel')) @if ($budget->breakups) @foreach ($budget->breakups as $breakup) @if ($budget->isType('Travel')) @else @endif @endforeach @else @if ($budget->isType('Travel')) @else @endif @endif
Travel For No. of Participants Total Amount @else Type Qty Unit Cost Days GST(%) @endif
{!! Form::select("breakup[$budget->id][type][]", $typeOptions, $breakup->type??"") !!}
{!! Form::select("breakup[$budget->id][type][]", $typeOptions, null) !!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection