Skip to content

Commit

Permalink
Fix ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinah committed Nov 1, 2020
1 parent d3b4748 commit 3ceb427
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 10 deletions.
1 change: 1 addition & 0 deletions bin/export-plural-rules
1 change: 1 addition & 0 deletions bin/markdown
1 change: 1 addition & 0 deletions bin/pdepend
1 change: 1 addition & 0 deletions bin/phpcb
1 change: 1 addition & 0 deletions bin/phpcbf
1 change: 1 addition & 0 deletions bin/phpcpd
1 change: 1 addition & 0 deletions bin/phpcs
1 change: 1 addition & 0 deletions bin/phploc
1 change: 1 addition & 0 deletions bin/phpmd
1 change: 1 addition & 0 deletions bin/phpunit
1 change: 1 addition & 0 deletions bin/release
1 change: 1 addition & 0 deletions bin/robo
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="icehrm" default="build">
<!-- By default, we assume all tools to be on the $PATH -->
<property name="toolsdir" value="${basedir}/tools/"/>
<property name="toolsdir" value="${basedir}/bin/"/>
<property name="destination" value="${basedir}/build/app"/>
<property name="testdir" value="${basedir}/build/test"/>
<property name="origin" value="${basedir}"/>
Expand Down
2 changes: 1 addition & 1 deletion core/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
<div class="col-lg-6 col-md-8 col-xs-10">
<div class="bg-white-2 h-100 px-11 pt-11 pb-7">
<div class="row d-flex justify-content-center">
<img src="<?=$logoFileUrl?>"/>
<img src="<?=$logoFileUrl?>" style="max-width:100%;max-height:280px;"/>
</div>
<hr/>
<?php if ($gsuiteEnabled) {?>
Expand Down
16 changes: 8 additions & 8 deletions core/src/Classes/BaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ public function getDataCount()

$childCompaniesIds = array();
if (\Classes\SettingsManager::getInstance()->getSetting(
'System: Child Company Structure Managers Enabled'
) == '1'
'System: Child Company Structure Managers Enabled'
) == '1'
) {
$childCompaniesResp = \Company\Common\Model\CompanyStructure::getAllChildCompanyStructures(
$cempObj->department
Expand Down Expand Up @@ -486,8 +486,8 @@ public function getData(

$childCompaniesIds = array();
if (SettingsManager::getInstance()->getSetting(
'System: Child Company Structure Managers Enabled'
) == '1'
'System: Child Company Structure Managers Enabled'
) == '1'
) {
$childCompaniesResp = CompanyStructure::getAllChildCompanyStructures($cempObj->department);
$childCompanies = $childCompaniesResp->getObject();
Expand Down Expand Up @@ -567,8 +567,8 @@ public function getData(

$childCompaniesIds = array();
if (SettingsManager::getInstance()->getSetting(
'System: Child Company Structure Managers Enabled'
) == '1'
'System: Child Company Structure Managers Enabled'
) == '1'
) {
$childCompaniesResp = CompanyStructure::getAllChildCompanyStructures($cempObj->department);
$childCompanies = $childCompaniesResp->getObject();
Expand Down Expand Up @@ -1783,8 +1783,8 @@ protected function canManageEmployee($profileId)
) {
$departmentHeadFound = true;
} elseif (SettingsManager::getInstance()->getSetting(
'System: Child Company Structure Managers Enabled'
) == '1'
'System: Child Company Structure Managers Enabled'
) == '1'
) {
$companyStructure = new CompanyStructure();
$companyStructure->Load('id = ?', array($subordinate->department));
Expand Down

0 comments on commit 3ceb427

Please sign in to comment.