diff --git a/brewman/static/app/employee/employee-functions.controller.js b/brewman/static/app/employee/employee-functions.controller.js index 12016ad9..c2febef3 100644 --- a/brewman/static/app/employee/employee-functions.controller.js +++ b/brewman/static/app/employee/employee-functions.controller.js @@ -23,7 +23,7 @@ var EmployeeFunctionsController = ['$scope', '$http', 'asDateFilter', function ( return; } return $http. - post('/api/CreditSalary', {Month: $scope.salaryMonth}). + post('/api/CreditSalary', {Month: asDate($scope.salaryMonth)}). success(function (data) { $scope.toasts.push({Type: 'Success', Message: data.message}); }).