Skip to content

Commit

Permalink
Sentrifugo Version 1.1.6. Fixed the issue while editing organization …
Browse files Browse the repository at this point in the history
…head.
  • Loading branch information
sapplica committed Mar 5, 2015
1 parent 4a345d3 commit 641155c
Show file tree
Hide file tree
Showing 9 changed files with 1,032 additions and 26 deletions.
34 changes: 19 additions & 15 deletions application/modules/default/views/scripts/employee/edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,17 @@ $report_opt = $this->report_opt;
$this->form->disp_requi->setValue($data['requisition_code']);
echo $this->form->disp_requi; ?></div>
</div>
<div class="new-form-ui">
<label class="required"><?php echo $this->form->emprole->getLabel(); ?></label>
<div class="division"><?php echo $this->form->emprole; ?>
<span id="errors-<?php echo $this->form->emprole->getId(); ?>" class="errors"><?php echo isset($this->msgarray['emprole'])?$this->msgarray['emprole']:"";?></span>
</div>
</div>


<?php if($this->data['is_orghead'] == 0) {?>
<div class="new-form-ui">
<label class="required"><?php echo $this->form->emprole->getLabel(); ?></label>
<div class="division"><?php echo $this->form->emprole; ?>
<span id="errors-<?php echo $this->form->emprole->getId(); ?>" class="errors"><?php echo isset($this->msgarray['emprole'])?$this->msgarray['emprole']:"";?></span>
</div>
</div>
<?php } else {?>
<input type="hidden" id="emprole" name="emprole" value="<?php echo $this->data['emprole'];?>" >
<?php }?>

<div class="new-form-ui">
<label class="required"><?php echo $this->form->emailaddress->getLabel(); ?></label>
Expand Down Expand Up @@ -298,14 +302,6 @@ $report_opt = $this->report_opt;
<?php }?>
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->extension_number->getLabel(); ?></label>
<div class="division"><?php echo $this->form->extension_number; ?></div>
<?php if(isset($this->msgarray['extension_number'])){?>
<span class="errors" id="errors-<?php echo $this->form->extension_number->getId(); ?>"><?php echo $this->msgarray['extension_number'];?></span>
<?php }?>
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->office_number->getLabel(); ?></label>
<div class="division"><?php echo $this->form->office_number; ?></div>
Expand All @@ -314,6 +310,14 @@ $report_opt = $this->report_opt;
<?php }?>
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->extension_number->getLabel(); ?></label>
<div class="division"><?php echo $this->form->extension_number; ?></div>
<?php if(isset($this->msgarray['extension_number'])){?>
<span class="errors" id="errors-<?php echo $this->form->extension_number->getId(); ?>"><?php echo $this->msgarray['extension_number'];?></span>
<?php }?>
</div>

<div class="new-form-ui">
<label ><?php echo $this->form->office_faxnumber->getLabel(); ?></label>
<div class="division"><?php echo $this->form->office_faxnumber; ?></div>
Expand Down
8 changes: 4 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*
* Sentirfugo Support <[email protected]>
********************************************************************************/
defined('CODEVERSION')|| define('CODEVERSION', '1.1.5');
/*$filepath = 'install/index.php';
defined('CODEVERSION')|| define('CODEVERSION', '1.1.6');
$filepath = 'install/index.php';
if(file_exists($filepath))
{
header("Location: install/index.php");
}else
{*/
{


try
Expand Down Expand Up @@ -132,5 +132,5 @@
{
header("Location: error.php?param=".sapp_Global::_encrypt('error')."");exit;
}
//}
}
?>
27 changes: 25 additions & 2 deletions install/hrms.sql

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions patches/patches_1.1.6/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CHANGELOG Sentrifugo
===========================

RELEASE 1.1.6
-------------
Views
application/modules/default/views/scripts/employee/edit.phtml

Bug fixes
- To resolve the issue while editing Management role employee
- To insert a default record in main_identitycodes table











43 changes: 43 additions & 0 deletions patches/patches_1.1.6/UPGRADE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
UPGRADING INSTRUCTIONS
======================

Follow the below instructions if you are upgrading from a previous version
of Sentrifugo. Please take a backup of existing code as well as the
database before executing the following steps.

Download New Upgrade
--------------------
- Go to http://www.sentrifugo.com/
- Click on UPGRADE menu item in the menu list
- Select the Upgrade Type: Code, Database or Both (Code and Database)
- Select your current version from "Your Version" dropdown
- Select desired upgrade version from "Upgrade To" dropdown
- Click on "Upgrade" button
- Upon clicking "Upgrade" button, you will get a link
- Click on the link to download the upgrade zip file

You can find the downloaded upgrade file in your downloads location

Extracting
----------
- Extract the zip file

We recommend you to carefully take backup of existing code. After taking a backup, please follow the below steps to upgrade your code.

Code Update
---------------
1. In the extracted folder, copy all the files and folders
2. Paste and replace the copied files in Sentrifugo application source folder present in the document root of Apache HTTP server.

We recommend you to carefully take backup of existing database. After taking a backup, please follow the below steps to upgrade your database.

Database upgrade
-----------------------
Type the following command to import sql data file in Linux or MAC:
mysql -h [hostname] -u [username] -p [DATA-BASE-NAME] < [path-to-sql-file]

To import sql data file in Windows:

[path-to-mysql] mysql.exe -h [hostname] -u [username] -p [DATA-BASE-NAME] < [path-to-sql-file]

Yippiieeeee..... If you have followed the above steps, you have successfully updated your application. Login to enjoy the services.
Loading

0 comments on commit 641155c

Please sign in to comment.