revbank/plugins/withdraw
2013-02-26 04:11:13 +01:00

11 lines
255 B
Text

HELP "<amount>" => "Withdraw or enter price manually";
sub command {
my ($self, $cart, $command) = @_;
my $amount = parse_amount($command) or return NEXT;
$cart->add(undef, -$amount, "Withdrawal or unlisted product");
return ACCEPT;
}