forked from inoerp/inoERP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
79 changes: 79 additions & 0 deletions
79
inoerp/modules/lms/academic_year/academic_year_template.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<div id ="form_header"> | ||
<form method="post" id="lms_term" name="lms_term"> | ||
<span class="heading"><?php echo gettext('Term') ?></span> | ||
<div id ="form_header"> | ||
<div id="tabsHeader"> | ||
<ul class="tabMain"> | ||
<li><a href="#tabsHeader-1"><?php echo gettext('Basic Info') ?></a></li> | ||
<li><a href="#tabsHeader-2"><?php echo gettext('Attachments') ?></a></li> | ||
<li><a href="#tabsHeader-3"><?php echo gettext('Note') ?></a></li> | ||
|
||
</ul> | ||
<div class="tabContainer"> | ||
<div id="tabsHeader-1" class="tabContent"> | ||
<ul class="column header_field"> | ||
<li><?php $f->l_text_field_dr_withSearch('lms_term_id') ?> | ||
<a name="show" href="form.php?class_name=lms_term&<?php echo "mode=$mode"; ?>" class="show document_id lms_term_id"> | ||
<i class="fa fa-refresh"></i></a> | ||
</li> | ||
<li><?php $f->l_text_field_d('term_name'); ?></li> | ||
<li><?php $f->l_text_field_d('term_code'); ?></li> | ||
<li><?php $f->l_status_field_d('status'); ?></li> | ||
<li><?php $f->l_status_field_d('status'); ?></li> | ||
<li><?php $f->l_text_field_d('description'); ?></li> | ||
</ul> | ||
</div> | ||
<div id="tabsHeader-3" class="tabContent"> | ||
<div> <?php echo ino_attachement($file) ?> </div> | ||
</div> | ||
<div id="tabsHeader-4" class="tabContent"> | ||
<div> | ||
<div id="comments"> | ||
<div id="comment_list"> | ||
<?php echo!(empty($comments)) ? $comments : ""; ?> | ||
</div> | ||
<div id ="display_comment_form"> | ||
<?php | ||
$reference_table = 'lms_term'; | ||
$reference_id = $$class->lms_term_id; | ||
?> | ||
</div> | ||
<div id="new_comment"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
<div id ="form_line" class="form_line"><span class="heading"><?php echo gettext('Other Details') ?></span> | ||
<div id="tabsLine"> | ||
<ul class="tabMain"> | ||
<li><a href="#tabsLine-1"><?php echo gettext('Term') ?></a></li> | ||
</ul> | ||
<div class="tabContainer"> | ||
<div id="tabsLine-1" class="tabContent"> | ||
<div><?php | ||
echo $f->text_area_ap(array('name' => 'overview', 'value' => $$class->overview, | ||
'row_size' => '10', 'column_size' => '90')); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div id="js_data"> | ||
<ul id="js_saving_data"> | ||
<li class="headerClassName" data-headerClassName="lms_term" ></li> | ||
<li class="savingOnlyHeader" data-savingOnlyHeader="true" ></li> | ||
<li class="primary_column_id" data-primary_column_id="lms_term_id" ></li> | ||
<li class="form_header_id" data-form_header_id="lms_term" ></li> | ||
</ul> | ||
<ul id="js_contextMenu_data"> | ||
<li class="docHedaderId" data-docHedaderId="lms_term_id" ></li> | ||
<li class="btn1DivId" data-btn1DivId="lms_term_id" ></li> | ||
</ul> | ||
</div> |
84 changes: 84 additions & 0 deletions
84
inoerp/modules/lms/academic_year/class_lms_academic_year.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?php | ||
|
||
/** | ||
* inoERP - Version 0.1.1 | ||
* | ||
* @copyright 2014 Nishit R. Das | ||
* @license https://www.mozilla.org/MPL/2.0/ | ||
* @link http://inoideas.org | ||
* @source code https://github.com/inoerp/inoERP | ||
*/ | ||
|
||
/** | ||
* lms_academic_year | ||
* All Job information | ||
* Contains all the lms_academic_year information, such as - lms_academic_year_id, job_code , job_name, etc | ||
* | ||
*/ | ||
class lms_academic_year extends dbObject { | ||
|
||
public static $table_name = "lms_academic_year"; | ||
public static $primary_column = "lms_academic_year_id"; | ||
public static $key_column = 'job_code'; | ||
public static $module = "lms"; | ||
public static $system_info = [ | ||
'name' => 'academic_year', | ||
'number' => '8304', | ||
'description' => 'academic_year', | ||
'version' => '0.1.1', | ||
'db_version' => '1001', | ||
'mod_version' => '1.1.1', | ||
'primary_entity_cb' => '', | ||
'module_name' => 'lms', | ||
'weight' => 8 | ||
]; | ||
public $field_a = [ | ||
'lms_academic_year_id', | ||
'academic_year_name', | ||
'academic_year_code', | ||
'overview', | ||
'description', | ||
'status', | ||
'created_by', | ||
'creation_date', | ||
'last_update_by', | ||
'last_update_date', | ||
]; | ||
public $initial_search = [ | ||
'academic_year_name', | ||
'academic_year_code', | ||
]; | ||
public $column = [ | ||
'lms_academic_year_id', | ||
'academic_year_name', | ||
'academic_year_code', | ||
'overview', | ||
]; | ||
public $requiredField = [ | ||
'academic_year_name', | ||
'academic_year_code' | ||
]; | ||
|
||
public $lms_academic_year_id; | ||
public $academic_year_name; | ||
public $academic_year_code; | ||
public $overview; | ||
public $description; | ||
public $status; | ||
public $created_by; | ||
public $creation_date; | ||
public $last_update_by; | ||
public $last_update_date; | ||
|
||
|
||
public $search = [ | ||
'_show_update_path' => 1, | ||
'_show_view_path' => 1, | ||
]; | ||
public $pageTitle = " academic_year "; //page Title | ||
|
||
|
||
} | ||
|
||
//end of lms_academic_year class | ||
?> |