caisse-bliss/templates/logged/angular/validate-button.html.twig

14 lines
422 B
Twig
Raw Permalink Normal View History

2023-06-23 12:03:22 +02:00
{% verbatim %}
<button class="btn btn-primary btn-block validate_selling" ng-click="sendForm(event)"
ng-disabled="!paidAmount">
<i class="fa fa-check"></i>
<span ng-if="paidAmount && CurrentSellingTotal() - paidAmount <=0">
Valider
</span>
<span ng-if="paidAmount && CurrentSellingTotal() - paidAmount >0">
<i class="fa fa-warning"></i>
</span>
</button>
{% endverbatim %}