Don't show intermediate cart results

Also, move "Done:" display from users plugin to global messages
This commit is contained in:
Juerd Waalboer 2024-11-17 01:16:16 +01:00
parent 807d255b53
commit 5d8ff672f1
3 changed files with 9 additions and 9 deletions

View file

@ -22,14 +22,6 @@ sub command :Tab(list,ls,shame,log,USERS) ($self, $cart, $command, @) {
return ACCEPT;
}
sub hook_checkout($class, $cart, $user, $transaction_id, @) {
if ($cart->changed) {
say "Done:";
$cart->display;
}
say "Transaction ID: $transaction_id";
}
sub list($self) {
require RevBank::TextEditor;