fixed some bugs, added human friendly order number to transactions
This commit is contained in:
parent
00e0035a3d
commit
537824fdc9
4 changed files with 13 additions and 12 deletions
|
|
@ -167,7 +167,7 @@ sub www_tax {
|
|||
my $session = shift;
|
||||
my $output = undef;
|
||||
my $method = "www_".$session->form->get("method");
|
||||
my $tax = WebGUI::Shop::Tax->create($session);
|
||||
my $tax = WebGUI::Shop::Tax->new($session);
|
||||
if ($method ne "www_" && $tax->can($method)) {
|
||||
$output = $tax->$method();
|
||||
}
|
||||
|
|
@ -186,7 +186,7 @@ sub www_transaction {
|
|||
my $session = shift;
|
||||
my $output = undef;
|
||||
my $method = "www_".$session->form->get("method");
|
||||
my $transaction = WebGUI::Shop::Transaction->create($session);
|
||||
my $transaction = WebGUI::Shop::Transaction->new($session);
|
||||
if ($method ne "www_" && $transaction->can($method)) {
|
||||
$output = $transaction->$method();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue