Skip to content

Commit

Permalink
Merge pull request #7 from Komtet/feature/fix_calc_subject_for_delivery
Browse files Browse the repository at this point in the history
Установка "Предмет расчета"/"Способ расчета" для доставки
  • Loading branch information
YuraNikitin authored Jan 26, 2023
2 parents 349b4dd + ee40505 commit 02a00f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.1.2 (26.01.2023)
------------------

- Установка "Предмет расчета"/"Способ расчета" для доставки

2.1.1 (5.07.2022)
------------------

Expand Down
2 changes: 1 addition & 1 deletion komtetkassa/lib/config/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return array(
'name' => 'КОМТЕТ Касса',
'description' => 'Фискализация платежей с помощью сервиса КОМТЕТ Касса',
'version' => '2.1.1',
'version' => '2.1.2',
'vendor' => 1087963,
'frontend' => true,
'handlers' => array(
Expand Down
2 changes: 2 additions & 0 deletions komtetkassa/lib/shopKomtetkassa.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ private function processReceipt($params, $operation = 'payment', $check_type=Cal
round($order['shipping'], 2),
$vat
);
$position->setCalculationMethod(self::CALCULATION_METHOD[$check_type]);
$position->setCalculationSubject(self::CALCULATION_SUBJECT[$check_type]);
$check->addPosition($position);
}

Expand Down

0 comments on commit 02a00f2

Please sign in to comment.