Closed georgmaisser closed 6 months ago
When using payback, you have to check the cash report (table: local_shopping_cart_ledger). Payback means, that not only the credit is changed but also the cashier balance is changed. This means that the value is also stored in "price":
Additional info:
Currently there are only three options: (1) correct credits (if there have been errors) (2) pay back credits with cash (3) pay back credits with bank transfer
Also there are extra buttons to pay back the full credit with cash or bank transfer.
Implemented via https://github.com/Wunderbyte-GmbH/moodle-local_shopping_cart/commit/674ed3d3afaa12f01bdb782a4bbd2bd670b2bc1c https://github.com/Wunderbyte-GmbH/moodle-local_shopping_cart/commit/c02115705e9cc576d2dce4dbbe5b8034b2757013 https://github.com/Wunderbyte-GmbH/moodle-local_shopping_cart/commit/13f6e4cbfb514e449a1b285343b1052b904afb35 https://github.com/Wunderbyte-GmbH/moodle-local_shopping_cart/commit/9d89bf6047bc3d9355e900f1cf9229a931e1a44a
However it does not working properly until issue with dependency to mod_booking
Exception - Class 'mod_booking\singleton_service' not found
File: ...rm\modal_creditsmanager.php
Line: 63
will be resolved
What exact featires have to be covered with tests? I found