Skip to content

Commit

Permalink
Merge pull request frappe#44855 from mahsem/in_contex_translation_fixes
Browse files Browse the repository at this point in the history
fix: in_context_translation_fixes
  • Loading branch information
ruthra-kumar authored Dec 30, 2024
2 parents 7926bf0 + 1f4e181 commit 54cb99e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ <h6 class="text-center uppercase" style="color: #8D99A6">{{ _("Sales Summary") }
</thead>
<tbody>
<tr>
<td class="text-left font-bold">{{ _('Grand Total') }}</td>
<td class="text-left font-bold">{{ _("Grand Total") }}</td>
<td class='text-right'> {{ frappe.utils.fmt_money(data.grand_total or '', currency=currency) }}</td>
</tr>
<tr>
<td class="text-left font-bold">{{ _('Net Total') }}</td>
<td class="text-left font-bold">{{ _("Net Total") }}</td>
<td class='text-right'> {{ frappe.utils.fmt_money(data.net_total or '', currency=currency) }}</td>
</tr>
<tr>
<td class="text-left font-bold">{{ _('Total Quantity') }}</td>
<td class="text-left font-bold">{{ _("Total Quantity") }}</td>
<td class='text-right'>{{ data.total_quantity or '' }}</td>
</tr>

Expand All @@ -44,7 +44,7 @@ <h6 class="text-center uppercase" style="color: #8D99A6">{{ _("Mode of Payments"
<tbody>
{% for d in data.payment_reconciliation %}
<tr>
<td class="text-left">{{ d.mode_of_payment }}</td>
<td class="text-left">{{ _(d.mode_of_payment) }}</td>
<td class='text-right'> {{ frappe.utils.fmt_money(d.expected_amount - d.opening_amount, currency=currency) }}</td>
</tr>
{% endfor %}
Expand All @@ -63,7 +63,7 @@ <h6 class="text-center uppercase" style="color: #8D99A6">{{ _("Taxes") }}</h6>
<thead>
<tr>
<th class="text-left">{{ _("Account") }}</th>
<th class="text-left">{{ _("Rate") }}</th>
<th class="text-left">{{ _("Tax Rate") }}</th>
<th class="text-right">{{ _("Amount") }}</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion erpnext/templates/pages/order.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 class="m-0">{{ doc.name }}</h3>
<p>
<a href="/api/method/erpnext.accounts.doctype.payment_request.payment_request.make_payment_request?dn={{ doc.name }}&dt={{ doc.doctype }}&submit_doc=1&order_type=Shopping Cart"
class="btn btn-primary btn-sm" id="pay-for-order">
{{ _("Pay") }} {{ pay_amount }}
{{ _("Pay", null, "Amount") }} {{ pay_amount }}
</a>
</p>
</div>
Expand Down

0 comments on commit 54cb99e

Please sign in to comment.