Skip to content

Commit

Permalink
LSR-28559 - Update PR as per feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-jeremy-aalders committed May 27, 2024
1 parent 5128564 commit 9c1c9e3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
24 changes: 12 additions & 12 deletions receipt/SaleReceipt.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -987,19 +987,19 @@ table.payments td.label {
{% endif %}
{% endif %}

<td data-automation="lineItemQuantity" class="quantity">
{% if options.per_line_subtotal and options.discounted_line_items and Line.calcLineDiscount != 0 and not parameters.gift_receipt %}
<span class="strike">{{Line.unitQuantity}} x {{Line.unitPrice|money}}</span>
{% endif %}
{{Line.unitQuantity}}
{% if options.per_line_subtotal and not parameters.gift_receipt %} x
{% if options.discounted_line_items %}
{{ divide(Line.displayableSubtotal, Line.unitQuantity)|money }}
{% else %}
{{Line.displayableUnitPrice|money}}
{% endif %}
<td data-automation="lineItemQuantity" class="quantity">
{% if options.per_line_subtotal and options.discounted_line_items and Line.calcLineDiscount != 0 and not parameters.gift_receipt %}
<span class="strike">{{Line.unitQuantity}} x {{Line.unitPrice|money}}</span>
{% endif %}
{{Line.unitQuantity}}
{% if options.per_line_subtotal and not parameters.gift_receipt %} x
{% if options.discounted_line_items %}
{{ divide(Line.displayableSubtotal, Line.unitQuantity)|money }}
{% else %}
{{Line.displayableUnitPrice|money}}
{% endif %}
</td>
{% endif %}
</td>

<td data-automation="lineItemPrice" class="amount">
{% if not parameters.gift_receipt %}
Expand Down
4 changes: 4 additions & 0 deletions receipt/SaleReceipt_fr_CA-QC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ table div.line_description_item_fee {
padding-left: 10px;
}

.footerSectionTitle + table div.line_description_item_fee {
padding-left: 25px;
}

table.workorders div.line_description {
font-weight: normal;
padding-left: 10px;
Expand Down

0 comments on commit 9c1c9e3

Please sign in to comment.