oops; it's late.
This commit is contained in:
parent
10de351786
commit
6dd1bf331a
1 changed files with 1 additions and 1 deletions
|
|
@ -1924,7 +1924,7 @@ sub www_viewPurchase {
|
||||||
while (my $purchase = $sth->hashRef) {
|
while (my $purchase = $sth->hashRef) {
|
||||||
my $badgeId = $purchase->{badgeId};
|
my $badgeId = $purchase->{badgeId};
|
||||||
my $pid = $purchase->{purchaseId};
|
my $pid = $purchase->{purchaseId};
|
||||||
my $sql2 = "select r.registrationId, p.title, p.description, p.price, p.templateId, r.returned, e.approved, e.maximumAttendees, e.startDate, e.endDate from EventManagementSystem_registrations as r, EventManagementSystem_badges as b, EventManagementSystem_products as e, products as p where and p.productId = r.productId and p.productId = e.productId and r.badgeId=? and r.purchaseId=? group by r.registrationId order by b.lastName";
|
my $sql2 = "select r.registrationId, p.title, p.description, p.price, p.templateId, r.returned, e.approved, e.maximumAttendees, e.startDate, e.endDate from EventManagementSystem_registrations as r, EventManagementSystem_badges as b, EventManagementSystem_products as e, products as p where p.productId = r.productId and p.productId = e.productId and r.badgeId=? and r.purchaseId=? group by r.registrationId order by b.lastName";
|
||||||
my $sth2 = $self->session->db->read($sql2,[$badgeId,$pid]);
|
my $sth2 = $self->session->db->read($sql2,[$badgeId,$pid]);
|
||||||
$purchase->{regLoop} = [];
|
$purchase->{regLoop} = [];
|
||||||
while (my $reg = $sth2->hashRef) {
|
while (my $reg = $sth2->hashRef) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue