registrant management is mostly working
This commit is contained in:
parent
57934cf1bc
commit
9d99c7e71d
6 changed files with 363 additions and 1689 deletions
Binary file not shown.
|
|
@ -73,16 +73,17 @@ sub upgradeEMS {
|
|||
$db->write("alter table EventManagementSystem add column templateId varchar(22) binary not null default '2rC4ErZ3c77OJzJm7O5s3w'");
|
||||
$db->write("alter table EventManagementSystem add column badgeBuilderTemplateId varchar(22) binary not null default 'BMybD3cEnmXVk2wQ_qEsRQ'");
|
||||
$db->write("alter table EventManagementSystem add column lookupRegistrantTemplateId varchar(22) binary not null default 'OOyMH33plAy6oCj_QWrxtg'");
|
||||
$db->write("alter table EventManagementSystem add column printBadgeTemplateId varchar(22) binary not null default 'PsFn7dJt4wMwBa8hiE3hOA'");
|
||||
$db->write("alter table EventManagementSystem add column printTicketTemplateId varchar(22) binary not null default 'yBwydfooiLvhEFawJb0VTQ'");
|
||||
$db->write("alter table EventManagementSystem add column badgeInstructions mediumtext");
|
||||
$db->write("alter table EventManagementSystem add column ribbonInstructions mediumtext");
|
||||
$db->write("alter table EventManagementSystem add column ticketInstructions mediumtext");
|
||||
$db->write("alter table EventManagementSystem add column tokenInstructions mediumtext");
|
||||
$db->write("alter table EventManagementSystem add column registrationStaffGroupId varchar(22) binary not null");
|
||||
$db->write("alter table EventManagementSystem_metaData rename EMSEventMetaData");
|
||||
$db->write("alter table EventManagementSystem_metaField rename EMSEventMetaField");
|
||||
$db->write("alter table EMSEventMetaField drop column autoSearch");
|
||||
$db->write("alter table EMSEventMetaField drop column name");
|
||||
|
||||
|
||||
print "\t\tCreating new tables.\n" unless ($quiet);
|
||||
$db->write("create table EMSRegistrant (
|
||||
badgeId varchar(22) binary not null primary key,
|
||||
|
|
@ -148,6 +149,7 @@ sub upgradeEMS {
|
|||
location varchar(100),
|
||||
relatedBadgeGroups mediumtext,
|
||||
relatedRibbons mediumtext,
|
||||
eventMetaData mediumtext,
|
||||
primary key (assetId, revisionDate)
|
||||
)");
|
||||
$db->write("create table EMSToken (
|
||||
|
|
@ -164,6 +166,10 @@ sub upgradeEMS {
|
|||
primary key (assetId, revisionDate)
|
||||
)");
|
||||
$session->config->addToArray("workflowActivities/None","WebGUI::Workflow::Activity::ExpireEmsCartItems");
|
||||
|
||||
print "\t\tMigrating old EMS data.\n" unless ($quiet);
|
||||
#$db->write("alter table EventManagementSystem_metaData rename EMSEventMetaData");
|
||||
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -146,8 +146,6 @@ sub toHtml {
|
|||
}
|
||||
my $i=0;
|
||||
my $options = $self->getOptions;
|
||||
$self->session->errorHandler->warn(JSON->new->encode($options));
|
||||
|
||||
foreach my $key (keys %{$options}) {
|
||||
$i++;
|
||||
my @values = $self->getDefaultValue;
|
||||
|
|
|
|||
|
|
@ -223,7 +223,6 @@ sub update {
|
|||
$newProperties->{ configuredTitle } = $sku->getConfiguredTitle;
|
||||
$newProperties->{ isRecurring } = $sku->isRecurring;
|
||||
$newProperties->{ recurInterval } = $sku->getRecurInterval if $sku->isRecurring;
|
||||
|
||||
my $address = $item->getShippingAddress;
|
||||
$newProperties->{ shippingAddressId } = $address->getId;
|
||||
$newProperties->{ shippingAddressName } = $address->get('name');
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'lookup registrant template' => {
|
||||
message => q|Lookup Registrant|,
|
||||
message => q|Lookup Registrant Template|,
|
||||
lastUpdated => 0,
|
||||
context => q|a property label|,
|
||||
},
|
||||
|
|
@ -224,6 +224,30 @@ our $I18N = {
|
|||
context => q|help for a property label|,
|
||||
},
|
||||
|
||||
'print badge template' => {
|
||||
message => q|Print Badge Template|,
|
||||
lastUpdated => 0,
|
||||
context => q|a property label|,
|
||||
},
|
||||
|
||||
'print badge template help' => {
|
||||
message => q|Which template would you like to use for printing badges?|,
|
||||
lastUpdated => 0,
|
||||
context => q|help for a property label|,
|
||||
},
|
||||
|
||||
'print ticket template' => {
|
||||
message => q|Print Ticket Template|,
|
||||
lastUpdated => 0,
|
||||
context => q|a property label|,
|
||||
},
|
||||
|
||||
'print ticket template help' => {
|
||||
message => q|Which template would you like to use for printing tickets?|,
|
||||
lastUpdated => 0,
|
||||
context => q|help for a property label|,
|
||||
},
|
||||
|
||||
'badge builder template' => {
|
||||
message => q|Badge Builder Template|,
|
||||
lastUpdated => 0,
|
||||
|
|
@ -314,6 +338,54 @@ our $I18N = {
|
|||
context => q|a property label|,
|
||||
},
|
||||
|
||||
'print' => {
|
||||
message => q|Print|,
|
||||
lastUpdated => 0,
|
||||
context => q|a link label|,
|
||||
},
|
||||
|
||||
'checked in' => {
|
||||
message => q|Checked In|,
|
||||
lastUpdated => 0,
|
||||
context => q|used in registration management to alert staff whether user has already picked up badge|,
|
||||
},
|
||||
|
||||
'not checked in' => {
|
||||
message => q|Not Checked In|,
|
||||
lastUpdated => 0,
|
||||
context => q|used in registration management to alert staff whether user has already picked up badge|,
|
||||
},
|
||||
|
||||
'mark as not checked in' => {
|
||||
message => q|Mark As Not Checked In|,
|
||||
lastUpdated => 0,
|
||||
context => q|a link label|,
|
||||
},
|
||||
|
||||
'mark as checked in' => {
|
||||
message => q|Mark As Checked In|,
|
||||
lastUpdated => 0,
|
||||
context => q|a link label|,
|
||||
},
|
||||
|
||||
'refund' => {
|
||||
message => q|Refund|,
|
||||
lastUpdated => 0,
|
||||
context => q|a link label|,
|
||||
},
|
||||
|
||||
'add more items' => {
|
||||
message => q|Add More Items|,
|
||||
lastUpdated => 0,
|
||||
context => q|a link label|,
|
||||
},
|
||||
|
||||
'notes' => {
|
||||
message => q|Notes|,
|
||||
lastUpdated => 0,
|
||||
context => q|a property label for registrant notes|,
|
||||
},
|
||||
|
||||
'ribbon instructions help' => {
|
||||
message => q|Give the user some help on what to do with a ribbon.|,
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue