Skip to content

Commit c6dff20

Browse files
committed
v1.0.4
* Add new choices for order cancellation. * Minor bugfixes
1 parent 02d4ba3 commit c6dff20

File tree

3 files changed

+36
-8
lines changed

3 files changed

+36
-8
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,13 @@ The easiest and fastest way is via our live chat on our [website](https://blockb
132132
#### 1.0.2
133133
* Minor bugfixes
134134

135+
#### 1.0.3
136+
* Minor bugfixes.
137+
138+
#### 1.0.4
139+
* Add new choices for order cancellation.
140+
* Minor bugfixes.
141+
135142
### Upgrade Notice
136143

137144
- No breaking changes

admin/language/en-gb/extension/payment/blockbee.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
$_['sixty_minutes'] = 'Every 60 Minutes';
5858

5959
$_['order_cancelation_timeout'] = 'Order cancelation timeout';
60+
$_['fifteen_minutes_cancellation'] = '15 Minutes';
61+
$_['thirty_minutes_cancellation'] = '30 Minutes';
62+
$_['forty_five_minutes_cancellation'] = '45 Minutes';
6063
$_['one_hour'] = '1 Hour';
6164
$_['six_hours'] = '6 Hours';
6265
$_['twelve_hours'] = '12 Hours';

admin/view/template/extension/payment/blockbee.twig

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,24 @@
428428
{% endif %}
429429
>{{ never }}
430430
</option>
431+
<option value="900"
432+
{% if payment_blockbee_order_cancelation_timeout == '900' %}
433+
selected="selected"
434+
{% endif %}
435+
>{{ fifteen_minutes_cancellation }}
436+
</option>
437+
<option value="1800"
438+
{% if payment_blockbee_order_cancelation_timeout == '1800' %}
439+
selected="selected"
440+
{% endif %}
441+
>{{ thirty_minutes_cancellation }}
442+
</option>
443+
<option value="2700"
444+
{% if payment_blockbee_order_cancelation_timeout == '2700' %}
445+
selected="selected"
446+
{% endif %}
447+
>{{ forty_five_minutes_cancellation }}
448+
</option>
431449
<option value="3600"
432450
{% if payment_blockbee_order_cancelation_timeout is empty or payment_blockbee_order_cancelation_timeout == '3600' %}
433451
selected="selected"
@@ -441,7 +459,7 @@
441459
>{{ six_hours }}
442460
</option>
443461
<option value="43200"
444-
{% if payment_blockbee_order_cancelation_timeout == '21600' %}
462+
{% if payment_blockbee_order_cancelation_timeout == '43200' %}
445463
selected="selected"
446464
{% endif %}
447465
>{{ twelve_hours }}
@@ -521,18 +539,18 @@
521539
</div>
522540
<input type="hidden" id="blockbee_cryptocurrencies_array_cache" name="payment_blockbee_cryptocurrencies_array_cache"
523541
value='{{ payment_blockbee_cryptocurrencies_array|json_encode() }}'>
524-
<div class="col-sm-12 text-center ">
525-
542+
<div class="col-sm-12 text-center ">
543+
526544
<select name="payment_blockbee_cryptocurrencies[]" multiple="multiple" size="10" id="payment_cry" class="form-select">
527545
{% for ticker, coin in payment_blockbee_cryptocurrencies_array %}
528546
<option value='{{ ticker }}'
529547
{{ payment_blockbee_cryptocurrencies[ticker] is defined and payment_blockbee_cryptocurrencies[ticker] == ticker ? 'selected="selected"' : '' }}
530548
>{{ coin['name'] }}
531549
</option>
532-
{% endfor %}
533-
</select>
534-
</div>
535-
</div>
550+
{% endfor %}
551+
</select>
552+
</div>
553+
</div>
536554
</div>
537555
<div class="form-group">
538556
<label class="col-sm-2 control-label" for="input-status">{{ disable_conversion }}</label>
@@ -548,4 +566,4 @@
548566
</div>
549567
</div>
550568
</div>
551-
{{ footer }}
569+
{{ footer }}

0 commit comments

Comments
 (0)