Skip to content

Commit

Permalink
Swap position of [Submit] and [Clear] buttons on patient invoice form
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Mar 2, 2022
1 parent e5fec50 commit edaf0aa
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions client/src/modules/invoices/patientInvoice.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,6 @@ <h4><strong>{{ PatientInvoiceCtrl.Invoice.totals.grandTotal | currency:PatientIn
<!-- TODO Temporary styles -->
<div class="row" style="padding-top : 5px; padding-bottom : 5px;">
<div class="col-md-12 text-right">
<bh-loading-button
id="btn-submit-invoice"
loading-state="InvoiceForm.$loading"
disabled="!PatientInvoiceCtrl.Invoice.recipient">
<span translate>FORM.BUTTONS.SUBMIT</span>
</bh-loading-button>

<button
id="clear"
Expand All @@ -230,6 +224,14 @@ <h4><strong>{{ PatientInvoiceCtrl.Invoice.totals.grandTotal | currency:PatientIn
ng-click="PatientInvoiceCtrl.clear(InvoiceForm)">
<span translate>FORM.BUTTONS.CLEAR</span>
</button>

<bh-loading-button
id="btn-submit-invoice"
loading-state="InvoiceForm.$loading"
disabled="!PatientInvoiceCtrl.Invoice.recipient">
<span translate>FORM.BUTTONS.SUBMIT</span>
</bh-loading-button>

</div>
</div>
</form>
Expand Down

0 comments on commit edaf0aa

Please sign in to comment.