From 4599e0c95ca42d3567b1ba58cf920f4807c0221e Mon Sep 17 00:00:00 2001 From: nikita tarasov Date: Wed, 15 Nov 2017 18:54:44 +0300 Subject: [PATCH] bump 2.2.4 --- Model/Payment/Transaction.php | 2 +- Plugin/Transaction.php | 4 ++-- composer.json | 2 +- etc/module.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Model/Payment/Transaction.php b/Model/Payment/Transaction.php index 91eeba2..602c205 100644 --- a/Model/Payment/Transaction.php +++ b/Model/Payment/Transaction.php @@ -12,7 +12,7 @@ class Transaction extends \Magento\Sales\Model\Order\Payment\Transaction { const TYPE_FISCAL = 'fiscal_receipt'; - const TYPE_FISCAL_REFUND = 'fiscal_receipt_refund'; + const TYPE_FISCAL_REFUND = 'fiscal_refund'; /** * Check whether specified or set transaction type is supported diff --git a/Plugin/Transaction.php b/Plugin/Transaction.php index 94c3b8d..e915a8f 100644 --- a/Plugin/Transaction.php +++ b/Plugin/Transaction.php @@ -13,14 +13,14 @@ class Transaction * @SuppressWarnings(PHPMD.UnusedFormalParameter) * */ - + public function afterGetTransactionTypes( \Magento\Sales\Model\Order\Payment\Transaction $subject, $result ) { return array_merge($result, [ 'fiscal_receipt' => __('Fiscal receipt'), - 'fiscal_receipt_refund' => __('Fiscal receipt refund'), + 'fiscal_refund' => __('Fiscal receipt refund'), ]); } } diff --git a/composer.json b/composer.json index e6bdd9a..8e1e4bb 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mygento/base", "type": "magento2-module", - "version": "2.2.3", + "version": "2.2.4", "license": "OSL-3.0", "homepage": "https://github.com/mygento/base", "description": "Mygento Base", diff --git a/etc/module.xml b/etc/module.xml index 5e35c31..0a9b0cc 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -7,5 +7,5 @@ */ --> - +