Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

View File

@@ -36,8 +36,7 @@ class PDFReportBuilder extends ReportBuilder
$path = APP_BASE_PATH."admin/reports/customTemplates/";
}
$loader = new \Twig_Loader_Filesystem($path);
$twigOptions = array();
//false
if (defined('CACHE_THEME') && CACHE_THEME) {
$twigOptions = array(
);
@@ -81,6 +80,7 @@ class PDFReportBuilder extends ReportBuilder
$fileFullName = $fileFullNamePdf;
}
} catch (\Exception $exp) {
LogManager::getInstance()->notifyException($exp);
}
return array($fileFirstPart, $fileName, $fileFullName);
}

View File

@@ -18,7 +18,8 @@ transaction_no as 'Transaction Ref',
payee as 'Payee',
(SELECT name from ExpensesCategories where id = category) as 'Category',
notes as 'Notes',
concat(`amount`,' ',`currency`) as 'Amount',
amount as 'Amount',
(SELECT code from CurrencyTypes where id = currency) as 'Currency',
status as 'Status',
created as 'Created',
updated as 'Updated'

View File

@@ -9,7 +9,7 @@ use Metadata\Common\Model\Country;
use Reports\Admin\Api\PDFReportBuilder;
use Reports\Admin\Api\PDFReportBuilderInterface;
use Employees\Common\Model\Employee;
use Projects\Common\Model\Client;
use Clients\Common\Model\Client;
use Projects\Common\Model\Project;
use TimeSheets\Common\Model\EmployeeTimeEntry;
use Utils\CalendarTools;