mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-23 13:46:07 +03:00
parent
3a30986e4b
commit
d5f29dc5fe
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -26,15 +26,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php-version: '7.3'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.0.0'
|
|
||||||
- php-version: '7.3'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.0.2'
|
|
||||||
- php-version: '7.3'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.1.0'
|
|
||||||
- php-version: '7.3'
|
- php-version: '7.3'
|
||||||
test-suite: '3'
|
test-suite: '3'
|
||||||
oc: '3.0.1.1'
|
oc: '3.0.1.1'
|
||||||
@ -71,15 +62,6 @@ jobs:
|
|||||||
- php-version: '7.3'
|
- php-version: '7.3'
|
||||||
test-suite: '3'
|
test-suite: '3'
|
||||||
oc: '3.0.3.8'
|
oc: '3.0.3.8'
|
||||||
- php-version: '7.4'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.0.0'
|
|
||||||
- php-version: '7.4'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.0.2'
|
|
||||||
- php-version: '7.4'
|
|
||||||
test-suite: '3'
|
|
||||||
oc: '3.0.1.0'
|
|
||||||
- php-version: '7.4'
|
- php-version: '7.4'
|
||||||
test-suite: '3'
|
test-suite: '3'
|
||||||
oc: '3.0.1.1'
|
oc: '3.0.1.1'
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
## v4.1.15
|
||||||
|
* Display module version
|
||||||
|
|
||||||
## v4.1.14
|
## v4.1.14
|
||||||
* Added currency validation when configuring the module
|
* Added currency validation when configuring the module
|
||||||
|
|
||||||
|
6
doc/Update module.md
Normal file
6
doc/Update module.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
### Обновление версии модуля
|
||||||
|
|
||||||
|
Для обновления версии модуля необходимо обновить следующие файлы:
|
||||||
|
* VERSION
|
||||||
|
* CHANGELOG.md
|
||||||
|
* src/upload/admin/controller/extension/module/retailcrm.php
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
class ControllerExtensionModuleRetailcrm extends Controller
|
class ControllerExtensionModuleRetailcrm extends Controller
|
||||||
{
|
{
|
||||||
|
const VERSION_MODULE = '4.1.15';
|
||||||
|
|
||||||
private $_error = [];
|
private $_error = [];
|
||||||
protected $log, $statuses, $payments, $deliveryTypes, $retailcrmApiClient, $moduleTitle, $tokenTitle;
|
protected $log, $statuses, $payments, $deliveryTypes, $retailcrmApiClient, $moduleTitle, $tokenTitle;
|
||||||
public $children, $template;
|
public $children, $template;
|
||||||
@ -317,6 +319,8 @@ class ControllerExtensionModuleRetailcrm extends Controller
|
|||||||
|
|
||||||
$_data = &$data;
|
$_data = &$data;
|
||||||
|
|
||||||
|
$_data['module_version'] = self::VERSION_MODULE;
|
||||||
|
|
||||||
foreach ($text_strings as $text) {
|
foreach ($text_strings as $text) {
|
||||||
$_data[$text] = $this->language->get($text);
|
$_data[$text] = $this->language->get($text);
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<button type="button" id="icml" data-toggle="tooltip" title="{{ text_button_catalog }}" class="btn btn-success"><i class="fa fa-file-text-o"></i></button>
|
<button type="button" id="icml" data-toggle="tooltip" title="{{ text_button_catalog }}" class="btn btn-success"><i class="fa fa-file-text-o"></i></button>
|
||||||
<button type="submit" form="form-module" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
|
<button type="submit" form="form-module" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary"><i class="fa fa-save"></i></button>
|
||||||
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
|
<a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default"><i class="fa fa-reply"></i></a></div>
|
||||||
<h1>{{ heading_title }}</h1>
|
<h1>{{ heading_title }} {{ module_version }}</h1>
|
||||||
<ul class="breadcrumb">
|
<ul class="breadcrumb">
|
||||||
{% for breadcrumb in breadcrumbs %}
|
{% for breadcrumb in breadcrumbs %}
|
||||||
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user