Fix: Employee Functions / Credit Salary

This commit is contained in:
tanshu 2017-02-13 17:24:05 +05:30
parent 00b81a7cb9
commit a2fbebca07

View File

@ -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});
}).