Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
plakidan committed Oct 15, 2024
1 parent dda65b8 commit a2a2347
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 189 deletions.
3 changes: 2 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/composer.lock
/vendor/
/vendor/
.idea
12 changes: 0 additions & 12 deletions .idea/codeception.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

33 changes: 0 additions & 33 deletions .idea/php.xml

This file was deleted.

22 changes: 0 additions & 22 deletions .idea/phpspec.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/phpunit.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/qr-uct.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

81 changes: 0 additions & 81 deletions .idea/workspace.xml

This file was deleted.

Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified composer.json
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/Generator.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function setAmount($amount): self
$kop = $amount - $main * 100; // Дробна частина

if($kop > 0){
$floatString = $main . "." . str_pad($kop, '0', 2, STR_PAD_LEFT);
$floatString = $main . "." . str_pad($kop, 2, '0', STR_PAD_LEFT);
}else{
$floatString = $main;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

$generator = new UCT\Generator();
$generator
->setAmount(59.14)
->setAmount(436.05)
->setCurrency('UAH')
->setPaymentPurpose('Благодійний безповоротний внесок')
->setReceiverAccount('UA473052990000026005026707459')
Expand Down

0 comments on commit a2a2347

Please sign in to comment.