Fix #3080 - Fixed Terms step validation (#3321)

This commit is contained in:
Benura Abeywardena 2020-12-30 20:48:12 +05:30 committed by GitHub
parent 15c40c785c
commit 1d752176b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -21,10 +21,6 @@
scope.formData.accountingRule = '1';
scope.shareproduct = angular.copy(scope.formData);
});
scope.shareCapitaValue = function () {
scope.formData.shareCapital = scope.formData.unitPrice * scope.formData.sharesIssued;
};
scope.$watch('formData',function(newVal){
scope.shareproduct = angular.extend(scope.shareproduct,newVal);

View File

@ -162,7 +162,7 @@
<i class="fa fa-question-circle" uib-tooltip="{{'label.tooltip.capitalvalue' | translate}}" tooltip-append-to-body="true"></i>
</label>
<div class="col-sm-2">
<input type="text" id="capitalvalue" name="capitalvaue" ng-model="formData.shareCapital"
<input type="text" id="capitalvalue" name="capitalvaue" ng-model="formData.unitPrice * formData.sharesIssued"
number-format class="form-control" maxlength="4" disabled/>
</div>
</div>