caisse-bliss/app/Resources/views/logged/angular/validate-button.html.twig
2018-04-19 17:38:43 +02:00

12 lines
450 B
Twig

<button class="btn btn-primary btn-block" id="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>