From 50d4b7a2c870703253e0776df5cb19a2f8b06728 Mon Sep 17 00:00:00 2001 From: Aboozar Ghaffari Date: Sun, 31 Dec 2023 16:55:34 +0330 Subject: [PATCH] fixed bug in cumulative in asanpardakht --- src/Provider/AsanPardakhtProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/AsanPardakhtProvider.php b/src/Provider/AsanPardakhtProvider.php index b1fc601..05598f8 100755 --- a/src/Provider/AsanPardakhtProvider.php +++ b/src/Provider/AsanPardakhtProvider.php @@ -397,7 +397,7 @@ protected function generateComplementaryOperation($method): bool private function cumulativeData(): array { - if ($this->getParameters('cumulative')) { + if ($this->getParameters('settlement_portions')) { return [ 'settlementPortions' => $this->getParameters('settlement_portions') ];