|
14 | 14 | <div class="ca_payment_details"> |
15 | 15 | <div class="ca_payments_wrapper"> |
16 | 16 | <div class="ca_qrcode_wrapper" |
17 | | - style="{% if qr_code_setting == 'hide_ammount' or qr_code_setting =='hide_without_ammount' %}display: none;{% endif %}; width: {{ qr_code_size + 20 }}px;"> |
| 17 | + style="{% if qrcode_default == '0' %}display: none;{% endif %}; width: {{ qr_code_size + 20 }}px;"> |
18 | 18 | {% if crypto_allowed_value == true %} |
19 | 19 | <div class="inner-wrapper"> |
20 | 20 | <figure> |
21 | | - {% if qr_code_setting != 'hide_ammount' %} |
| 21 | + {% if qr_code_setting != 'hide_without_ammount' %} |
22 | 22 | <img class="ca_qrcode no_value" |
23 | 23 | {% if qr_code_setting == 'ammount' %} |
24 | 24 | style="display:none;" |
25 | 25 | {% endif %} |
26 | 26 | src="data:image/png;base64,{{ qr_code }}" alt="{{ qrcode_alt_text }}"/> |
27 | 27 | {% endif %} |
28 | | - {% if qr_code_setting != 'hide_without_ammount' %} |
| 28 | + {% if qr_code_setting != 'hide_ammount' %} |
29 | 29 | <img class="ca_qrcode value" |
30 | 30 | {% if qr_code_setting == 'without_ammount' %} |
31 | 31 | style="display:none;" |
32 | 32 | {% endif %} src="data:image/png;base64,{{ qr_code_value }}" |
33 | 33 | alt="{{ qrcode_alt_value_text }}"/> |
34 | 34 | {% endif %} |
35 | 35 | </figure> |
36 | | - {% if qr_code_setting != 'hide_ammount' and qr_code_setting != 'hide_without_ammount' %} |
| 36 | + {% if qr_code_setting != 'hide_without_ammount' %} |
37 | 37 | <div class="ca_qrcode_buttons"> |
38 | 38 | {% if qr_code_setting != 'hide_without_ammount' %} |
39 | 39 | <button class="ca_qrcode_btn no_value |
40 | | - {% if qr_code_setting == 'without_ammount' %} |
| 40 | + {% if qr_code_setting == 'without_ammount' or qr_code_setting == 'hide_ammount' %} |
41 | 41 | active |
42 | 42 | {% endif %}" aria-label="{{ qrcode_alt_show_value }}"> |
43 | 43 | {{ qrcode_button_noamount_text }} |
44 | 44 | </button> |
45 | 45 | {% endif %} |
46 | 46 | {% if qr_code_setting != 'hide_ammount' %} |
47 | 47 | <button class="ca_qrcode_btn value |
48 | | - {% if qr_code_setting == 'ammount' %} |
| 48 | + {% if qr_code_setting == 'ammount' or qr_code_setting == 'hide_without_ammount' %} |
49 | 49 | active |
50 | 50 | {% endif %}" aria-label="{{ qrcode_alt_show_value }}"> |
51 | 51 | {{ qrcode_button_amount_text }} |
|
85 | 85 | <div class="ca_payment_notification ca_notification_remaining" style="display: none"> |
86 | 86 | <strong>{{ text_notice }}</strong>: {{ notification_remaining|format(min_tx_notice) }} |
87 | 87 | </div> |
88 | | - {% if refresh_value_interval != 'none' %} |
| 88 | + {% if refresh_value_interval != '0' %} |
89 | 89 | <div class="ca_time_refresh"> |
90 | 90 | {{ order_value_refresh|format(crypto_coin|upper) }} |
91 | 91 | <span class="ca_time_seconds_count" data-soon="{{ text_moment }}" data-seconds="{{ conversion_timer }}">{{ conversion_timer|date('i:s') }}</span> |
|
100 | 100 | <div class="ca_loader"></div> |
101 | 101 | </div> |
102 | 102 | </div> |
103 | | - {% if order_cancelation_timeout != 'none' %} |
| 103 | + {% if order_cancelation_timeout != '0' %} |
104 | 104 | <span class="ca_notification_cancel" data-text="{{ order_cancelled_minute }}"> |
105 | 105 | {{ order_valid_time|format(cancel_timer, cancel_timer|date('H:i')) }} |
106 | 106 | </span> |
|
0 commit comments