forked from science-ation/science-ation
DB update for donors add new fundraising main page
This commit is contained in:
parent
21d3dcd054
commit
3974636d1c
42
admin/fundraising.php
Normal file
42
admin/fundraising.php
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?
|
||||||
|
/*
|
||||||
|
This file is part of the 'Science Fair In A Box' project
|
||||||
|
SFIAB Website: http://www.sfiab.ca
|
||||||
|
|
||||||
|
Copyright (C) 2009 James Grant <james@lightbox.org>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU General Public
|
||||||
|
License as published by the Free Software Foundation, version 2.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; see the file COPYING. If not, write to
|
||||||
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<?
|
||||||
|
require("../common.inc.php");
|
||||||
|
require_once("../user.inc.php");
|
||||||
|
|
||||||
|
user_auth_required('committee', 'admin');
|
||||||
|
|
||||||
|
send_header("Fundraising",
|
||||||
|
array('Committee Main' => 'committee_main.php',
|
||||||
|
'Administration' => 'admin/index.php',
|
||||||
|
'Fundraising' => 'admin/fundraising.php'),
|
||||||
|
"fundraising"
|
||||||
|
);
|
||||||
|
|
||||||
|
?>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function() {
|
||||||
|
});
|
||||||
|
<?
|
||||||
|
send_footer();
|
||||||
|
?>
|
@ -1 +1 @@
|
|||||||
140
|
141
|
||||||
|
4
db/db.update.141.sql
Normal file
4
db/db.update.141.sql
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
INSERT INTO `sfiab`.`config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `year`) VALUES ( 'fiscal_yearend', '', 'Global', 'text', '', '200', 'Your organization''s fiscal year end. Specified in format MM-DD. Must be set in order for the Fundraising Module to function.', '-1'
|
||||||
|
);
|
||||||
|
ALTER TABLE `sponsors` ADD `donortype` ENUM( 'organization', 'individual' ) NOT NULL DEFAULT 'organization'
|
||||||
|
ALTER TABLE `sponsors` ADD `address2` VARCHAR( 128 ) NOT NULL AFTER `address`
|
Loading…
x
Reference in New Issue
Block a user