- Added new registration search and management interface to the EMS.

- Added badge printing support to the EMS.
This commit is contained in:
JT Smith 2007-07-29 16:08:19 +00:00
parent 33a841ba32
commit 66e4b82f8a
8 changed files with 233 additions and 65 deletions

View file

@ -0,0 +1,15 @@
#emsbadgeprintout000000
#url: ems-badge-print-out-template
#title: Badge Print
#namespace:emsbadgeprint
#create
<html><head> </head><body style="background-color: white;">
<div style="color: black; background-color: white; width: max-width: 700px; font-family: sans-serif;">
<div style="font-size: 33px; margin-top: 101px; text-align: center; font-weight: bold;"><tmpl_var firstName> <tmpl_var lastName></div>
<div style="font-size: 21px; margin-top: 34px; text-align: center;"><tmpl_var city></div>
<div style="font-size: 21px; margin-top: 12px; text-align: center;"><tmpl_var state></div>
<div style="font-size: 10px; margin-top: 6px; text-align: left;"><tmpl_var badgeId></div>
<div style="font-size: 21px; height: 26px; background-color: black; color: white; font-variant: small-caps; text-align: center;"><tmpl_var title></div>
</div>
</body></html>

View file

@ -0,0 +1,16 @@
#emsticketprintout00000
#url: ems-ticket-print-out-template
#title: Ticket Print
#namespace:emsticketprint
#create
<html><head> </head><body style="background-color: white;">
<div style="color: black; background-color: white; max-width: 700px; font-family: sans-serif;">
<div style="font-size: 16px; padding-left: 5px; background-color: black; color: white"><tmpl_var sku>: <tmpl_var title></div>
<div style="font-size: 13px;"><tmpl_var location></div>
<div style="font-size: 13px; margin-top: 14px; text-align: right;">^D(,<tmpl_var startDate>); - ^D(,<tmpl_var endDate>);</div>
<div style="font-size: 16px; font-weight: bold; margin-top: 21px;"><tmpl_var lastName>, <tmpl_var firstName></div>
<div style="font-size: 12px; margin-top: 6px; text-align: right; float: right;"><tmpl_var price></div>
<div style="font-size: 12px; margin-top: 6px;"><tmpl_var badgeId></div>
<div style="font-size: 17px; border: 1px solid black; text-align: center;"><tmpl_var emsTitle></div>
</div>
</body></html>

View file

@ -40,9 +40,18 @@ addWikiAttachments($session);
addAdminConsoleGroupSettings($session);
updateCommerce($session);
updateProfileDateFormats($session);
addEmsBadgePrinting($session);
finish($session); # this line required
#-------------------------------------------------
sub addEmsBadgePrinting {
my $session = shift;
print "\tAdding badge printing support to EMS.\n" unless $quiet;
$session->db->write("alter table EventManagementSystem add column badgePrinterTemplateId varchar(22) binary not null default 'emsbadgeprintout000000'");
$session->db->write("alter table EventManagementSystem add column ticketPrinterTemplateId varchar(22) binary not null default 'emsticketprintout00000'");
}
#-------------------------------------------------
# Add the default admin console group settings
sub addAdminConsoleGroupSettings {