This commit is contained in:
2018-07-31 15:55:44 +02:00
parent 26f16ee088
commit 154d793ca5
2 changed files with 2 additions and 4 deletions
@@ -30,7 +30,7 @@ class EmployeehoursMonthly {
$sql.="
UNION
SELECT CONCAT(firstname, ' ', middlename, ' ', lastname) AS fullname,
(SELECT id FROM hourtypes WHERE `key` = 'PROJECTS' LIMIT 1) AS hourtype_id,
(hourtype_id + 8) AS hourtype_id,
PRH.id,
USR.id AS employee_id,
hours,
@@ -9,7 +9,7 @@
dbo.employeehoursInit = function () {
if ( dbo.employeehoursModel !== undefined ) {
dbo.employeehoursModel.init();
dbo.employeehoursModel.refreshEmployeehours();
} else {
dbo.employeehoursModel = {
@@ -40,8 +40,6 @@ dbo.employeehoursInit = function () {
vm.hourtypes( data );
dbo.offerDataService.getOffersWithoutProject( function ( data ) {
vm.offersWithoutProject( data );
console.log( data );
console.log( vm.offersWithoutProject() );
dbo.userDataService.getUserWithprojects( function ( data ) {
vm.employees.removeAll();
_.each( data, function ( p ) {