Commit Graph

377 Commits

Author SHA1 Message Date
dave
1dad6505eb - Select the first contact for each sponsor as the primary
- Prevent the user from setting zero, or more than one, primary contact.
- Add a primary column to the contacts table, so they can see the automatic
  set/unset operations on the primary contact.
2007-12-13 21:50:31 +00:00
dave
dcfcd358fc - Add a primary contact field to the award contacts
- Use the primary contact in award reports
2007-12-13 21:23:29 +00:00
dave
4c9d23e513 - Add sponsor information to the report generator awards report.
- Add a system report that dumps all sponsor info to a csv.
2007-12-13 19:56:44 +00:00
dave
c9fb9f1084 - Fix bug 0000128, the order of the languages in the judging team names 2007-12-13 19:21:41 +00:00
dave
57f349b1b1 - Add a year field to the users db, we'll need it eventually
- Add a designate field to the schools, to indicate an independent, standard,
  private, etc. school.  It's not editable yet, but.. eventually.
- Fix generatePassword to use proper string indexing, and remove the
  possibility of indexing beyond the end of the string.
- Add "Invite" and "SinglePassword" modes for volunteer registration.
- Update the admin section, add a new volunteers page to contain links to all
  volunteer options
2007-12-13 18:09:22 +00:00
james
89f074052c correct & combine same-size label templates 2007-12-13 17:03:35 +00:00
dave
d9135ec036 - Fix label names 2007-12-13 16:50:53 +00:00
james
7a7f87f892 Better statistics, less database queries 2007-12-12 23:35:51 +00:00
james
5207a0d6e2 Oops use the correct totalprojects variable 2007-12-12 21:00:12 +00:00
james
e99b57c4fa Breakout the stats for agecategory/division into a nicer-to-view table format 2007-12-12 20:57:51 +00:00
dave
9fffa6755d - Call them 'fair's not 'region's.. to assist linking fairs together.
- This patch references some config variables that don't exist yet, that's ok,
  we dont' want anyone turning these on yet.
2007-12-12 04:15:17 +00:00
james
5e4a31c50c Clarify wording "input received signature forms"
Remove redundantly redundant header heading
2007-12-11 19:44:18 +00:00
james
8a1a67f1be Error checking on judges_teams_timeslots when no teams/timeslots are selected to assign 2007-12-11 19:38:25 +00:00
james
5d81818815 Error adding report to list if no category is specified
ALWAYS exit; after a header("Location:");
2007-12-11 18:23:15 +00:00
james
53847c37bf Make this page more readable with the right css classes 2007-12-11 18:22:27 +00:00
james
16dfbc934c Fix the breadcrumb trail 2007-12-10 22:06:41 +00:00
james
cf594b7f42 Clear the comments for a custom report 2007-12-10 21:48:37 +00:00
james
a1208d205a Fix the JSON "invalid label" problem for firefox 2007-12-10 21:47:05 +00:00
james
5d8632b07e refactor the standard ajax stuff to a common file
implement an ajax report fetcher for the my reports editor page using JSON to select the right stock/type defaults
2007-12-10 20:53:41 +00:00
james
7bbea6351a 1) Properly handle "filterdivisionbycategory" checks for divisional awards
2) Properly handle cases where there's MORE than one award for a certain div/cat combo
2007-12-10 19:21:21 +00:00
james
b146a9c773 OOps border isnt supposed to be there, its overrridden by the class anyways, but no point having it there taking up bandwidth 2007-12-10 18:26:03 +00:00
james
a38cda2c05 Make the reports page much more real-estate friendly 2007-12-10 18:23:00 +00:00
dave
c1e0353ec2 - Add a separate file for award ceremony scripts. I doubt this will ever end
up in the report system, so it might as well have its own home.  Also, there
  will be lots of options added to this in the future.
2007-12-10 09:40:34 +00:00
dave
4eb5098d59 - Move admin/reports.php to admin/reports_old.php
- Move admin/committee_reports.php to admin/reports.php
- Add some text explaining how the new system works
- Fix all linkage
2007-12-10 09:38:54 +00:00
dave
9bd50a5e5a - Do a reload on report selection when adding a report. FIXME: I need to find
a way to make this page not jump back to the top after the reload.
2007-12-10 09:14:48 +00:00
dave
85c3ad8694 - Add an "All Reports" section to the My Reports page, just like the top of the
(soon to be old) reports.php
2007-12-10 08:05:57 +00:00
dave
d554e116fd - Add some avery labels, and another custom report 2007-12-10 08:00:15 +00:00
dave
e384a48ea6 - Instead of using big ugly "Generate" buttons, just make the report names
clickable.
2007-12-10 03:28:42 +00:00
dave
5b282980ee - Fix the fairname in the sql queries for students and volunteers 2007-12-10 03:08:08 +00:00
dave
c44803e365 - Do something more intelligent when the report query fails, like, print a
friendly message with the failed query.
2007-12-10 03:05:35 +00:00
dave
4cacf1b945 - Add a link to try each report before adding it, so the committee member can
see what it looks like.
2007-12-10 02:59:47 +00:00
dave
3e3c28268c - Implement "My Reports". Committee members (with admin access, because
reports require admin access) can define a list of reports out of all the
  reports, and tag each one with a category and comments.  
- Add all except the ceremony scripts as "Custom" reports.  The My Reports
  system can handle links to custom reports now, but not the ceremony scripts.
  They're too special.  I think they should be moved out of the Reports Area.
- Clean up some report variables to avoid collisions with local names
  ($options, and $stock)
- Implment a new screen for report generation that lets the user set the
  format, stock, and year of the report.
2007-12-10 02:50:53 +00:00
james
e00a3a9d4b Fix judge teams add page -award query for MySQL 5.x 2007-12-08 17:07:51 +00:00
dave
c61a0d3d36 - Delete the old custom report 2007-12-08 00:00:57 +00:00
dave
e6b7b3beb0 - Add the fields for the school access report
- Change the report generator to accept an 'sid' (system report id)
- Use the sid, not the report id, for the custom reports that aren't custom
  reports anymore.
- Use the generator's school access report, not the custom one.
2007-12-08 00:00:26 +00:00
james
17b10cc269 Fix a parse error - dave you need to check these when you commit!! 2007-12-06 17:38:29 +00:00
james
f1706322d7 Rename heading "# of Prizes" to just "Prizes" 2007-12-06 04:10:09 +00:00
james
79915dd278 Properly fix the crumbtrail on the award sponsor contacts page 2007-12-06 04:03:32 +00:00
james
e2c2ccd7e2 Make position field display bigger and increase maxlength (it was already bigger in the db) 2007-12-05 16:10:07 +00:00
james
e592098311 Add missing breadcrumb
BUG#0000187
2007-12-05 15:54:12 +00:00
james
9ea749ceb9 lol fix the ysf affiliation stats since dave moved the committee members over to the new system 2007-12-05 04:21:57 +00:00
dave
d65bf7642e - Make "Contact Phone" sorter, so it fits in the header of the PDF
- Add an "export" option to the report editor.. so any custom report can be
  exported.. and sent to us, and we can insert it as a system report.
2007-12-03 22:07:23 +00:00
dave
6d7f06bd0f - Add more columns to the school report generator 2007-12-03 21:04:35 +00:00
james
7a6294cb95 Handle error cases when uploading award data to external sources 2007-11-30 18:20:02 +00:00
james
389a3660c4 Add award winner uploader to send winners info back to external award sources 2007-11-29 22:30:35 +00:00
james
5ba77a6868 Fix a $_SESSION collision with a $variable when register_globals is ON 2007-11-29 18:49:34 +00:00
james
fab18eb0c7 Add enabled and website (for help) to external sources
Update source editor
Make downloader only check enabled source
Make downloader check for username/password before attempting
Add extra instructions
2007-11-29 18:38:06 +00:00
james
a70413b92d Distinguish externally imported prizes from manually added ones 2007-11-28 22:06:17 +00:00
james
566c1d1573 Show awards imported from external sources differently in the awards list
Better handle award identifiers
Add a missing <br /> on import
2007-11-28 21:55:14 +00:00
james
3f3d242f6d Dont try to process awards if there is no awards to process
Change the class on the prize edit page to be tableview and tableedit instead of summarytable and none (for consistency with the awards page)
2007-11-28 21:04:36 +00:00