oops; forgot the name.
This commit is contained in:
parent
27fcef42f5
commit
e9a5fe3992
1 changed files with 3 additions and 1 deletions
|
|
@ -3361,11 +3361,13 @@ sub www_editDiscountPassSave {
|
||||||
return $self->www_editDiscountPass(undef,$error) if $error;
|
return $self->www_editDiscountPass(undef,$error) if $error;
|
||||||
my $passId = $self->session->form->process('passId');
|
my $passId = $self->session->form->process('passId');
|
||||||
my $type = $self->session->form->get("type", "radioList");
|
my $type = $self->session->form->get("type", "radioList");
|
||||||
|
my $name = $self->session->form->get("name", "text");
|
||||||
my $amount = $self->session->form->get("amount", "float");
|
my $amount = $self->session->form->get("amount", "float");
|
||||||
my $details = {
|
my $details = {
|
||||||
passId => $passId, # if this is "new", setCollateral will return the new one.
|
passId => $passId, # if this is "new", setCollateral will return the new one.
|
||||||
type => $type,
|
type => $type,
|
||||||
amount => $amount
|
amount => $amount,
|
||||||
|
name => $name
|
||||||
};
|
};
|
||||||
$passId = $self->setCollateral("EventManagementSystem_discountPasses", "passId",$details,0,0);
|
$passId = $self->setCollateral("EventManagementSystem_discountPasses", "passId",$details,0,0);
|
||||||
return $self->www_manageDiscountPasses();
|
return $self->www_manageDiscountPasses();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue