Skip to content

Commit

Permalink
adding the max value for the price in the abotyp
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmpp committed Oct 3, 2023
1 parent 282f037 commit c5f9401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/abotypen/detail/abotypendetail.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ <h3 class="panel-title" translate>Zusatzdaten</h3>
<div class="input-group">
<div class="input-group-addon" ng-if="getModel() === 'abotypen'" >{{projekt.waehrung}}</div>
<div class="input-group-addon" ng-if="getModel() === 'zusatzAbotypen'" >{{projekt.waehrung}}</div>
<input type="number" ng-if="getModel() === 'abotypen'" placeholder="{{'Preis'|translate}}" ng-pattern="/^[0-9]+([\.,][0-9]{1,3})?$/" step="0.01" min="0" max="99999" class="form-control" name="zielpreis" ng-model="abotyp.zielpreis"></input>
<input type="number" ng-if="getModel() === 'zusatzAbotypen'" placeholder="{{'Preis'|translate}}" ng-pattern="/^[0-9]+([\.,][0-9]{1,3})?$/" step="0.01" min="0" max="99999" class="form-control" name="zielpreis" ng-model="zusatzAbotyp.zielpreis"></input>
<input type="number" ng-if="getModel() === 'abotypen'" placeholder="{{'Preis'|translate}}" ng-pattern="/^[0-9]+([\.,][0-9]{1,3})?$/" step="0.01" min="0" max="99999.99" class="form-control" name="zielpreis" ng-model="abotyp.zielpreis"></input>
<input type="number" ng-if="getModel() === 'zusatzAbotypen'" placeholder="{{'Preis'|translate}}" ng-pattern="/^[0-9]+([\.,][0-9]{1,3})?$/" step="0.01" min="0" max="99999.90" class="form-control" name="zielpreis" ng-model="zusatzAbotyp.zielpreis"></input>
</div>
</div>
<div class="col-md-5" style="line-height:30px">
Expand Down

0 comments on commit c5f9401

Please sign in to comment.