mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:36:48 +00:00
parent
15c40c785c
commit
1d752176b5
@ -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);
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user