Upgrades from IceHrm Pro v24

This commit is contained in:
gamonoid
2018-07-03 03:10:32 +02:00
parent 8b276d54e6
commit 9cee4e91df
8253 changed files with 659182 additions and 47489 deletions

View File

@@ -64,6 +64,14 @@ class PayslipReport extends PDFReportBuilder implements PDFReportBuilderInterfac
$data['fields'][] = $field;
}
}
$employee = BaseService::getInstance()->getElement(
'Employee',
BaseService::getInstance()->getCurrentProfileId(),
null,
true
);
$data['employeeName'] = $employee->first_name.' '.$employee->last_name;
$data['payroll'] = $payroll;
return $data;
}