Ejemplo n.º 1
0
<table class="table table-bordered" id="tbl_cl">
    <caption>
        <strong>
            Academicterm SY:
            <?php 
$acam = App\Academicterm::find($system->phaseterm);
?>
             {{ $acam->systart.' - '.$acam->syend.' Term: '.$acam->term }}
        </strong>
    </caption>
    <tr>
        <th style="text-align:center;">Subject</th>
        <th style="text-align:center;">Course</th>
        <th style="text-align:center;">Day</th>
        <th style="text-align:center;">Period</th>
        <th style="text-align:center;">Room</th>
        <th style="text-align:center;">Action</th>
    </tr>

    @foreach ($class as $cl)
        <tr>
            <td>{{ $cl->getSubject->code }}</td>
            <td> {{ $cl->getCourse->shortname or '' }} </td>
            <td style="text-align:center;">
                {{ App\Day::getShortDay($cl->id) }}
            </td>
            <td style="text-align:center;">
                {{ App\Time::getPeriod($cl->id) }}
            </td>
            <td>
                <?php 
Ejemplo n.º 2
0
                        <button type="submit" class="btn btn-primary pull-right btn-raised">Save</button>
                    </div>
                </div>
            </form>

            <div class="panel-body">
                <strong class="strong">LIST OF SUBJECTS</strong>
        		<div class="table-responsive">
                    <table class="table table-bordered no-space">
                        <tr>
                            <th>Course</th>
                            <th>{{ $course }}</th>
                            <th>Effectivity</th>
                            <th colspan="2" class="text-center">
                                <?php 
$acam = App\Academicterm::find($cur->academicterm);
?>
                                {{ $acam->systart.'-'.$acam->syend }}
                            </th>
                        </tr>

                        @foreach($cur_detail as $curriculum_detail)
                            <tr>
                                <td class="tbl-header-main" colspan="5">Year Level : {{ $curriculum_detail->yearlevel }}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Term : {{ $curriculum_detail->term }}</td>
                            </tr>
                            <tr>
                                <td class="tbl-header">Code</td>
                                <td class="tbl-header">Descriptive Title</td>
                                <td class="tbl-header" colspan="2">Units</th>
                                <td class="tbl-header">Action</th>
                        	</tr>
Ejemplo n.º 3
0
    <div class="col-md-9">
        <div class="panel panel-success p-body">
            <div class="panel-heading search">
                <div class="col-md-12">
                    <h4>Student Statistics</h4>
                </div>
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <div class="col-sm-12">

                        @if ($nxt->phase == env('FIN') AND $nxt->classallocationstatus == 0)
                            <div class="alert alert-info center-block" id="confirmBox" style="max-width:400px;">
                                <strong> Do you want to run the student statistics for <br/>
                                <?php 
$acam = App\Academicterm::find($nxt->nextacademicterm);
?>
                                {{ $acam->systart }} - {{ $acam->syend }} Term: {{ $acam->term }}
                                </strong>
                                <br/>
                                <input type="button" name="btnYes" class="btn btn-primary pull-right" value="Yes">
                                <span class="clearfix">
                            </div>
                        @elseif($nxt->classallocationstatus > 0)
                            <div class="alert alert-danger center-block" style="text-align:center;width:400px;">
                                You have already run this program .... !!!
                            </div>
                        @else
                            <div class="alert alert-danger center-block" style="text-align:center;width:400px;">
                                Current Phase term is not FINALS !!!
                                <br/>
Ejemplo n.º 4
0
    </div>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title" id="myModalLabel">Copy Curriculum</h3>
                </div>
                <div class="modal-body">
                    <form action="{{ url('copy_curriculum') }}" method="post">
                        <input type="hidden" name="curriculum_id" value="">
                        <label>Copy To : </label>
                        <select class="form-control" name="sy_id">
                            <?php 
$acam = App\Academicterm::all();
?>

                            @foreach($acam as $ac)
                                <option value="{{ $ac->id }}">{{ $ac->systart.'-'.$ac->syend }}</option>
                            @endforeach

                        </select>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary">Save changes</button>
                </div>
            </div>
        </div>
Ejemplo n.º 5
0
					<div class="col-sm-12">

						@include('edp.cl_status', ['system' => $system])

						@if ($system->classallocationstatus == 1)

							@if ($count < 1)
								<a href="/non_exist" class="btn btn-primary btn pull-right">Add Non - Existing Subject</a>
								<span class="clearfix"></span>
								<br/>

								<table class="table table-bordered">
									<caption>
										Preparation for Academicterm SY:
										<?php 
$sy = App\Academicterm::find($system);
?>
										{{ $sy->systart.' - '.$sy->syend.' Term: '.$sy->term }}

										@if (Session::get('uid') == $system->employeeid)
											<?php 
$col = DB::table('tbl_college')->where('id', $owner)->first();
?>
											{{ 'College'.$col->description }}
										@endif

									</caption>
									<tr>
										<th>Subject</th>
										<th>Description</th>
										<th>Course</th>
Ejemplo n.º 6
0
<form class="form-horizontal add-user" method="post" action="{{ url('studentcount') }}" role="form">
<?php 
$t = App\Academicterm::find($system->currentacademicterm);
?>

@if($t->term != 2)
    <input type="hidden" name="acam" value="{{ $system->phaseterm }}">
    <table class="table">
    	<caption>
    		<strong>
    		Preparation Statistics for Academicterm SY:
            <?php 
$nnxt = App\Academicterm::find($system->nextacademicterm);
?>
            {{ $nnxt->systart.' - '.$nnxt->syend.' Term: '.$nnxt->term }}
    		 </strong>
    	</caption>
    	<tr>
    		<td>Course</td>
    		<td>Year Level</td>
    		<td>Number of Student</td>
    	</tr>
	<?php 
$curs = DB::table('tbl_course')->get();
?>
    @foreach($curs as $cu)
        <?php 
$yearL = array(0 => 0, 1 => 0, 2 => 0, 3 => 0);
$course = $cu['id'];
$count = 0;
?>
Ejemplo n.º 7
0
@section('title', 'Class List')

@section('body')
    <div class="col-md-3"></div>
    <div class="col-md-9">
        <br/>
        <div class="mdl-card mdl-shadow--4dp">
            {{-- add header information like academicterm --}}
            <div class="mdl-card__title text-center mdl-color--green-900">
                <h1 class="mdl-card__title-text mdl-color-text--yellow-300">Classes List</h1>
            </div>
            <div class="mdl-card__supporting-text">
                <table class="table">
                    <?php 
$term = App\Academicterm::getShortTerm($acam->term);
?>
                    <caption class="text-center">
                        <h3>{{ $acam->systart.' - '.$acam->syend.' Term: '.$term->shortname }}</h3>
                    </caption>
                    <thead>
                        <tr>
                            <th>Course</th>
                            <th>Subject</th>
                            <th>Room</th>
                            <th>Day</th>
                            <th>Time</th>
                            <th class="text-center">Action</th>
                        </tr>
                    </thead>
                    <tbody>