Skip to content

Commit

Permalink
further adjustment of costcenter template to make refund buttons sele…
Browse files Browse the repository at this point in the history
…ctable in tests
  • Loading branch information
semteacher committed Sep 28, 2024
1 parent 2beb676 commit cc1610a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/costcentercredit_item.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
{{#canpayback}}

{{#costcentercredits}}
<div class="d-flex w-100 justify-content-between"
<div class="d-flex w-100 justify-content-between costcenterlabel"
{{#costcenterlabel}} data-costcenter="{{.}}" {{/costcenterlabel}}
{{^costcenterlabel}} data-costcenter="{{#str}} nocostcenter, local_shopping_cart {{/str}}" {{/costcenterlabel}}
>
Expand All @@ -98,7 +98,10 @@
</h5>
</div>
</div>
<div class="shopping_cart_history_payback_buttons">
<div class="shopping_cart_history_payback_buttons"
{{#costcenterlabel}} data-costcenter="{{.}}" {{/costcenterlabel}}
{{^costcenterlabel}} data-costcenter="{{#str}} nocostcenter, local_shopping_cart {{/str}}" {{/costcenterlabel}}
>
<button type="button" class="shopping_cart_history_paidback_button btn btn-secondary btn-sm"
data-userid='{{userid}}'
data-method='6'
Expand Down Expand Up @@ -128,7 +131,7 @@
{{#str}} getrefundforcredit, local_shopping_cart {{/str}}
</span>
{{#costcentercredits}}
<div class="d-flex w-100 justify-content-between"
<div class="d-flex w-100 justify-content-between costcenterlabel"
{{#costcenterlabel}} data-costcenter="{{.}}" {{/costcenterlabel}}
{{^costcenterlabel}} data-costcenter="{{#str}} nocostcenter, local_shopping_cart {{/str}}" {{/costcenterlabel}}
>
Expand Down

0 comments on commit cc1610a

Please sign in to comment.