Created
July 27, 2021 06:59
-
-
Save goodwoor/a321a3dd16ba3ae7c430a9816a2714d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/backend/templates/addons/rus_payments/hooks/orders/payment_info.post.tpl b/design/backend/templates/addons/rus_payments/hooks/orders/payment_info.post.tpl | |
index 2bdfb95aa9..c10e3d8ea8 100644 | |
--- a/design/backend/templates/addons/rus_payments/hooks/orders/payment_info.post.tpl | |
+++ b/design/backend/templates/addons/rus_payments/hooks/orders/payment_info.post.tpl | |
@@ -6,7 +6,7 @@ | |
{if $processor_script === "sbrf.php"} | |
<div class="btn-group"> | |
- {if $addons.pdf_documents.status === "ObjectStatuses::ACTIVE"} | |
+ {if $addons.pdf_documents.status === "ObjectStatuses::ACTIVE"|enum} | |
<a class="btn-small cm-ajax" href="{"orders.send_sbrf_receipt?order_id=`$order_info.order_id`"|fn_url}">{__("send")}</a> | |
{/if} | |
<a class="btn-small cm-new-window" href="{"orders.print_sbrf_receipt?order_id=`$order_info.order_id`"|fn_url}">{__("rus_payments.print_invoice.sbrf")}</a> | |
@@ -15,7 +15,7 @@ | |
{if $processor_script === "account.php"} | |
<div class="btn-group"> | |
- {if $addons.pdf_documents.status === "ObjectStatuses::ACTIVE"} | |
+ {if $addons.pdf_documents.status === "ObjectStatuses::ACTIVE"|enum} | |
<a class="btn-small cm-ajax" href="{"orders.send_account_payment?order_id=`$order_info.order_id`"|fn_url}">{__("send")}</a> | |
{/if} | |
<a class="btn-small cm-new-window" href="{"orders.print_invoice_payment?order_id=`$order_info.order_id`"|fn_url}">{__("rus_payments.print_invoice.account")}</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment