Commit Graph

719 Commits

Author SHA1 Message Date
james
724c627db4 Implement current/past donations for donors on the donors/sponsorships tab, and a way to switch between this year, and ALL years history 2009-10-11 20:20:52 +00:00
james
bdf2ea7577 Donations tab for campaigns 2009-10-11 19:49:04 +00:00
james
c9062e127b Implement working prospect list, and ability to remove indidivuals from the list or empty the entire list 2009-10-11 18:19:04 +00:00
james
663420b078 All of tonights wackload of changes 2009-10-11 03:32:14 +00:00
james
9a62fbc26d Updates to donor manager, auto populate individual contacts and disable fields that shouldnt be used for individuals 2009-10-10 23:36:48 +00:00
james
f6fcb2d728 Fix document downloader with spaces in the filenames (put quotes around the filename in the http headers) 2009-10-09 20:27:32 +00:00
james
8ea2823bf1 bloody hell.. more renaming Campaign->Appeal, Goal->Purpose
Begin the actual donations/sponsorships page for donors
Remove students from prospecting, set it to alumni, which wont be active for a while
2009-10-09 20:25:01 +00:00
james
081bc1b187 Really make sure they cant add auser with an email address that already exists 2009-10-09 15:47:25 +00:00
james
1f244c8375 Detect exact email address matches regardless of the name that goes with it, and dont let them submit 2009-10-09 15:04:45 +00:00
james
5aa7cf541a Remove debugging from user.inc
Begin the searching in the prospecting tool
2009-10-09 00:42:47 +00:00
james
0015d2bcd7 Implement live search for adding existing users to a contact 2009-10-08 22:42:38 +00:00
james
51191eec4f Add donor name above tabs on editor
Add fundraising module setup tab
Add select's for campaign type and for salutation
Other misc fixes
2009-10-08 19:13:14 +00:00
james
2fd187e753 Fix a bug in the campaign target percentage display 2009-10-07 22:10:52 +00:00
james
7e559461f8 Link fundraising dashboard campaign table to the campaign manager 2009-10-07 22:00:56 +00:00
james
77c3498fc1 Fixing i18n's 2009-10-07 21:52:39 +00:00
james
30171370e0 Setup the other tabs, empty so far 2009-10-07 21:49:49 +00:00
james
cdc93de3bd Overview tab implementation 2009-10-07 21:44:32 +00:00
james
7d42f697e7 Split otu campaign management to create/modify, and management
Add tabs for the management
2009-10-07 21:22:23 +00:00
james
087e89248a Working campaign editor 2009-10-07 19:43:58 +00:00
james
f01eac5b7b Add a date class for all date entry boxes to use
Update fundraising dashboard to pull all To-Do list items from the corresponding database tables/fields
Update donor contacts code to not be crazy
Update donor organization info page as per carolyn's suggestions
2009-10-07 17:58:11 +00:00
jacob
511562b5b7 Getting started on building the "Manage Campaigns" forms 2009-10-06 21:32:13 +00:00
james
6c61b26b1f Update fundraising dashboard tables to be live
Add a colour_to_percent converter to calculate colour ranges between 0 and 100, ranging from red to green through yellow
Remove the query output from donors search results
2009-10-06 21:00:12 +00:00
jacob
562f758c89 Moved the "new contact" form to the bottom of the accordion for ease of usage 2009-10-06 19:12:53 +00:00
james
cf2affcc03 Update default fundraising goals, and insert defaults if none exist 2009-10-06 19:04:45 +00:00
jacob
27b2c26c54 Removed an unnecessary i18n call 2009-10-06 16:49:18 +00:00
jacob
6396ca85f3 implemented activity logging in a few spots 2009-10-06 16:22:41 +00:00
jacob
0283036dc2 Updated the activity logging function for more generic use. 2009-10-06 15:09:13 +00:00
jacob
1da21bea9e Updated the activity log tab. Now in working order. 2009-10-06 14:44:27 +00:00
jacob
e3633a3cf4 Started on writing form viewing log files on the "Activity Log" tab 2009-10-05 22:01:06 +00:00
jacob
50eebd3245 Updated to allow the deleting of contacts
Cleaned up the layout of the contact info form to be smaller and more aesthetic
2009-10-05 19:00:00 +00:00
jacob
bfb4c1c586 Multiple contacts implemented in donors 2009-10-05 15:19:50 +00:00
james
abd5f1fcca Implement the fundraising goals editor on the setup screen 2009-10-02 20:47:04 +00:00
jacob
ce9446d66a Updated to use an accordion style form for entering contacts. There is an issue with the wrong data being submitted from the form. Working on that next 2009-10-02 20:39:34 +00:00
james
1fa368293f Create fundraising setup page
Move fundraising levels editor into the setup
Remove the old level editor
2009-10-02 19:21:43 +00:00
jacob
f140ce05a0 A rudimentary start on adding contacts 2009-10-02 18:10:55 +00:00
james
4f588a5859 show the search results div when you do a search 2009-10-02 18:08:32 +00:00
james
01fde584be Do a lot of database re-working, renaming and reorganization
Database now refers to everything by donor/donation .. and apparently just as i complete this, carolyn has decided to go to both donor/sponsor instead of just donor.. ugh..
2009-10-02 16:46:13 +00:00
jacob
55751e5da8 hide the list of donors after finding one
starting a form for adding contacts
2009-10-02 13:32:21 +00:00
james
1df3acd13d mockup of fundraising dashboard as provided by carolyn 2009-10-02 03:04:35 +00:00
james
2c316a1365 Start of the fundraising files
Switch background of the #main div to white instead of crappy light blue
2009-10-01 21:03:56 +00:00
james
3974636d1c DB update for donors add new fundraising main page 2009-10-01 16:52:36 +00:00
dave
21d3dcd054 - Replace class "tableedit" with class "editor", undo the alignment on class tableedit 2009-10-01 04:42:55 +00:00
james
40a49c8567 More renaming sponsors to donors and sponsorships to donations
Start on the donor management interface
Try to make the donor tab 'look pretty'
2009-09-30 22:38:38 +00:00
james
97887153b6 Start renaming sponsor to donor 2009-09-30 20:29:34 +00:00
james
9cee85a4f0 - chairemail -> chair_email 2009-09-27 08:38:44 +00:00
dave
5180c14b22 - Don't need this file either. 2009-09-27 03:08:05 +00:00
dave
aadf84754a - Rework the My Reports editor. with jquery it's 200 lines shorter now. :P 2009-09-27 03:07:39 +00:00
dave
fd045a51b4 - Make the report generator interface look a little saner 2009-09-27 01:20:12 +00:00
dave
c23ce973b1 - Change the default user list to show all users from all years
- Change the SQL query to use MAX(year), so that we really only show a single
  (non-deleted) entry for each user.
2009-09-26 17:59:50 +00:00
dave
22f75ffd1f Fix sponsor creation 2009-09-26 08:50:16 +00:00
dave
51eaad76a5 - Fix the trophy printing
- Fix the table updates on creating a new prize
2009-09-26 08:11:34 +00:00
dave
d77616a438 - Fix award info saving
- Fix clearing out divisons/categories
2009-09-26 00:10:57 +00:00
dave
74629b8b5b - Client side support for downloading additional materials (in generated PDF
form) from an upstream server.
2009-09-25 19:15:43 +00:00
dave
40789fc92c - remove the download all link.. for now, upload all as well.
- support the new 2 fields downloading awards
- send the download output into a div ont he same screen, rather than on a whole new screen.
2009-09-25 07:11:43 +00:00
dave
0f31f72f07 - Add two more fields:
- additional_materials: if there are additional materials required if a fair assigns a winner to this award.
	- register_winners: to tell the feeder fair that this award is for winners who will participate at the upstream fair
2009-09-25 04:29:41 +00:00
dave
25f19d9fbd - Enable the feeder_enable checkbox. There's no DB backend for it, it enables
the feeder fair input on click, or if a feeder fair ul/dl is already
  selected.
2009-09-24 01:39:05 +00:00
dave
b0e7715fb9 - Turn fair_save into an ajax query
- Add notification area and debug to the popup window, still an ugly hack.
- Add a checkbox to the feeder fair config to enable/disable the whole thing (will confuse people less, needs to be implemented)
- Also add a checkbox for signaling the feeder fair if there are additional materials for an assigned award.
2009-09-23 16:42:24 +00:00
dave
97c489646e - Turn the uploader into a popup window
- Add the ability to select category/division mappings specific for each upstream server
- Add some auto-determining code if the cat/div mappings don't exist
2009-09-23 05:53:33 +00:00
dave
32752f6e4e Rename the xmltransport to remote.php, we're not using XML at all. 2009-09-22 06:35:49 +00:00
dave
b7a30542d9 - Pretty it up a bit 2009-09-21 07:48:54 +00:00
dave
91338e7590 - Client-side award uploader for sfiab-sfiab. Hopfully I didn't break the YSC
XML transport (too badly).  Still needs client status messages, but it works,
  and matches projects and schools.  
--This line, and those below, will be  ignored--

M    admin/award_upload.php
M    admin/award_download.php
2009-09-21 07:18:39 +00:00
dave
0ce215b8bc - Remove debug line 2009-09-21 01:34:42 +00:00
dave
39fa2de7bd - Fix eligibility save 2009-09-21 01:33:55 +00:00
dave
fdeef1f273 - Ok, so jquery does do the right thing, we just have to be careful not to read
fields that may not exist.
2009-09-20 21:50:51 +00:00
dave
e07d24102c - Well, disabling the fields was a good idea, exept that serialize() skips over
the value but not the name, so it sets every disabled field to "" when
  passing the data to mysql.
2009-09-20 19:25:42 +00:00
dave
1e1a7d6202 - Make the notice divs a bit easier to see (light yellow background)
- Don't reload tabs all the times, remember the current award_id for each tab
  and only reload if necessary
- Add a little notice for downloaded awards, telling the user why they can't edit some fields.
2009-09-20 18:45:32 +00:00
dave
5989a8c254 - More fixes for editting, we dont' actually download the description or award type, so let the user edit those. 2009-09-19 08:14:59 +00:00
dave
7a474046a5 - beginning of setting uneditable fields for downloaded awards. 2009-09-19 08:06:21 +00:00
dave
9e348d9b0c - For the first time probably ever, DELETE a config variable :O
- Rename the user/pass for fair type=ysc so it's more familiar (asks for YSC ID and pass)
- Convert cwsfregister to use the fair entry data.
2009-09-19 06:53:49 +00:00
dave
e141676259 - Implement the last 2 missing warnings from ysfstats.php
- Change the YSF 1click affiliation to point to fair_stats.php
- Add a hack in fair_stats.php to make it find and load the YSF stats on entry (on request).
- No need for ysfstats.php anymore.  The YSF fair has been added to everyone's
  SFIAB.  The last update ensures the password is there too. Verified that this
  works witht he GVRSF.  We could delete the YSF regionID and password now if we wanted from the config.
2009-09-19 06:36:22 +00:00
dave
b5430b08b3 - change ysf to ysc in the code too 2009-09-19 06:13:22 +00:00
james
8aabd98fe0 Use the happy_ and error_ functions and load the ajax into the debug div 2009-09-18 19:25:26 +00:00
james
c1d7b8fc24 Commit working stuff for fundraising so i can update on lightbox 2009-09-18 17:06:44 +00:00
james
17c3e4a732 Start fixing hte sponsor queries, add some debugging so we can see who's in the lists, commit so i can get daves help :) 2009-09-18 15:57:35 +00:00
james
51d3f692c7 Fix committee query in communication module 2009-09-18 15:16:39 +00:00
dave
2762a12eb0 - Add a notice_ javascript function for testing, yup, it works
- Reimplement the new award functionality
- Fix the reloading of the dialog by disabling all tabs and reselecting one.  It works properly now.
2009-09-18 07:50:32 +00:00
dave
7a2e0b2b7e - Add a feeder fair statisics report type and report 2009-09-18 05:35:13 +00:00
dave
6fb6b9b25f - Fix the two broken communication queries 2009-09-18 04:04:20 +00:00
dave
ec748865b4 - Fix the notice in stats select 2009-09-18 03:30:15 +00:00
dave
20fe1d8b13 - Switch to a global message status area 2009-09-18 03:29:13 +00:00
james
de7d7eb4a7 remove the old dialog include 2009-09-17 21:51:04 +00:00
james
7a9df90f34 Allow add sponsor to be linked from other pages to open the dialog 2009-09-17 21:49:39 +00:00
james
d51b2d9576 Update fundraising to use jquery dialogs instead of my homebrew dialogs 2009-09-17 21:48:57 +00:00
james
ca9b2bb5a1 List the sponsor contacts, all the links still go to the old sponsor_contacts page to be edited, its ugly and gross but at least its accessible 2009-09-17 20:37:44 +00:00
james
ed72fb3944 Add ability to create new sponsors usign the popup editor - basically it posts a sponsor_id=-1 and which causes it to insert a new record, then do the normal save, then it closes and re-opens the editor with the id that is returned by the save post via json 2009-09-17 20:03:56 +00:00
james
c3b532b161 Move awards management to the top - its what will be used the most from here
Rename award sponsors to just sponsors, as it now does all types of sponsors
Remove the sponsor contacts, they will shortly be accessible via a tab of the sponsors editor
2009-09-17 19:31:32 +00:00
james
99f1d4726c Make the default prize template editor work when accessed directly from the awards.php page 2009-09-17 19:30:32 +00:00
james
cb5bb16953 Disable all the other tabs if editing the default prize template 2009-09-17 19:25:14 +00:00
james
8269821a69 blank line 2009-09-17 19:06:31 +00:00
james
b88e10120a Set the datepicker z-indez so its above the dialogs (so when used within a dialog it wont be below it)
Change the width of the translations dialog, so when used from within another dialog (at 0.8) it looks more distinctly a different dialog (at 0.6)

First go at converting the sponsor editor to a tabbed interface, so far the sponsor info tab works and saves but thats it.
2009-09-17 19:05:17 +00:00
james
7b068cd83f Load the information into the tab when the dialog is opened (fixes it not reloading the data when you close and reopen the dialog) 2009-09-17 18:50:37 +00:00
james
715e72c0c8 Fix the buttons to work, remove the links 2009-09-17 17:10:02 +00:00
dave
1513645e4a Put in a link to the fair stats 2009-09-17 07:56:06 +00:00
dave
cb6740fa6f - Update the fair stats to use the new list
- Don't have curl dump debug info
2009-09-17 07:13:51 +00:00
dave
6bd4d03941 - Selection screen to select what stats to download from feeder fairs 2009-09-17 07:00:09 +00:00
dave
abd1fda6fe - Always scrub data before passing it to mysql 2009-09-17 05:53:47 +00:00
dave
0a9053181c - Fix a reference to the award external identifier
- Move the nubmer of available prizes to the top so it's harder to miss.
2009-09-14 05:34:31 +00:00
dave
347d2d5a86 - Use the prize name, rather than the external_identifier to identify the prize. It only has to be unique within each award, which it will be (all prizes should have a name). 2009-09-14 05:33:49 +00:00
dave
a3f8957d96 - add the html for the registration linkage button. does nothing else yet. 2009-09-13 22:23:19 +00:00
dave
1e830e47bc - Add support for setting the external identifier 2009-09-13 21:58:50 +00:00