@extends('layouts/apply_layout') @section('title') @endsection @section('navContent') @include('partials/_navUmsFinalStudent') @endsection @section('content')
{{-- @php if($message) { echo $message; } else { } @endphp --}} @php $totalOtherFeeAmount = 0; @endphp @if($courseLimit)
Add Course Registration
{!! Form::open(array('url' => '', 'id' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!} {{--
{!! Form::label('trimesterId', 'Trimester:', ['class' => 'col-sm-3 control-label']) !!}

--}}
{!! Form::label('courseId', 'Select Courses:', ['class' => 'col-sm-3 control-label']) !!}

{!! Form::hidden('code', $value = null, ['class' => 'form-control', 'id' => 'code', 'type' => 'hidden', 'placeholder' => 'code']) !!} {!! Form::hidden('creditHour', $value = null, ['class' => 'form-control', 'id' => 'code', 'type' => 'hidden', 'placeholder' => 'code']) !!} {!! Form::hidden('courseId', $value = null, ['class' => 'form-control', 'id' => 'courseId', 'type' => 'hidden', 'placeholder' => 'course']) !!} {!! Form::hidden('programId', $value = null, ['class' => 'form-control', 'id' => 'programId', 'type' => 'hidden', 'placeholder' => 'Program']) !!} {!! Form::hidden('amount', $value = null, ['class' => 'form-control', 'id' => 'amount', 'type' => 'hidden', 'placeholder' => 'amount']) !!}
{{-- {!! Form::label('submit', ' ', ['class' => 'col-sm-12 control-label']) !!}--}}
@foreach($registrationOtherFees as $key=> $otherFee) @php $totalOtherFeeAmount = $totalOtherFeeAmount + $otherFee->amount; @endphp @endforeach
#SL Title Amount
{{$key+1}} {{$otherFee->name}} {{$otherFee->amount}}
Total : {{$totalOtherFeeAmount}}

#SL Code Title Credit Hour Amount Action

{!! Form::label('submit', ' ', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::button('Save', ['id' => 'add', 'class' => 'btn btn-info']) !!} {{ Form::reset('Reset', ['class' => 'btn btn-warning']) }} Close
{!! Form::close() !!}
@else

Course Offer is not Published Yet

@endif @endsection