From a2fbebca0748567cece741851460b9269432146c Mon Sep 17 00:00:00 2001 From: tanshu Date: Mon, 13 Feb 2017 17:24:05 +0530 Subject: [PATCH] Fix: Employee Functions / Credit Salary --- brewman/static/app/employee/employee-functions.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}); }).