Commit Graph

644 Commits

Author SHA1 Message Date
dave
1bdba54ed5 - Add a special awards feature (off by default) to the judge scheduler. It:
- Creates a judging team for each special award
	- Assigns judges to special awards based on the number of students self
	  nominated.
	- Obeys the judges special award preferences (if enabled), and also
	  judges that specify if they are a judge for a specific special award
	  (if enabled).

- Add 2 new config variables.
	- Enable the special award scheduler
	- Specify the max. number of projects each special award judge can
	  handle (default: 20)

- Delete an extra blank line in register_participants_students.php
2007-03-28 06:16:41 +00:00
dave
cc2e6b5bce - Add fullpage (no margin) reports for the full pages, we need them for our
certificate generator
2007-03-27 05:01:51 +00:00
james
fb1ddd4775 Clarify what the 'prize' field should be used for. (eg, only if the prize is non-cash/non-scholarship) 2007-03-26 17:06:44 +00:00
james
72afcf583c Get the logo to fit on the label 2007-03-26 17:04:42 +00:00
dave
d21fbee5a4 - Turn off table label boxes by default 2007-03-26 16:55:45 +00:00
dave
a979f158eb - Add a 0.75" page margin to the full page labels 2007-03-26 16:49:15 +00:00
james
99ad9ae8e3 Only show the max number of students per project, no matter what the address bar passes into $_GET 2007-03-26 16:29:20 +00:00
dave
ee6454868f - Sneak this in so we don't print nametags for incomplete judges. 2007-03-26 06:30:15 +00:00
dave
336ec2f75c - Don't generate PDF table reports for things that should be labels.. generate
"label" reports.
2007-03-26 06:20:43 +00:00
dave
efc7ae411d - BAM!
- Overhauled the report generator.. It's more versatile now
- Added 'filter' option to the generator, so you can filter any column by (=,
  <=, >=, <, >, IS, IS NOT, LIKE, NOT LIKE).  It doesn't support AND or OR
  combinations, but that should cover what we need for now.  Example: We can
  filter "Award Name" LIKE "%Gold%" to generate a report of just the Gold medal
  projects.
- Wipe out the report database, and create it again from scratch.
  update.48.sql contains an example of how to add additional reports to the
  system without knowing the report_ids, because after regions start adding
  their own reports, we won't be able to just wipe out the whole report system
  to add one.
- We handle more reports now, specifically nametags and table labels, so remove
  those files, and update the reports.php file to link the old links to the new
  report generator (so people don't get too confused in this transition).
- Beginnings of moving the report generator to proper LEFT JOIN style
  constructs instead of just one big massive EQUALS JOIN.
2007-03-26 06:15:41 +00:00
dave
80ca088be2 - This will break things, but I need to get these home so I can work on 'em.
WIth luck, I'll have a new report generator commiteed witha proper DB update
  tonight.
2007-03-26 01:54:18 +00:00
james
c22b3fa86b Add some extra fields to the awards report 2007-03-22 14:55:24 +00:00
dave
c64d7445e9 Update the selector so it works 2007-03-20 20:50:14 +00:00
dave
23934f080a - Fix the report selector for browers that can't seem to do javascript 2007-03-20 18:49:44 +00:00
dave
a67e8b8fb5 - Fix the position of the image on the label
- Change the fair title font to 13pt (from 14pt), it was spilling over onto the
  second line for many fairs  (Waterloo-Wellington, Greater Vancouver, Quinte,
  Fraser Valley)  Actually, the size of that should probably be proportinal to
  the size of the label.. that'll come later...
2007-03-20 06:27:04 +00:00
dave
77eee9dcdd - Add options for nametags to be generated
- Add committee member generator
- It is now possible to generate ALL nametags the old system could generate
  (needs a DB update before that happens... actually, the report generator
  isn't as stable as I hoped.. I'll probably just nuke the report tables the
  next upgrade and recreate them all.. I'm probably the only one who has tried
  generating a custom report. :)
2007-03-20 06:24:18 +00:00
dave
18d2bfa0d3 - The generator needs these to be arrays 2007-03-19 16:47:01 +00:00
dave
cf8f539c48 - Missed a year check 2007-03-19 07:49:21 +00:00
dave
4e2d7d77aa - Fix up the pdf generation of our nametags
- This also changes the newlabel function, so just thinking about it, I think
  there's a 0.15 missing in the alignment that was moved inside a conditional
  for labels... All labels will be replaced soon anyway.  :p
2007-03-19 06:56:38 +00:00
dave
2f23e31a40 - Update the generator, it can do labels and nametags now, almost ready to
deprecate all the mailing list/nametag/table label/etc. files.
2007-03-19 06:51:44 +00:00
dave
3f737b3270 - Replace two judging reports.. The second isn't quite a perfect match, but it's close
enough..  Currently we can't produce both a list of judges and a list of awards for each
  team with the generator (how the heck would we express that with an SQL statement)
2007-03-19 00:13:12 +00:00
dave
2b4c5f12e3 - How did that ';' get in there ? 2007-03-18 23:54:35 +00:00
dave
7487828552 - 4 new reports 2007-03-18 23:18:07 +00:00
dave
d659999339 - Update the judge and award report generators 2007-03-18 21:48:36 +00:00
dave
7b04204ede - Add judge and award type report generators (not nearly complete)
- Migrate generic code into reports.inc.php
2007-03-18 19:59:02 +00:00
dave
f3129e7a39 - Add date of birth to the student report field list so we can close a bug on
bugtracker.
2007-03-18 07:24:52 +00:00
dave
857cb6aa7b - Fix the CSV generator 2007-03-18 07:19:00 +00:00
dave
331bedc7e7 - Delete reports that the new report generator now duplicates 2007-03-18 07:12:49 +00:00
dave
b3978c7dae - Add a new student report generator
- Add an editor for that generator.. it's not flawless, but it's not hard to
  use either.
- Add 19 default reports
- Replace several reports on the report page with the new generator versions
  (they pretty much look the same, same info, same sort order, same pagination)
- Add a pulldown menu to the report pages so any report can be generated
2007-03-18 07:10:54 +00:00
dave
7c96874571 - Add page numbers to lpdf generated reports
- Allow the addTable array to contain an 'option' array, with one supported
  option 'allow_multiline' => if true, it allows cell data to spill into
  mutliple rows, instead of just printing ... if the text doesn't fit.
  
- Ignore the addText2 function, it is for label generation and isn't finished
  yet.
2007-03-18 05:02:14 +00:00
james
a318e2d1fa Always for the project number position, incase the project title wraps onto two lines, this prevents the table labels from spilling over to two pages.
Also fix it so it doesnt have a final blank page at the end
2007-03-14 01:18:18 +00:00
james
faceec20ed In the judges division groupings, only show the count of projects that are complete or paymentpending 2007-03-13 22:11:18 +00:00
james
174490b752 Auto focus on the input box on the input received forms page, so you dont have to click on the box every time before you start typing in the registration number. 2007-03-13 21:34:24 +00:00
james
e2eff96db9 Show the link to the Confirmed Participants page once the date > regclose. The list will be empty (but with a notice to that affect) until the date that the list is defined to be posted. This should hopefully prevent the frantic phone/emails "i sent my forms three days ago why havent you received them?!?!?!?!" 2007-03-13 14:34:02 +00:00
dave
453a3666f1 - Commit the report generator.. it still needs work, but it's quite usable now. 2007-03-13 06:10:27 +00:00
james
eb0481b2a1 - Add hr() and vspace() to the CSV report generator. 2007-03-13 05:01:37 +00:00
dave
cb992b8819 - Add the "none" tshirt option to the admin student editor 2007-03-12 17:27:55 +00:00
james
3519bc5e0e Add three new email recipients to the communications module:
1) special award sponsors (confirmed only)
2) special award sponsors (unconfirmed only)
3) special award sponsors (all)
2007-03-12 14:23:44 +00:00
dave
57ff84c563 - Move registration fee computation into the include file
- Add the required registration fee to the received forms checkoff, so the
  amount of the cheque can ben checked too.
2007-03-12 02:05:40 +00:00
james
1e2608d5b5 If there's no regfee, then dont show the status column on the confirmed participants page
becuase status will only ever be 'Complete'
2007-03-08 21:54:30 +00:00
james
ea55978aa9 Make sure $config['dates']['postparticipants'] is valid before relying on it. 2007-03-08 21:35:52 +00:00
james
59aade5f0c Add the confirmed participants list, and display it in the menu under the particpant registration link, if NOW() > the date it should be posted. 2007-03-08 21:33:22 +00:00
james
a426c264d4 Version 2.0.12 2007-03-05 21:03:09 +00:00
dave
f0bb80a866 - Fix the name of the generate project number function
- Hardcode add a special award to the top of the list "I do not wish to
  nominate for any special awards".  Allow the
  project_specialawards_link.award_awards_id field to become NULL, and set it
  to NULL if the student selects this award.
- Fix the display of the award status based on whether the student has or has
  not specified that they do not wish to nominate for special awards.
2007-03-05 04:27:44 +00:00
dave
5b84c70f69 - Display a small warning that the signature page is only available after ALL
registration sections are complete.

- Display a warning in the special awards that selection is only available
  after the project and student information is complete.  Since some awards
  check this information, we can't let students in until it is completed.
2007-03-05 02:26:56 +00:00
dave
6f4d3177bf - Indicate that T-Shirt sizes are adult size (just about every fair does this,
I believe, if a fair doesn't, we should make this a configurable option.);
2007-03-05 02:01:04 +00:00
dave
d2ab242d39 - Change the submit button on the judge's special awards page to say "Save
special awards preferences", instead of "Save areas of Expertise"
2007-03-05 01:59:49 +00:00
james
9e009bc5d6 - Remove a debug print statement from last commit :) 2007-03-04 20:30:31 +00:00
james
4789d78e2f - Move the project number generation into a header
- Add an option to the project editor to regenerate the project number
- Fix a bug in the project number generation.  Include YEAR in the project
  number check (and in the number generation) so we don't find a project from
  last year (that already has a number), and decide not to generate one for a
  project from this year.  The $checkNumQuery was returning 2 rows.. one from
  2006, one from 2007.  Two projects from different years had the same
  registrations.num (665983) in my test.. about 10% of the projects at the VDSF
  collided with numbers from previous years.
2007-03-04 20:28:51 +00:00
james
c7560b91d4 Update wording for 'invite only' judge registration 2007-03-04 16:52:37 +00:00