Open novice3030 opened 9 years ago
VoucherPopUpController.js
function updateTotalVCHR Line 795
The function updateTotalVCHR call in function init() (Line 969, Line 973).
Problem in the next lines: $scope.order.SaleAccountingInfo.TotalVCHR += amount;
$scope.order.CostAccountingInfo.TotalVCHR += amount;
$scope.service.ProviderAccountingInfo.CostAccountingInfo.TotalVCHR += amount;
the save changes button in voucher popup should be disabled if no changes are made in the manager but when you open a voucher from the order accounting table the manager already has changes even though the user didn't change anything. please investigate what changes are made in the manager the let us know we will then decide how we want to deal with that