Logiqx / wsw-tech

Technical tasks relating to Weymouth Speed Week
0 stars 0 forks source link

Entrant Printed Information #50

Closed nickjpovey closed 1 year ago

nickjpovey commented 1 year ago

We need to create a process to generate the info needed by the "office team" to administer entrants and produce individual printed sheets.

Logiqx commented 1 year ago

I can create some kind of Python process to do this task.

Initial thought is to generate PDF or Word documents that can be manually printed.

nickjpovey commented 1 year ago

Competitor info sheet for office.docx

First draft of a simpler data form for the office I'll check with Norman and review how the sheets were used this year and if any other data would be beneficial.

Need to add chosen shirt size to the printout.

nickjpovey commented 1 year ago

Definitely manually printed. The bulk before leaving home, it would therefore be preferable if the sheets could be created via the web site? I'll investigate if any Joomla plugins exist for such a thing.

Currently we generate an HTML email to the entrant with much of the data, perhaps this could be refined with us as recipient??

nickjpovey commented 1 year ago

Just a little pondering and I think the way forward is an HTML email that gets sent via the web on entry form submission. Currently I'm using the code below with the 'Fabrik' Joomla extension but I'm sure it would be possible to build into it a graphic header and a table to get it to format as required for printing. Some of the values are created 'on the fly' within the form via javascript or such like coding e.g. amount due.

Dear {reg_entrant___namedisplay},

Thank you for your entry to Weymouth Speed Week 2023. We look forward to seeing you there.

When paying by bank transfer please use this reference {reg_entrant_id}/{regpersonid}.

Our Bank details are:

Weymouth Speed Week for some banks we have been informed that the account name only matches on the abbrievation Weymouth SW (HSBC classes the account type as "Charitable")
Sort Code: 403810
Account Number: 01462288
SWIFT or BIC: HBUKGB4108V
International Bank Account Number: GB38HBUK40381001462288

Thank you


<pThe details recorded for your entry are as follows:

New Entrant: ID: {reg_entrant_id} - {regentrantnamedisplay}

Email: {reg_entrant_emaildisplay}
Entry for Event {reg_entrant_eventid}:
Entry Type: {regentrant
entrytype}
Status: {reg_entrant_calcstatus}
Craft: {regentrant
crafttype}
Sponsorship: {reg_entrant_sponsorship}
Group: {regentrant
grouping}
UKWA Member: {reg_entrant___ind_memberukwa}
Boat Name: {regentrant
boatname}
First Timer: {reg_entrant_calc_ind_firsttimer}
Fees:
Entry: {regentrant
entryfee}
Rash Vest deposit: {reg_entrant___rashvestfee}


Total Amount: {reg_entrant___totalamount}

Logiqx commented 1 year ago

This sounds like a very good idea.

Having all entry-related activities done from the Joomla environment makes a lot of sense.

nickjpovey commented 1 year ago

wsw-entry-1.pdf This is an example of the "office" entrant data produced as a PDF when the Motions have been allocated.

Job done.