Skip to content

Commit

Permalink
0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 30, 2017
1 parent 4deb2a5 commit 34348e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private function pTaxLeaf($name, $amount, $taxPercent, $qty = 1) {return [
*/
,'tax' => dff_eq0($t = floatval($taxPercent))
? ($this->s()->b('shouldPayVAT') ? 2 : 1)
: (dff_eq($t, 10) ? 3 : (dff_eq0($t, 18) ? 4 : df_error(
: (dff_eq($t, 10) ? 3 : (dff_eq($t, 18) ? 4 : df_error(
'An illegal tax rate (%1) is applied to the «%2» order item.', dff_2i($t), $name)
))
// 2017-09-29 «Product name» / «Название товара». Required, string(128).
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/yandex-kassa"
,"version": "0.3.0"
,"version": "0.3.1"
,"description": "The «Yandex.Kassa» (Яндекс.Касса, Yandex.Checkout) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/yandex-kassa"
Expand Down

0 comments on commit 34348e4

Please sign in to comment.