Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DevGroup-ru/php-dreamkas
Browse files Browse the repository at this point in the history
  • Loading branch information
bethrezen committed Dec 9, 2017
2 parents c4f3abb + c79f98b commit 0210147
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ $receipt->attributes = new CustomerAttributes([
'phone' => '74996776566', // телефон покупателя
]);

$receipt->calculateSum();
// Можно посчитать сумму автоматом
// $receipt->calculateSum();
// А можно завалидировать чек
// $receipt->validate();


$response = [];
Expand All @@ -59,4 +62,4 @@ try {

```

Made by DevGroup.ru - [Создание интернет-магазинов](https://devgroup.ru/services/internet-magazin).
Made by DevGroup.ru - [Создание интернет-магазинов](https://devgroup.ru/services/internet-magazin).

0 comments on commit 0210147

Please sign in to comment.