Add Program-{{ $faculty->faculty_name }}
@lang('app.intro-text')
{!! Form::open([ 'route' => 'programs.store', 'class' => 'create-colleges', 'method' => 'POST', 'role' => 'form', ]) !!} {!! Form::hidden('faculty_id', $school_id) !!}
{!! Form::label('department_id', 'Select Department') !!}
{!! Form::select(
'department_id',
$departments,
null,
$errors->has('department_id')
? ['class' => 'form-control is-invalid', 'id' => 'department_id']
: ['class' => 'form-control', 'id' => 'department_id'],
) !!}
{!! Form::label('program_name', 'Program Name*') !!}
{!! Form::text(
'program_name',
old('program_name'),
$errors->has('program_name')
? ['placeholder' => 'Program Name', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Program Name', 'class' => 'form-control'],
) !!}
@if ($errors->has('program_name'))
{{ $errors->first('program_name') }}
@endif
{!! Form::label('program_acronym', 'Program Acronym*') !!}
{!! Form::text(
'program_acronym',
old('program_acronym'),
$errors->has('program_acronym')
? ['placeholder' => 'Program Acronym', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Program Acronym', 'class' => 'form-control'],
) !!}
@if ($errors->has('program_acronym'))
{{ $errors->first('program_acronym') }}
@endif
{!! Form::label('program_code', 'Program Code*') !!}
{!! Form::text(
'program_code',
old('program_code'),
$errors->has('program_code')
? ['placeholder' => 'Program Code', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Program Code', 'class' => 'form-control'],
) !!}
@if ($errors->has('program_code'))
{{ $errors->first('program_code') }}
@endif
{!! Form::label('is_approved', 'Select Approval') !!}
{!! Form::select(
'is_approved',
$approval,
null,
$errors->has('is_approved')
? ['class' => 'form-control is-invalid', 'id' => 'is_approved']
: ['class' => 'form-control', 'id' => 'is_approved'],
) !!}
{!! Form::label('program_type', 'Select Type') !!}
{!! Form::select(
'program_type',
$program_types,
null,
$errors->has('program_type')
? ['class' => 'form-control is-invalid', 'id' => 'program_type']
: ['class' => 'form-control', 'id' => 'program_type'],
) !!}
{!! Form::label('program_category', 'Select Category') !!}
{!! Form::select(
'program_category',
$program_category,
null,
$errors->has('program_category')
? ['class' => 'form-control is-invalid', 'id' => 'program_category']
: ['class' => 'form-control', 'id' => 'program_category'],
) !!}
{!! Form::label('program_duration', 'Select Program Duration') !!}
{!! Form::select(
'program_duration',
$program_duration,
null,
$errors->has('program_duration')
? ['class' => 'form-control is-invalid', 'id' => 'program_duration']
: ['class' => 'form-control', 'id' => 'program_duration'],
) !!}
{!! Form::label('program_weight', 'Program Weight*') !!}
{!! Form::text(
'program_weight',
old('program_weight'),
$errors->has('program_weight')
? ['placeholder' => 'Program Weight', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Program Weight', 'class' => 'form-control'],
) !!}
@if ($errors->has('program_weight'))
{{ $errors->first('program_weight') }}
@endif
{!! Form::label('tuition_fee', 'Program Fee*') !!}
{!! Form::text(
'tuition_fee',
old('tuition_fee'),
$errors->has('tuition_fee')
? ['placeholder' => 'Program Fee', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Program Fee', 'class' => 'form-control'],
) !!}
@if ($errors->has('tuition_fee'))
{{ $errors->first('tuition_fee') }}
@endif
{!! Form::label('min_acceptable_amount', 'Min Acceptable Program Fee*') !!}
{!! Form::text(
'min_acceptable_amount',
old('min_acceptable_amount'),
$errors->has('min_acceptable_amount')
? ['placeholder' => 'Min Acceptable Program Fee', 'class' => 'form-control is-invalid']
: ['placeholder' => 'Min Acceptable Program Fee', 'class' => 'form-control'],
) !!}
@if ($errors->has('tuition_fee'))
{{ $errors->first('min_acceptable_amount') }}
@endif
{{ Form::button('Submit', ['type' => 'submit', 'class' => 'btn btn-lg btn-success pull-right']) }}