Skip to content

Commit

Permalink
fix(portal): context pay_amount for button
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Feb 2, 2024
1 parent c18ff5b commit 7efb5a8
Showing 1 changed file with 1 addition and 1 deletion.
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") }} {{doc.get_formatted("grand_total") }}
{{ _("Pay") }} {{ pay_amount }}
</a>
</p>
</div>
Expand Down

0 comments on commit 7efb5a8

Please sign in to comment.