@extends('layouts/eims_layout') @section('title', '| ' . $pageTitle) @section('content')
Add {{ $pageTitle }}
{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups']) !!} @if (isset($companyType) && $companyType == 'UNV')
{!! Form::label( 'faculty_id', 'Faculty: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::select('faculty_id', $faculty, null, [ 'class' => 'form-control', 'id' => 'faculty_id', 'placeholder' => 'Please Select Faculty', ]) !!}

{{-- Department Id --}}
{!! Form::label( 'department_id', 'Department: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::select('department_id', $departments ?? [], null, [ 'class' => 'form-control', 'id' => 'department_id', 'placeholder' => 'Please Select Department', ]) !!}

{!! Form::label( 'degree_type_id', 'Degree Type: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::select('degree_type_id', $degreeType, null, [ 'class' => 'form-control', 'id' => 'degree_type_id', 'placeholder' => 'Please Select Degree Type', ]) !!}

{!! Form::label( 'total_credit_hour', 'Total Credit Hour: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('total_credit_hour', $value = null, [ 'class' => 'form-control', 'id' => 'total_credit_hour', 'type' => 'text', 'placeholder' => 'Enter Total Credit Hour', ]) !!}

@endif
{!! Form::label('name', 'Name: *', ['class' => 'col-sm-3 control-label'], false) !!}
{!! Form::text('name', $value = null, [ 'class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter title/name', ]) !!}

{!! Form::label( 'program_code_no', $companyType == 'UNV' ? 'Program Code/No: *' : 'Medium Code/No: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('program_code_no', $value = null, [ 'class' => 'form-control', 'id' => 'program_code_no', 'type' => 'text', 'placeholder' => 'Enter code/no', ]) !!}

{!! Form::label('submit', ' ', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection