Commit Graph

259 Commits

Author SHA1 Message Date
dave
a979f158eb - Add a 0.75" page margin to the full page labels 2007-03-26 16:49: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
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
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
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
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
dave
453a3666f1 - Commit the report generator.. it still needs work, but it's quite usable now. 2007-03-13 06:10:27 +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
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
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
2ff20effc2 Respect page margins on the school access codes report 2007-03-04 16:38:45 +00:00
james
fe2627faec Fix the wording on Jesse's table labels and nametags field section pages. 2007-03-04 16:36:28 +00:00
james
659bc11066 Put the email address in the registration list, so when someone calls and says "i never got my registration number!" you can easily look it up for them! Sorry this didnt get into 2.0.10, im going to update everyones version with this patch anyways 2007-03-02 15:02:14 +00:00
james
fea05546d1 Fixed the reports_schoolprojects report to not error when there are no projects 2007-02-26 21:43:39 +00:00
jesse
4c08f9c517 This now prompts for which fields to display in the name tag (pdf). 2007-02-24 20:24:22 +00:00
jesse
5edba483e3 This will prompt for which fields to display on the project table label. By default all of the checkboxes are ticked. 2007-02-24 19:59:55 +00:00
james
2d6257715e Fix text on one configuration variable
Fix judge manager to keep the 'show_what' persistent when performing other actions on the table (editing, sorting, etc).
2007-02-21 20:42:48 +00:00
jesse
8830c1be99 added another column "school boards". This allows us to sort our list and quickly distribute the school access codes because we do not have email addresses for all of our schools. 2007-02-18 17:38:48 +00:00
james
8a009b71e1 Add a "Presented by: " to the awards ceremony script
Closes Bug #0000113
2007-02-12 22:30:43 +00:00
james
952a4d3c29 Fix a bug where if no $table is passed to addTable it will now return gracefully instead of spitting out error messages
Add email field to the judge list, and the judge manager list
2007-02-09 14:57:07 +00:00
james
1d203535ee Add 1x4" judging sheet stickers for use on the CWSF judging sheets. It contains the project number, title, and category/division. 2007-02-07 22:05:59 +00:00
dave
f83dcfebd0 - Add the award critera to the page where we input the winners, just so the
person doing the data entry has the option to sanity check the results.
2007-01-30 07:45:12 +00:00
dave
49c5704143 - Include the table editor before the judge class, this is in prep for PHP5
when we implmeent templates.
2007-01-30 01:52:55 +00:00
dave
3da0ba87e2 - Update the table editor, instead of doing all that funky stuff for listing
the table, we call a method in the table helper class.  That method returns 3
  things.. an array of SELECT columns, an array of FROM tables, and an array of
  WHERE clauses.  The table editor takes these, adds ORDER, LIMIT, etc, and
  runs the sql.
- Update the table editor to allow variables to be set.  THe helper class reads
  these variables to do pretty much anything it wants.. In this commit, it
  reads the judges_show_what variable, to determine how to format the SQL for
  selecting the table of judges (so the calling php can now know NOTHIGN about
  the database, it just sets a variable and expects the data to be formatted
  correctly.
- Update the judge manager, show all judges should now SHOW ALL JUDGES.
2007-01-28 07:53:14 +00:00
dave
94639c1278 - Allow a committee member to edit the password in their own profile (if they
have admin access to access the committee editor)
- Put a "My Profile" link on the main nav bar once a committee member logs in,
  so they don't have to find themselves thorugh the committee editor.  It takes
  them right to editing their own profile.
2007-01-21 05:43:29 +00:00
dave
82b8b75b25 - Add location and contact info for each tour. Dump this in the CSV dump of
the tours, but don't show it to the students at all.
2007-01-20 08:10:26 +00:00
dave
f7c430d712 - Allow a committee privateemail to be written as '' (nothing) without throwing
the "email address already exists" error.
2007-01-18 04:16:43 +00:00
james
932ce3731c remove some extra code from the tours manager
add a link to return to admin for translations
2007-01-12 20:45:52 +00:00
dave
900dab702d Add Tour selection.
- Admin can use the tour manager to add tours
- Admin can use the config variables to enable tours, and select the min/max number of tour choices.
- Students will see a "Tour Selection" section of registration, which is incomplete until the student has selected at least a minimum number of tours.... actually, this may be broken.. Need to look at it further..
2007-01-09 19:05:23 +00:00
james
0dd2da7145 Add configuration options to choose whether to ask the students if they require:
- table
	- electricity
2007-01-02 20:33:16 +00:00
james
9fc98fc288 Add a TCPDF version of the signature page, TCPDF does not require any extra PDF libraries (eg pdflib) to be installed
Create PNG versions of the uploaded logo image file
Detect which version of the signature page to use
Bump version to development series 2.0.5
2006-12-18 20:55:30 +00:00
james
0bd7ab8a93 Add an option to forcibly reset the judge scheduelr incase it gets stuck in an inconsistent state
Bump version number
Correct wording on judges expertise page
2006-12-15 21:18:27 +00:00
james
b38dfe33cc Update copyright headers to 2006 2006-12-15 19:51:32 +00:00
james
f36212f868 Add a project editor and a student editor, accessible by
clicking on the project or student links from the 
  "Registration List and Statistics" page

Add the project number to the registration list
2006-12-15 18:45:06 +00:00