added display of existing items
This commit is contained in:
parent
3d260ea987
commit
faae4c79c2
1 changed files with 17 additions and 0 deletions
|
|
@ -1253,6 +1253,23 @@ sub verifyPrerequisitesForm {
|
||||||
|
|
||||||
my $i18n = WebGUI::International->new($self->session, 'Asset_EventManagementSystem');
|
my $i18n = WebGUI::International->new($self->session, 'Asset_EventManagementSystem');
|
||||||
|
|
||||||
|
$scratchCart = [split("\n",$self->session->scratch->get('EMS_scratch_cart'))];
|
||||||
|
|
||||||
|
foreach (@$scratchCart) {
|
||||||
|
my $details = $self->getEventDetails($_);
|
||||||
|
push(@$missingEventMessageLoop, {
|
||||||
|
'form.checkBox' => WebGUI::Form::checkbox($self->session, {
|
||||||
|
value => 1,
|
||||||
|
checked => 1,
|
||||||
|
name => "subEventDisregard",
|
||||||
|
extras => 'disabled="disabled"',
|
||||||
|
}),
|
||||||
|
'title' => $details->{title},
|
||||||
|
'description' => $details->{description},
|
||||||
|
'price' => $details->{price}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$var{'form.header'} = WebGUI::Form::formHeader($self->session,{action=>$self->getUrl})
|
$var{'form.header'} = WebGUI::Form::formHeader($self->session,{action=>$self->getUrl})
|
||||||
.WebGUI::Form::hidden($self->session,{name=>"func",value=>"addToCart"})
|
.WebGUI::Form::hidden($self->session,{name=>"func",value=>"addToCart"})
|
||||||
.WebGUI::Form::hidden($self->session,{name=>"method",value=>"addSubEvents"}
|
.WebGUI::Form::hidden($self->session,{name=>"method",value=>"addSubEvents"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue