本文整理汇总了PHP中AcademicTermPeriod类的典型用法代码示例。如果您正苦于以下问题:PHP AcademicTermPeriod类的具体用法?PHP AcademicTermPeriod怎么用?PHP AcademicTermPeriod使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AcademicTermPeriod类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: actionRecpt_list
public function actionRecpt_list()
{
$this->layout = 'receipt_layout';
$misc_fees_payment = MiscellaneousFeesPaymentCheque::model()->findByPk($_REQUEST['id']);
$model = StudentTransaction::model()->findByPk($misc_fees_payment->miscellaneous_fees_payment_cheque_student_id);
$stud_id = $model->student_transaction_student_id;
$stud_model = StudentInfo::model()->findByPk($model->student_transaction_student_id);
$acd_term = AcademicTermPeriod::model()->findByPk($model->student_academic_term_period_tran_id);
$branch = Branch::model()->findByPk($model->student_transaction_branch_id);
//print_r($_REQUEST['id']);
//print "<br/>model".$misc_fees_payment->miscellaneous_fees_payment_cash_student_id;
//print "<br/>reciept_no".$misc_fees_payment->miscellaneous_fees_payment_cash_receipt_id;
//print "<br/>stud_id".$model->student_transaction_student_id;
//print "<br/>curent date".date('d/m/y');
//print "<br/>stud_model".$stud_model->student_first_name.''.$stud_model->student_middle_name.''.$stud_model->student_last_name;
//print "<br/>dbdate".$misc_fees_payment->miscellaneous_fees_payment_cash_creation_date;
//print "<br/>branch_name".$branch->branch_name;
//print "<br/>academic_term".$acd_term->academic_terms_period_name;
//print "</br>roll no".$stud_model->student_roll_no;
//exit;
$this->render('recpt_list', array('model' => $model, 'stud_model' => $stud_model, 'acd_term' => $acd_term, 'branch' => $branch, 'misc_fees_payment' => $misc_fees_payment));
}
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:22,代码来源:MiscellaneousFeesPaymentChequeController.php
示例2: array
<?php
$this->breadcrumbs = array('Semester' => array('admin'), $model->academic_term_name);
$this->menu = array(array('label' => '', 'url' => array('create'), 'linkOptions' => array('class' => 'Create', 'title' => 'Add')), array('label' => '', 'url' => array('update', 'id' => $model->academic_term_id), 'linkOptions' => array('class' => 'Edit', 'title' => 'Edit')), array('label' => '', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->academic_term_id), 'confirm' => 'Are you sure you want to delete this item?', 'class' => 'Delete', 'title' => 'Delete')), array('label' => '', 'url' => array('admin'), 'linkOptions' => array('class' => 'Manage', 'title' => 'Manage')));
?>
<h1>View Semester <?php
//echo $model->academic_term_id;
?>
</h1>
<?php
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('academic_term_name', array('name' => 'academic_term_start_date', 'type' => 'raw', 'value' => $model->academic_term_start_date == 00 - 00 - 00 ? 'Not Set' : date_format(new DateTime($model->academic_term_start_date), 'd-m-Y')), array('name' => 'academic_term_end_date', 'type' => 'raw', 'value' => $model->academic_term_end_date == 00 - 00 - 00 ? 'Not Set' : date_format(new DateTime($model->academic_term_end_date), 'd-m-Y')), array('name' => 'academic_term_period_id', 'value' => AcademicTermPeriod::model()->findByPk($model->academic_term_period_id)->academic_term_period), array('name' => 'current_sem', 'value' => $model->current_sem == 1 ? "YES" : "NO"), array('name' => 'Organization', 'value' => Organization::model()->findByPk($model->academic_term_organization_id)->organization_name, 'filter' => false))));
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:13,代码来源:view.php
示例3: or
background: #f1f6ff;
}
table tr:nth-child(odd) { /*(odd) or (2n 1)*/
background: white;
}
th{text-align:left;font-weight:normal;color:#990a10;width:110px;border:0.4px solid #74b9f0;height:24px;}
.title{color:seagreen;}
td{border:0.4px solid #74b9f0;height:24px;}
.label{text-align:left;font-weight:normal;color:#990a10;width:110px;height:24px;}
</style>
<?php
$StudentInfo = StudentInfo::model()->findByPk($student_transaction[0]->student_transaction_student_id);
$AcademicTermPeriod = AcademicTermPeriod::model()->findByPk($student_transaction[0]->academic_term_period_id);
$AcademicTerm = AcademicTerm::model()->findByPk($student_transaction[0]->academic_term_id);
if($student_transaction[0]->student_transaction_nationality_id != null)
$Nationality = Nationality::model()->findByPk($student_transaction[0]->student_transaction_nationality_id);
else
$Nationality = new Nationality;
$Batch = Batch::model()->findByPk($student_transaction[0]->student_transaction_batch_id);
$Course = Course::model()->findByPk($student_transaction[0]->course_id);
if($student_transaction[0]->student_transaction_languages_known_id != null)
$LanguagesKnown = LanguagesKnown::model()->findByPk($student_transaction[0]->student_transaction_languages_known_id);
if($student_transaction[0]->student_transaction_student_address_id != null)
$StudentAddress = StudentAddress::model()->findByPk($student_transaction[0]->student_transaction_student_address_id);
else
$StudentAddress = new StudentAddress;
if($student_transaction[0]->student_transaction_parent_id != null || $student_transaction[0]->student_transaction_parent_id != 0)
$parent = ParentLogin::model()->findByPk($student_transaction[0]->student_transaction_parent_id);
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:31,代码来源:studentfinalview.php
示例4:
if (!empty($branch1)) {
if (!empty($div)) {
$stud_trans = StudentTransaction::model()->findByAttributes(array('student_transaction_id' => $data['fees_student_id'], 'student_transaction_branch_id' => $branch1, 'student_transaction_division_id' => $div));
} else {
$stud_trans = StudentTransaction::model()->findByAttributes(array('student_transaction_id' => $data['fees_student_id'], 'student_transaction_branch_id' => $branch1));
}
} else {
$stud_trans = StudentTransaction::model()->findByPk($data['fees_student_id']);
}
if (empty($stud_trans)) {
continue;
}
$stud_model = StudentInfo::model()->findByAttributes(array('student_id' => $stud_trans['student_transaction_student_id']));
$sem_name = AcademicTerm::model()->findByPk($data['fees_academic_term_id']);
$branch = Branch::model()->findByPk($stud_trans['student_transaction_branch_id']);
$acd_term = AcademicTermPeriod::model()->findByPk($data['fees_academic_period_id']);
$field1 = '-';
$field2 = '-';
$field3 = '-';
$field4 = '-';
$field5 = 'CASH';
if ($data['fees_payment_method_id'] == 1) {
$cash_amt = FeesPaymentCash::model()->findByPk($data['fees_payment_cash_cheque_id']);
$amount = $cash_amt->fees_payment_cash_amount;
} else {
$cash_amt = FeesPaymentCheque::model()->findByPk($data['fees_payment_cash_cheque_id']);
$amount = $cash_amt->fees_payment_cheque_amount;
$field1 = $cash_amt->fees_payment_cheque_number;
$date = date_create($cash_amt->fees_payment_cheque_date);
$field2 = date_format($date, 'd-m-Y');
$bank_name = BankMaster::model()->findByPk($cash_amt->fees_payment_cheque_bank);
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:branch_receipt_generate_view.php
示例5:
if(!empty($if_detain))
{?>
<tr class="<?php echo $class;?>">
<td><?php echo ++$i;?></td>
<td><?php echo AcademicTermPeriod::model()->findByPk($if_detain['academic_term_period_id'])->academic_term_period; ?></td>
<td><?php echo "Sem-".AcademicTerm::model()->findByPk($if_detain['sem'])->academic_term_name; ?></td>
<td>Detain</td>
</tr>
<?php $m++; $st="Rejoin/Regular";
}
$if_stud_arch = StudentArchiveTable::model()->findByAttributes(array('student_archive_stud_tran_id'=>$stud_trans[0]['student_transaction_id'],'student_archive_ac_t_n_id'=>$data['academic_term_id']));
if($if_stud_arch)
{?>
<tr class="<?php echo $class;?>">
<td><?php echo ++$i;?></td>
<td><?php echo AcademicTermPeriod::model()->findByPk($if_stud_arch['student_archive_ac_t_p_id'])->academic_term_period; ?></td>
<td><?php echo "Sem-".AcademicTerm::model()->findByPk($if_stud_arch['student_archive_ac_t_n_id'])->academic_term_name; ?></td>
<td><?php echo $st;?></td>
</tr>
<?php $m++; }
}
?>
</table>
<?php } ?>
<?php
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:31,代码来源:student_history_view.php
示例6:
echo $form->label($model, 'fees_branch_id');
?>
<?php
echo $form->textField($model, 'fees_branch_id');
?>
</div>
-->
<div class="row">
<?php
echo $form->label($model, 'fees_academic_term_id');
?>
<?php
//echo $form->textField($model,'fees_academic_term_id');
?>
<?php
echo $form->dropDownList($model, 'fees_academic_term_id', AcademicTermPeriod::items());
?>
</div>
<!--
<div class="row">
<?php
echo $form->label($model, 'fees_quota_id');
?>
<?php
echo $form->textField($model, 'fees_quota_id');
?>
</div>
-->
<div class="row buttons">
<?php
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_search.php
示例7:
">
<td>
<?php
echo $k;
?>
</td>
<td>
<?php
echo Branch::model()->findByPk($i['fees_branch_id'])->branch_name;
?>
</td>
<td>
<?php
echo AcademicTermPeriod::model()->findByPk($i['fees_academic_term_id'])->academic_term_period;
?>
</td>
<td>
<?php
echo AcademicTerm::model()->findByPk($i['fees_academic_term_name_id'])->academic_term_name;
?>
</td>
<td>
<?php
echo Quota::model()->findByPk($i['fees_quota_id'])->quota_name;
?>
</td>
<td>
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:30,代码来源:report_view.php
示例8: array
),
array('name' => 'student_first_name',
'value' => '$data->Rel_Stud_Info->student_first_name',
),
array('name' => 'student_middle_name',
'value' => '$data->Rel_Stud_Info->student_middle_name',
),
array('name' => 'student_last_name',
'value' => '$data->Rel_Stud_Info->student_last_name',
),
array('name'=>'student_archive_ac_t_p_id',
'value'=>'AcademicTermPeriod::model()->findByPk($data->student_archive_ac_t_p_id)->academic_term_period',
'filter' =>CHtml::listData(AcademicTermPeriod::model()->findAll(), 'academic_terms_period_id','academic_term_period'),
),
array('name'=>'student_archive_ac_t_n_id',
'value'=>'AcademicTerm::model()->findByPk($data-> student_archive_ac_t_n_id)->academic_term_name',
'filter' =>CHtml::listData(AcademicTerm::model()->findAll(), 'academic_term_id','academic_term_name','academicTermPeriod.academic_term_period'),
),
array('name' => 'status_name',
'value' => '$data->Rel_Status->status_name',
),
array('name'=>'student_archive_branch_id',
'value'=>'Branch::model()->findByPk($data->student_archive_branch_id)->branch_name',
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:31,代码来源:admin.php
示例9: array
<h1>Reset Student Password</h1>
<div class="portlet box blue">
<div class="portlet-title"> Student List
</div>
<?php
//echo CHtml::link('Advanced Search','#',array('class'=>'search-button'));
$dataProvider = $model->resetloginstudentsearch();
if (Yii::app()->user->getState("pageSize", @$_GET["pageSize"])) {
$pageSize = Yii::app()->user->getState("pageSize", @$_GET["pageSize"]);
} else {
$pageSize = Yii::app()->params['pageSize'];
}
$dataProvider->getPagination()->setPageSize($pageSize);
?>
<div class="block-error">
<?php
echo Yii::app()->user->getFlash('resetstudpassword');
?>
</div>
<?php
$this->widget('zii.widgets.grid.CGridView', array('id' => 'student-transaction-grid', 'dataProvider' => $dataProvider, 'filter' => $model, 'columns' => array(array('header' => 'SI No', 'class' => 'IndexColumn'), array('name' => 'student_enroll_no', 'value' => '$data->Rel_Stud_Info->student_enroll_no'), array('name' => 'student_first_name', 'value' => '$data->Rel_Stud_Info->student_first_name'), array('name' => 'student_last_name', 'value' => '$data->Rel_Stud_Info->student_last_name'), array('name' => 'student_academic_term_period_tran_id', 'value' => 'AcademicTermPeriod::model()->findByPk($data->student_academic_term_period_tran_id)->academic_term_period', 'filter' => CHtml::listData(AcademicTermPeriod::model()->findAll(), 'academic_terms_period_id', 'academic_term_period')), array('name' => 'student_transaction_course_id', 'value' => 'CourseMaster::model()->findByPk($data->student_transaction_course_id)->course_name', 'filter' => CHtml::listData(CourseMaster::model()->findAll(), 'course_master_id', 'course_name')), array('name' => 'student_transaction_user_id', 'value' => 'User::model()->findByPk($data->student_transaction_user_id)->user_organization_email_id', 'filter' => CHtml::listData(User::model()->findAll(array('condition' => ' user_type="student"')), 'user_id', 'user_organization_email_id')), array('class' => 'CButtonColumn', 'template' => '{Reset Password}', 'buttons' => array('Reset Password' => array('label' => 'Reset Password', 'url' => 'Yii::app()->createUrl("user/update_stud_password", array("id"=>$data->student_transaction_user_id))', 'imageUrl' => Yii::app()->baseUrl . '/images/Reset Password.png', 'options' => array('id' => 'update-student-status'))))), 'pager' => array('class' => 'AjaxList', 'maxButtonCount' => $model->count(), 'header' => '')));
?>
</div>
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:28,代码来源:resetstudpassword.php
示例10: array
$total = 0;
$student_fees = StudentFeesMaster::model()->findAll('fees_master_table_id = :fees_master_id AND student_fees_master_student_transaction_id = :student_id', array(':fees_master_id' => $f->fees_payment_master_id, ':student_id' => $f->fees_student_id));
//print_r($student_fees); exit;
foreach ($student_fees as $fees_data) {
$total += $fees_data->fees_details_amount;
}
$payable = $total;
//$payable = FeesMaster::model()->findByPk($f->fees_payment_master_id)->fees_master_total;
$payable1 = $payable;
//$out = $payable - $var;
}
$out = $payable - $var;
$ch_num = FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id)->fees_payment_cheque_number;
echo "<tr class=" . $class . ">";
echo "<td>" . $i . "</td>";
echo "<td>" . AcademicTermPeriod::model()->findByPk($f->fees_academic_period_id)->academic_term_period . "</td>";
echo "<td>" . AcademicTerm::model()->findByPk($f->fees_academic_term_id)->academic_term_name . "</td>";
echo "<td>" . FeesPaymentMethod::model()->findByPk($f->fees_payment_method_id)->fees_payment_method_name . "</td>";
//echo "<td>".FeesMaster::model()->findByPk($f->fees_payment_master_id)->fees_master_total."</td>";
echo "<td>" . $payable1 . "</td>";
$chqmodel = FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id);
echo "<td>" . $chqmodel->fees_payment_cheque_amount . "</td>";
//$var += FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id)->fees_payment_cheque_amount;
$bank_model = BankMaster::model()->findByPk($chqmodel->fees_payment_cheque_bank);
$bank_name = $bank_model->bank_short_name;
$bank_branch = $bank_model->bank_short_name;
$date = $f->fees_received_date;
$new_date = date("d-m-Y", strtotime($date));
echo "<td>" . $new_date . "</td>";
echo "<td>" . $bank_name . "</td>";
echo "<td>" . $bank_branch . "</td>";
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:student_fees_report_pdf.php
示例11: array
<?php
$this->breadcrumbs = array('Semester' => array('admin'), $model->academic_term_name);
?>
<h1>View Semester <?php
//echo $model->academic_term_id;
?>
</h1>
<div class="operation">
<?php
echo CHtml::link('Back', array('admin'), array('class' => 'btnback'));
echo CHtml::link('Edit', array('update', 'id' => $model->academic_term_id), array('class' => 'btnupdate'));
echo CHtml::link('Delete', array('delete', 'id' => $model->academic_term_id), array('class' => 'btndelete', 'onclick' => "return confirm('Are you sure want to delete?');"));
?>
</div>
<div class="portlet box blue">
<i class="icon-reorder"></i>
<div class="portlet-title">View Details
</div>
<?php
$this->widget('application.extensions.DetailView4Col', array('data' => $model, 'attributes' => array('academic_term_name', array('name' => 'academic_term_start_date', 'type' => 'raw', 'value' => $model->academic_term_start_date == 00 - 00 - 00 ? 'Not Set' : date_format(new DateTime($model->academic_term_start_date), 'd-m-Y')), array('name' => 'academic_term_end_date', 'type' => 'raw', 'value' => $model->academic_term_end_date == 00 - 00 - 00 ? 'Not Set' : date_format(new DateTime($model->academic_term_end_date), 'd-m-Y')), array('name' => 'academic_term_period_id', 'value' => AcademicTermPeriod::model()->findByPk($model->academic_term_period_id)->academic_term_period), array('name' => 'current_sem', 'value' => $model->current_sem == 1 ? "YES" : "NO")), 'htmlOptions' => array('class' => 'custom-view')));
?>
</div>
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:27,代码来源:view.php
示例12: array
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'fees_branch_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'fees_academic_term_id');
?>
<?php
//echo $form->dropDownList($model,'fees_academic_term_id',AcademicTermPeriod::items(), array('empty' => '----------Select--------'));
?>
<?php
echo $form->dropDownList($model, 'fees_academic_term_id', AcademicTermPeriod::items(), array('prompt' => 'Select Year', 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getFeesmasterItemName'), 'update' => '#FeesMaster_fees_academic_term_name_id')));
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'fees_academic_term_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'fees_academic_term_name_id');
?>
<?php
//echo $form->dropDownList($model,'fees_academic_term_name_id',array());
?>
<?php
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_form.php
示例13: rgb
?>
<?php
/*$_SESSION['branch_id']=$_REQUEST['branch_id'];
$_SESSION['acm_id']=$_REQUEST['acm_id'];
$_SESSION['acm_name_id']=$_REQUEST['acm_name_id'];*/
//echo CHtml::link('Export to pdf',array('paid','paidExport'=>'paidpdf','branch_id'=>$_REQUEST['branch_id'],'acm_id'=>$_REQUEST['acm_id'],'acm_name_id'=>$_REQUEST['acm_name_id']));
if ($data) {
?>
<table class="table_data">
<th colspan="11" style="font-size: 18px; color: rgb(255, 255, 255);">
Paid/Partialy Paid Student<br/>
<?php
echo "Branch : " . Branch::model()->findByPk($_REQUEST['branch_id'])->branch_name . "(" . Quota::model()->findByPk($_REQUEST['quota'])->quota_name . ")<br/>";
echo "Semester: " . AcademicTerm::model()->findByPk($_REQUEST['acm_name_id'])->academic_term_name . "(" . AcademicTermPeriod::model()->findByPk($_REQUEST['acm_id'])->academic_term_period . ")";
?>
</th>
<tr class="table_header">
<th>SI.No.</th>
<th>Enroll No.</th>
<th>Roll No.</th>
<th>Name</th>
<th>Payable Amount</th>
<th>Paid Amount</th>
<th>Outstanding</th>
</tr>
<?php
$i = 0;
$m = 1;
$grandpayable = 0;
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:paid_student.php
示例14: loadModel
/**
* Returns the data model based on the primary key given in the GET variable.
* If the data model is not found, an HTTP exception will be raised.
* @param integer the ID of the model to be loaded
*/
public function loadModel($id)
{
$model = AcademicTermPeriod::model()->findByPk($id);
if ($model === null) {
throw new CHttpException(404, 'The requested page does not exist.');
}
return $model;
}
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:13,代码来源:AcademicTermPeriodController.php
示例15: array
echo $form->error($model, 'shift_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'sem_id');
?>
<?php
//echo $form->textField($model,'sem_id');
?>
<?php
//echo $form->dropDownList($model,'sem_id', CHtml::listData(AcademicTermPeriod::model()->findAll(), 'academic_terms_period_id', 'academic_terms_period_name'));
?>
<?php
echo $form->dropDownList($model, 'sem_id', AcademicTermPeriod::items(), array('empty' => '-----------Select---------', 'tabindex' => 2));
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'sem_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'branch_id');
?>
<?php
//echo $form->textField($model,'branch_id');
?>
<?php
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:test.php
示例16:
<?php
echo StudentInfo::model()->findByPk($v['student_transaction_student_id'])->student_first_name;
?>
</td>
<td>
<?php
echo StudentInfo::model()->findByPk($v['student_transaction_student_id'])->student_last_name;
?>
</td>
<td>
<?php
echo AcademicTermPeriod::model()->findByPk($v['student_academic_term_period_tran_id'])->academic_term_period;
?>
</td>
<td>
<?php
if (isset($v['student_academic_term_name_id'])) {
echo "Sem-" . AcademicTerm::model()->findByPk($v['student_academic_term_name_id'])->academic_term_name;
} else {
echo "N/A";
}
?>
</td>
<td>
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:StudentTransactionExportPdf.php
示例17: array
$this->menu = array();
?>
<h1>Generating Student Postal Label</h1>
<div class="form">
<?php
$form = $this->beginWidget('CActiveForm', array('id' => 'studentinfo-form', 'enableAjaxValidation' => true));
?>
<p class="note"><span class="required"></span> </p>
<div class="row">
<?php
echo CHtml::label('Term Period', '');
?>
<?php
echo CHtml::dropDownList('acdm_period', null, AcademicTermPeriod::items(), array('prompt' => '---------------Select-------------', 'tabindex' => 1, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getIdAcademicterm'), 'update' => '#acdm_name')));
?>
</div>
<div class="row">
<?php
echo CHtml::label('Term Name', '');
?>
<?php
echo CHtml::dropDownList('acdm_name', null, array('empty' => '---------------Select-------------'), array('tabindex' => 2));
?>
</div>
<div class="row">
<?php
echo CHtml::label('Branch', '');
?>
<?php
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:postaladdress.php
示例18: array
</div>
-->
<div class="row">
<div>
<?php
echo $form->labelEx($model, 'sem_id');
?>
<?php
//echo $form->dropDownList($model,'student_academic_term_period_tran_id',AcademicTermPeriod::items(), array('empty' => '-----------Select---------','tabindex'=>17));
?>
<?php
echo $form->dropDownList($model, 'sem_id', AcademicTermPeriod::items(), array('prompt' => '---------------Select-------------', 'tabindex' => 2, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('Attendence/getItemName'), 'update' => '#Attendence_sem_name_id')));
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'sem_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'sem_name_id');
?>
<?php
//echo $form->dropDownList($model,'student_academic_term_name_id',array());
?>
<?php
if (isset($model->sem_name_id)) {
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:update_form.php
示例19:
$this->menu=array(
array('label'=>'List StudentFeesMaster', 'url'=>array('index')),
array('label'=>'Create StudentFeesMaster', 'url'=>array('create')),
array('label'=>'View StudentFeesMaster', 'url'=>array('view', 'id'=>$model->student_fees_master_id)),
array('label'=>'Manage StudentFeesMaster', 'url'=>array('admin')),
);*/
?>
<h1>Edit Student Fees <?php
//echo $model->student_fees_master_id;
?>
</h1></br>
<?php
$stud_info = StudentInfo::model()->findByAttributes(array('student_info_transaction_id' => $model->student_fees_master_student_transaction_id));
$stud_tran_info = StudentTransaction::model()->findByPk($model->student_fees_master_student_transaction_id);
$academic_period = AcademicTermPeriod::model()->findByPk($stud_tran_info->student_academic_term_period_tran_id)->academic_term_period;
$semester = AcademicTerm::model()->findByPk($stud_tran_info->student_academic_term_name_id)->academic_term_name;
?>
<table border="2px" id="twoColThinTable">
<tr class="row">
<td class="col1">Name </td>
<td class="col2"><?php
echo $stud_info->student_first_name . ' ' . $stud_info->student_middle_name . ' ' . $stud_info->student_last_name;
?>
</td>
</tr>
<tr class="row">
<td class="col1">Enrollment No. </td>
<td class="col2"><?php
echo $stud_info->student_enroll_no;
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:update.php
示例20:
array(
'name'=>'academic_term_start_date',
'type'=>'raw',
'value'=>$model->academic_term_start_date,
),
array(
'name'=>'academic_term_end_date',
'type'=>'raw',
'value'=>$model->academic_term_end_date,
),
array(
'name'=>'course_id',
'type'=>'raw',
'value'=>($model->course_id==0) ? "Not Set" : $model->Rel_course->course_name,
),
// 'academic_term_period_id',
array('name'=>'academic_term_period_id',
'value'=>AcademicTermPeriod::model()->findByPk($model->academic_term_period_id)->academic_term_period,
),
array(
'name'=>'current_sem',
'value'=>($model->current_sem == 1) ? "YES" : "NO",
),
),
//'htmlOptions'=> array('class'=>'report-table'),
)); ?>
</div>
</div>
</div>
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:30,代码来源:view.php
注:本文中的AcademicTermPeriod类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论