Don't show intermediate cart results
Also, move "Done:" display from users plugin to global messages
This commit is contained in:
parent
807d255b53
commit
5d8ff672f1
3 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue