Convert all width to millimeters

This commit is contained in:
dave 2010-06-08 18:49:14 +00:00
parent dcf3f1687d
commit 1f1691167c
9 changed files with 365 additions and 365 deletions

View File

@ -26,99 +26,99 @@ $report_awards_fields = array(
'start_option_group' => 'Award Information',
'name' => 'Award -- Name',
'header' => 'Award Name',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'award_awards.name' ),
'criteria' => array(
'name' => 'Award -- Criteria',
'header' => 'Award Criteria',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'award_awards.criteria' ),
'presenter' => array(
'name' => 'Award -- Presenter',
'header' => 'Award Presenter',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'award_awards.presenter' ),
'order' => array(
'name' => 'Award -- Order',
'header' => 'Award Order',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_awards.order' ),
'cwsfaward' => array(
'name' => 'Award -- CWSF Award',
'header' => 'CWSF',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_awards.cwsfaward',
'value_map' => array ('0' => 'No', '1' => 'Yes')),
'type' => array(
'name' => 'Award -- Type',
'header' => 'Award Type',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'award_types.type' ),
'empty_winner_box' => array(
'name' => 'Award -- Empty Winner Box (for hand entry on printed reports)',
'header' => 'Winner',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => "CONCAT('')" ),
'sponsor_organization' => array(
'start_option_group' => 'Sponsor Information',
'name' => 'Sponsor -- Organization',
'header' => 'Sponsor Organization',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'sponsors.organization' ),
'sponsor_phone' => array(
'name' => 'Sponsor -- Phone',
'header' => 'Sp. Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'sponsors.phone' ),
'sponsor_fax' => array(
'name' => 'Sponsor -- Fax',
'header' => 'Sp. Fax',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'sponsors.fax' ),
'sponsor_address' => array(
'name' => 'Sponsor -- Street Address',
'header' => 'Sponsor Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'sponsors.address'),
'sponsor_city' => array(
'name' => 'Sponsor -- City',
'header' => 'Sp. City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'sponsors.city' ),
'sponsor_province' => array(
'name' => 'Sponsor -- '.$config['provincestate'],
'header' => 'Sp. '.$config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'sponsors.province_code' ),
'sponsor_postal' => array(
'name' => 'Sponsor -- '.$config['postalzip'],
'header' => 'Sp. '.$config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'sponsors.postalcode' ),
'sponsor_notes' => array(
'name' => 'Sponsor -- Notes',
'header' => 'Sponsor Notes',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'sponsors.notes' ),
'sponsorship_status' => array(
'name' => 'Sponsorship -- Status',
'header' => 'Sp. Status',
'width' => .5,
'width' => 12.7 /*mm*/,
'table' => 'sponsorships.status',
'value_map' => array ('pending' => 'Pending', 'confirmed' => 'Confirmed'), "received"=>"Received"),
@ -126,105 +126,105 @@ $report_awards_fields = array(
'start_option_group' => 'Sponsor Primary Contact',
'name' => 'Primary Contact -- Salutation',
'header' => 'Cnct. Salutation',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.salutation' ),
'pcontact_last_name' => array(
'name' => 'Primary Contact -- Last Name',
'header' => 'Cnct. Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.lastname' ),
'pcontact_first_name' => array(
'name' => 'Primary Contact -- First Name',
'header' => 'Cnct. First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.firstname' ),
'pcontact_name' => array(
'name' => 'Primary Contact -- Full Name (last, first)',
'header' => 'Contact Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(PRIMARYCONTACTUSER.lastname, ', ', PRIMARYCONTACTUSER.firstname)",
'table_sort'=> 'PRIMARYCONTACTUSER.lastname' ),
'pcontact_namefl' => array(
'name' => 'Primary Contact -- Full Name (salutation first last)',
'header' => 'Contact Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(PRIMARYCONTACTUSER.salutation, ' ', PRIMARYCONTACTUSER.firstname, ' ', PRIMARYCONTACTUSER.lastname)",
'table_sort'=> 'PRIMARYCONTACTUSER.lastname' ),
'pcontact_position' => array(
'name' => 'Primary Contact -- Position',
'header' => 'Cnct. Position',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'PRIMARYCONTACT.position'),
'pcontact_email' => array(
'name' => 'Primary Contact -- Email',
'header' => 'Cnct. Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.email'),
'pcontact_hphone' => array(
'name' => 'Primary Contact -- Home Phone',
'header' => 'Cnct. Home',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.phonehome' ),
'pcontact_wphone' => array(
'name' => 'Primary Contact -- Work Phone',
'header' => 'Cnct. Work',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.phonework' ),
'pcontact_cphone' => array(
'name' => 'Primary Contact -- Cell Phone',
'header' => 'Cnct. Cell',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.phonecell' ),
'pcontact_fax' => array(
'name' => 'Primary Contact -- Fax',
'header' => 'Cnct. Fax',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.fax' ),
'pcontact_notes' => array(
'name' => 'Primary Contact -- Notes',
'header' => 'Contact Notes',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'PRIMARYCONTACT.notes' ),
'pcontact_address' => array(
'name' => 'Primary Contact Address -- Street',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => "CONCAT(PRIMARYCONTACTUSER.address, ' ', PRIMARYCONTACTUSER.address2)"),
'pcontact_city' => array(
'name' => 'Primary Contact Address -- City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.city'),
'pcontact_province' => array(
'name' => 'Primary Contact Address -- '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.province'),
'pcontact_postal' => array(
'name' => 'Primary Contact Address -- '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'PRIMARYCONTACTUSER.postalcode' ),
'pcontact_city_prov' => array(
'name' => 'Primary Contact Address -- City, '.$config['provincestate'].' (for mailing)',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(PRIMARYCONTACTUSER.city, ', ', PRIMARYCONTACTUSER.province)"),
'judgeteamname' => array(
@ -232,28 +232,28 @@ $report_awards_fields = array(
'components' => array('judgingteam'),
'name' => 'Judging Team -- Name',
'header' => 'Judging Team',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'judges_teams.name'),
'judgeteamnum' => array(
'components' => array('judgingteam'),
'name' => 'Judging Team -- Number',
'header' => 'Team',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'judges_teams.num'),
'judgeteammembers_name' => array(
'components' => array('judgingteam', 'judgingteammembers'),
'name' => 'Judging Team -- Judge Name',
'header' => 'Judge Name',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(judges.firstname, ' ', judges.lastname)"),
'judgeteammembers' => array(
'components' => array('judgingteam', 'judgingteammembers'),
'name' => 'Judging Team -- Members (REQUIRES MySQL 5.0)',
'header' => 'Team Members',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => "GROUP_CONCAT(judges.firstname, ' ', judges.lastname ORDER BY judges.lastname SEPARATOR ', ')",
'group_by' => array('award_awards.id', 'judges_teams.num') ),
@ -261,28 +261,28 @@ $report_awards_fields = array(
'start_option_group' => 'Prize Info (Duplicates award data for each prize, omits awards with no prizes)',
'name' => 'Prize -- Name',
'header' => 'Prize Name',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'award_prizes.prize',
'components' => array('prizes')),
'prize_cash' => array(
'name' => 'Prize -- Cash Amount',
'header' => 'Cash',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_prizes.cash',
'components' => array('prizes')),
'prize_scholarship' => array(
'name' => 'Prize -- Scholarship Amount',
'header' => 'Scholarship',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'award_prizes.scholarship',
'components' => array('prizes')),
'prize_value' => array(
'name' => 'Prize -- Value Amount',
'header' => 'Value',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_prizes.value',
'components' => array('prizes')),
@ -290,7 +290,7 @@ $report_awards_fields = array(
'prize_fullname' => array(
'name' => 'Prize -- Name, Category, Division',
'header' => 'Prize Name',
'width' => 4,
'width' => 101.6 /*mm,
'table' => "CONCAT(award_prizes.prize,' in ',projectcategories.category,' ', projectdivisions.division)",
'table_sort' => 'award_prizes.order',
'components' => array('prizes')),
@ -298,7 +298,7 @@ $report_awards_fields = array(
'prize_trophy_any' => array(
'name' => 'Prize -- Trophy (\'Yes\' if the award has a trophy)',
'header' => 'Trophy',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentkeeper=1
OR award_prizes.trophystudentreturn=1
OR award_prizes.trophyschoolkeeper=1
@ -308,7 +308,7 @@ $report_awards_fields = array(
'prize_trophy_return' => array(
'name' => 'Prize -- Annual Trophy (\'Yes\' if the award has a school or student trophy that isn\'t a keeper)',
'header' => 'Trophy',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentreturn=1
OR award_prizes.trophyschoolreturn=1, 'Yes', 'No')",
'components' => array('prizes')),
@ -316,21 +316,21 @@ $report_awards_fields = array(
'prize_trophy_return_student' => array(
'name' => 'Prize -- Annual Student Trophy (\'Yes\' if the award has astudent trophy that isn\'t a keeper)',
'header' => 'Ind.',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentreturn=1, 'Yes', 'No')",
'components' => array('prizes')),
'prize_trophy_return_school' => array(
'name' => 'Prize -- Annual School Trophy (\'Yes\' if the award has a school trophy that isn\'t a keeper)',
'header' => 'Sch.',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophyschoolreturn=1, 'Yes', 'No')",
'components' => array('prizes')),
'prize_all' => array(
'name' => 'Prize -- Lists all prize data (name, cash, scholarship, value, trophies)',
'header' => 'Prize',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => "CONCAT(
IF(award_prizes.prize != '', CONCAT(award_prizes.prize,'\n', ''),''),
IF(award_prizes.cash != '', CONCAT('$',award_prizes.cash,'\n'), ''),

View File

@ -25,94 +25,94 @@ $report_committees_fields = array(
'name' => array(
'name' => 'Committee Member -- Full Name ',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.firstname, ' ', users.lastname)",
'table_sort' => 'users.lastname'),
'last_name' => array(
'name' => 'Committee Member -- Last Name',
'header' => 'Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.lastname' ),
'first_name' => array(
'name' => 'Committee Member -- First Name',
'header' => 'First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.firstname' ),
'email' => array(
'name' => 'Committee Member -- Email',
'header' => 'Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'users.email'),
'phone_home' => array(
'name' => 'Committee Member -- Phone (Home)',
'header' => 'Phone(Home)',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.phonehome'),
'phone_work' => array(
'name' => 'Committee Member -- Phone (Work)',
'header' => 'Phone(Work)',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'users.phonework'),
'phone_cel' => array(
'name' => 'Committee Member -- Phone (Cel)',
'header' => 'Phone(Cel)',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.phonecell'),
'address' => array(
'name' => 'Committee Member -- Address Street',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => "CONCAT(users.address, ' ', users.address2)"),
'city' => array(
'name' => 'Committee Member -- Address City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users.city' ),
'province' => array(
'name' => 'Committee Member -- Address '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users.province' ),
'postal' => array(
'name' => 'Committee Member -- Address '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users.postalcode' ),
'organization' => array(
'name' => 'Committee Member -- Organization',
'header' => 'Organization',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'users.organization'),
'firstaid' => array(
'name' => 'Committee Member -- First Aid Training',
'header' => 'F.Aid',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.firstaid',
'value_map' =>array ('no' => 'no', 'yes' => 'YES')),
'cpr' => array(
'name' => 'Committee Member -- CPR Training',
'header' => 'CPR',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.cpr',
'value_map' =>array ('no' => 'no', 'yes' => 'YES')),
'static_text' => array(
'name' => 'Static Text (useful for labels)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
);

View File

@ -25,366 +25,366 @@ $report_fairs_fields = array(
'fair_name' => array(
'name' => 'Fair -- Fair Name',
'header' => 'Name',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'fairs.name'),
'fairstats_year' => array (
'name' => 'Fair Stats -- Year',
'header' => 'Year',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.year',
'components' => array('fairs_stats')),
'fairstats_year' => array (
'name' => 'Fair Stats -- Year',
'header' => 'Year',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.year',
'components' => array('fairs_stats')),
'fairstats_start_date' => array (
'name' => 'Fair Stats -- Fair Start',
'header' => 'Fair Start',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.start_date',
'components' => array('fairs_stats')),
'fairstats_end_date' => array (
'name' => 'Fair Stats -- Fair End',
'header' => 'Fair End',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.end_date',
'components' => array('fairs_stats')),
'fairstats_budget' => array (
'name' => 'Fair Stats -- Budget',
'header' => 'Budget',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.budget',
'components' => array('fairs_stats')),
'fairstats_address' => array (
'name' => 'Fair Stats -- Fair Location',
'header' => 'Fair Location',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.address',
'components' => array('fairs_stats')),
'fairstats_ysf_affiliation_complete' => array (
'name' => 'Fair Stats -- YSC Affilitation Complete',
'header' => 'YSC Affilitation Complete',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.ysf_affiliation_complete',
'components' => array('fairs_stats')),
'fairstats_charity' => array (
'name' => 'Fair Stats -- Charity Number/Info',
'header' => 'Charity Number/Info',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.charity',
'components' => array('fairs_stats')),
'fairstats_scholarships' => array (
'name' => 'Fair Stats -- Scholarship Info',
'header' => 'Scholarship Info',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.scholarships',
'components' => array('fairs_stats')),
'fairstats_male_1' => array (
'name' => 'Fair Stats -- Males Grade 1-3',
'header' => 'Males Grade 1-3',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.male_1',
'components' => array('fairs_stats')),
'fairstats_male_4' => array (
'name' => 'Fair Stats -- Males Grade 4-6',
'header' => 'Males Grade 4-6',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.male_4',
'components' => array('fairs_stats')),
'fairstats_male_7' => array (
'name' => 'Fair Stats -- Males Grade 7-8',
'header' => 'Males Grade 7-8',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.male_7',
'components' => array('fairs_stats')),
'fairstats_male_9' => array (
'name' => 'Fair Stats -- Males Grade 9-10',
'header' => 'Males Grade 9-10',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.male_9',
'components' => array('fairs_stats')),
'fairstats_male_11' => array (
'name' => 'Fair Stats -- Males Grade 11-12',
'header' => 'Males Grade 11-12',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.male_11',
'components' => array('fairs_stats')),
'fairstats_female_1' => array (
'name' => 'Fair Stats -- Females Grade 1-3',
'header' => 'Females Grade 1-3',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.female_1',
'components' => array('fairs_stats')),
'fairstats_female_4' => array (
'name' => 'Fair Stats -- Females Grade 4-6',
'header' => 'Females Grade 4-6',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.female_4',
'components' => array('fairs_stats')),
'fairstats_female_7' => array (
'name' => 'Fair Stats -- Females Grade 7-8',
'header' => 'Females Grade 7-8',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.female_7',
'components' => array('fairs_stats')),
'fairstats_female_9' => array (
'name' => 'Fair Stats -- Females Grade 9-10',
'header' => 'Females Grade 9-10',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.female_9',
'components' => array('fairs_stats')),
'fairstats_female_11' => array (
'name' => 'Fair Stats -- Females Grade 11-12',
'header' => 'Females Grade 11-12',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.female_11',
'components' => array('fairs_stats')),
'fairstats_projects_1' => array (
'name' => 'Fair Stats -- Projects Grade 1-3',
'header' => 'Projects Grade 1-3',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.projects_1',
'components' => array('fairs_stats')),
'fairstats_projects_4' => array (
'name' => 'Fair Stats -- Projects Grade 4-6',
'header' => 'Projects Grade 4-6',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.projects_4',
'components' => array('fairs_stats')),
'fairstats_projects_7' => array (
'name' => 'Fair Stats -- Projects Grade 7-8',
'header' => 'Projects Grade 7-8',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.projects_7',
'components' => array('fairs_stats')),
'fairstats_projects_9' => array (
'name' => 'Fair Stats -- Projects Grade 9-10',
'header' => 'Projects Grade 9-10',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.projects_9',
'components' => array('fairs_stats')),
'fairstats_projects_11' => array (
'name' => 'Fair Stats -- Projects Grade 11-12',
'header' => 'Projects Grade 11-12',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.projects_11',
'components' => array('fairs_stats')),
'fairstats_firstnations' => array (
'name' => 'Fair Stats -- First Nations Students',
'header' => 'First Nations Students',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.firstnations',
'components' => array('fairs_stats')),
'fairstats_students_atrisk' => array (
'name' => 'Fair Stats -- Inner City Students',
'header' => 'Inner City Students',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.students_atrisk',
'components' => array('fairs_stats')),
'fairstats_schools_atrisk' => array (
'name' => 'Fair Stats -- Inner City Schools',
'header' => 'Inner City Schools',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_atrisk',
'components' => array('fairs_stats')),
'fairstats_students_total' => array (
'name' => 'Fair Stats -- Total Participants',
'header' => 'Total Participants',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.students_total',
'components' => array('fairs_stats')),
'fairstats_schools_total' => array (
'name' => 'Fair Stats -- Total Schools',
'header' => 'Total Schools',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_total',
'components' => array('fairs_stats')),
'fairstats_schools_active' => array (
'name' => 'Fair Stats -- Active Schools',
'header' => 'Active Schools',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_active',
'components' => array('fairs_stats')),
'fairstats_students_public' => array (
'name' => 'Fair Stats -- Participants from Public',
'header' => 'Participants from Public',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.students_public',
'components' => array('fairs_stats')),
'fairstats_schools_public' => array (
'name' => 'Fair Stats -- Public Schools',
'header' => 'Public Schools',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_public',
'components' => array('fairs_stats')),
'fairstats_students_private' => array (
'name' => 'Fair Stats -- Participants from Independent',
'header' => 'Participants from Independent',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.students_private',
'components' => array('fairs_stats')),
'fairstats_schools_private' => array (
'name' => 'Fair Stats -- Independent Schools',
'header' => 'Independent Schools',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_private',
'components' => array('fairs_stats')),
'fairstats_schools_districts' => array (
'name' => 'Fair Stats -- School Districts',
'header' => 'School Districts',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.schools_districts',
'components' => array('fairs_stats')),
'fairstats_studentsvisiting' => array (
'name' => 'Fair Stats -- Students Visiting',
'header' => 'Students Visiting',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.studentsvisiting',
'components' => array('fairs_stats')),
'fairstats_publicvisiting' => array (
'name' => 'Fair Stats -- Public Guests Visting',
'header' => 'Public Guests Visting',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.publicvisiting',
'components' => array('fairs_stats')),
'fairstats_teacherssupporting' => array (
'name' => 'Fair Stats -- Teachers Supporting Projects',
'header' => 'Teachers Supporting Projects',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.teacherssupporting',
'components' => array('fairs_stats')),
'fairstats_increasedinterest' => array (
'name' => 'Fair Stats -- Students Increased Interest in Science',
'header' => 'Students Increased Interest in Science',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.increasedinterest',
'components' => array('fairs_stats')),
'fairstats_consideringcareer' => array (
'name' => 'Fair Stats -- Students Considering Career in Science',
'header' => 'Students Considering Career in Science',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.consideringcareer',
'components' => array('fairs_stats')),
'fairstats_committee_members' => array (
'name' => 'Fair Stats -- Committee Members',
'header' => 'Committee Members',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.committee_members',
'components' => array('fairs_stats')),
'fairstats_judges' => array (
'name' => 'Fair Stats -- Judges',
'header' => 'Judges',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.judges',
'components' => array('fairs_stats')),
'fairstats_next_chair_name' => array (
'name' => 'Fair Stats -- Regional Chairperson Name',
'header' => 'Regional Chairperson Name',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.next_chair_name',
'components' => array('fairs_stats')),
'fairstats_next_chair_email' => array (
'name' => 'Fair Stats -- Email',
'header' => 'Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.next_chair_email',
'components' => array('fairs_stats')),
'fairstats_next_chair_hphone' => array (
'name' => 'Fair Stats -- Home Phone',
'header' => 'Home Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.next_chair_hphone',
'components' => array('fairs_stats')),
'fairstats_next_chair_bphone' => array (
'name' => 'Fair Stats -- Business Phone',
'header' => 'Business Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.next_chair_bphone',
'components' => array('fairs_stats')),
'fairstats_next_chair_fax' => array (
'name' => 'Fair Stats -- Fax',
'header' => 'Fax',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.next_chair_fax',
'components' => array('fairs_stats')),
'fairstats_delegate1' => array (
'name' => 'Fair Stats -- Delegate 1',
'header' => 'Delegate 1',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate1',
'components' => array('fairs_stats')),
'fairstats_delegate2' => array (
'name' => 'Fair Stats -- Delegate 2',
'header' => 'Delegate 2',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate2',
'components' => array('fairs_stats')),
'fairstats_delegate3' => array (
'name' => 'Fair Stats -- Delegate 3',
'header' => 'Delegate 3',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate3',
'components' => array('fairs_stats')),
'fairstats_delegate4' => array (
'name' => 'Fair Stats -- Delegate 4',
'header' => 'Delegate 4',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate4',
'components' => array('fairs_stats')),
'fairstats_delegate1_email' => array (
'name' => 'Fair Stats -- Delegate 1 Email',
'header' => 'Delegate 1 Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate1_email',
'components' => array('fairs_stats')),
'fairstats_delegate2_email' => array (
'name' => 'Fair Stats -- Delegate 2 Email',
'header' => 'Delegate 2 Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate2_email',
'components' => array('fairs_stats')),
'fairstats_delegate3_email' => array (
'name' => 'Fair Stats -- Delegate 3 Email',
'header' => 'Delegate 3 Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate3_email',
'components' => array('fairs_stats')),
'fairstats_delegate4_email' => array (
'name' => 'Fair Stats -- Delegate 4 Email',
'header' => 'Delegate 4 Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate4_email',
'components' => array('fairs_stats')),
'fairstats_delegate1_size' => array (
'name' => 'Fair Stats -- Delegate 1 Jacket Size',
'header' => 'Delegate 1 Jacket Size',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate1_size',
'components' => array('fairs_stats')),
'fairstats_delegate2_size' => array (
'name' => 'Fair Stats -- Delegate 2 Jacket Size',
'header' => 'Delegate 2 Jacket Size',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate2_size',
'components' => array('fairs_stats')),
'fairstats_delegate3_size' => array (
'name' => 'Fair Stats -- Delegate 3 Jacket Size',
'header' => 'Delegate 3 Jacket Size',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate3_size',
'components' => array('fairs_stats')),
'fairstats_delegate4_size' => array (
'name' => 'Fair Stats -- Delegate 4 Jacket Size',
'header' => 'Delegate 4 Jacket Size',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'fairs_stats.delegate4_size',
'components' => array('fairs_stats')),
@ -392,7 +392,7 @@ $report_fairs_fields = array(
'static_text' => array (
'name' => 'Static Text (useful for labels)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
);

View File

@ -40,21 +40,21 @@ $report_fundraisings_fields = array(
'start_option_group' => 'Campaign ID',
'name' => 'Fundraising Campaign numerical ID',
'header' => 'ID',
'width' => 0.25,
'width' => 6.35 /*mm*/,
'table' => "fundraising_campaigns.id"),
'salutation' => array(
'start_option_group' => 'Contact Information',
'name' => 'Contact -- Salutation (Mr., Mrs., etc.)',
'header' => 'Sal',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "users.salutation",
'components' => array('users') ),
'namefl' => array(
'name' => 'Contact -- Full Name (first last)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.firstname, ' ', users.lastname)",
'table_sort'=> 'users.lastname',
'components' => array('users') ),
@ -62,35 +62,35 @@ $report_fundraisings_fields = array(
'email' => array(
'name' => 'Contact -- Email',
'header' => 'Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'users.email',
'components' => array('users') ),
'phone_home' => array(
'name' => 'Contact -- Phone (Home)',
'header' => 'Phone(Home)',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.phonehome',
'components' => array('users') ),
'phone_work' => array(
'name' => 'Contact -- Phone (Work)',
'header' => 'Phone(Work)',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => "users.phonework",
'components' => array('users') ),
'organization' => array(
'name' => 'Contact -- Organization',
'header' => 'Organization',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'users.organization',
'components' => array('users') ),
'position' => array(
'name' => 'Contact -- Position',
'header' => 'Position',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'users_sponsor.position',
'components' => array('users') ),
@ -98,35 +98,35 @@ $report_fundraisings_fields = array(
'start_option_group' => 'Contact Address',
'name' => 'Contact Address -- Street',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => "CONCAT(users.address, ' ', users.address2)",
'components' => array('users') ),
'city' => array(
'name' => 'Contact Address -- City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users.city',
'components' => array('users') ),
'province' => array(
'name' => 'Contact Address -- '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'header' => $config['provincestate'],
'width' => 19.05 /*mm*/,
'table' => 'users.province',
'components' => array('users') ),
'postal' => array(
'name' => 'Contact Address -- '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users.postalcode' ,
'components' => array('users') ),
'city_prov' => array(
'name' => 'Contact Address -- City, '.$config['provincestate'].' (for mailing)',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(users.city, ', ', users.province)",
'components' => array('users') ),
@ -134,14 +134,14 @@ $report_fundraisings_fields = array(
'start_option_group' => 'Miscellaneous',
'name' => 'Contact -- Year',
'header' => 'Year',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.year',
'components' => array('users') ),
'user_filter' => array(
'name' => 'User Filter by MAX(year)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => 'MAX(users.year)',
'group_by' => array('users.uid'),
'components' => array('users') ),
@ -149,7 +149,7 @@ $report_fundraisings_fields = array(
'static_text' => array(
'name' => 'Static Text (useful for labels)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
);

View File

@ -261,81 +261,81 @@ $report_judges_fields = array(
'last_name' => array(
'name' => 'Judge -- Last Name',
'header' => 'Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.lastname' ),
'first_name' => array(
'name' => 'Judge -- First Name',
'header' => 'First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.firstname' ),
'name' => array(
'name' => 'Judge -- Full Name (last, first)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.lastname, ', ', users.firstname)",
'table_sort'=> 'users.lastname' ),
'namefl' => array(
'name' => 'Judge -- Full Name (first last)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.firstname, ' ', users.lastname)",
'table_sort'=> 'users.lastname' ),
'email' => array(
'name' => 'Judge -- Email',
'header' => 'Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'users.email'),
'address' => array(
'name' => 'Judge -- Address Street',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => "CONCAT(users.address, ' ', users.address2)"),
'city' => array(
'name' => 'Judge -- Address City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users.city' ),
'province' => array(
'name' => 'Judge -- Address '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users.province' ),
'postal' => array(
'name' => 'Judge -- Address '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users.postalcode' ),
'phone_home' => array(
'name' => 'Judge -- Phone (Home)',
'header' => 'Phone(Home)',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.phonehome'),
'phone_work' => array(
'name' => 'Judge -- Phone (Work)',
'header' => 'Phone(Work)',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => "users.phonework"),
'organization' => array(
'name' => 'Judge -- Organization',
'header' => 'Organization',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'users.organization'),
'languages' => array(
'name' => 'Judge -- Languages',
'header' => 'Lang',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'users_judge.languages',
'exec_function' => 'report_judges_languages',
'components' => array('users_judge')),
@ -343,7 +343,7 @@ $report_judges_fields = array(
'complete' => array(
'name' => 'Judge -- Registration Complete',
'header' => 'Cmpl',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'users_judge.judge_complete',
'value_map' => array ('no' => 'No', 'yes' => 'Yes'),
'components' => array('users_judge')),
@ -351,7 +351,7 @@ $report_judges_fields = array(
'active' => array(
'name' => 'Judge -- Registration Active for this year',
'header' => 'Act',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'users_judge.judge_active',
'value_map' => array ('no' => 'No', 'yes' => 'Yes'),
'components' => array('users_judge')),
@ -359,7 +359,7 @@ $report_judges_fields = array(
'willing_chair' => array(
'name' => 'Judge -- Willing Chair',
'header' => 'Will Chair?',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users_judge.willing_chair',
'value_map' => array ('no' => 'No', 'yes' => 'Yes'),
'components' => array('users_judge')),
@ -367,28 +367,28 @@ $report_judges_fields = array(
'years_school' => array(
'name' => 'Judge -- Years of Experience at School level',
'header' => 'Sch',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.years_school',
'components' => array('users_judge')),
'years_regional' => array(
'name' => 'Judge -- Years of Experience at Regional level',
'header' => 'Rgn',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.years_regional',
'components' => array('users_judge')),
'years_national' => array(
'name' => 'Judge -- Years of Experience at National level',
'header' => 'Ntl',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.years_national',
'components' => array('users_judge')),
'highest_psd' => array(
'name' => 'Judge -- Highest Post-Secondary Degree',
'header' => 'Highest PSD',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'users_judge.highest_psd',
'components' => array('users_judge')),
@ -398,7 +398,7 @@ $report_judges_fields = array(
'divs_at_exp_5' => array(
'name' => 'Judge -- Divisions Selected as Expertise 5-Expert (Shortform)',
'header' => 'Expert Div',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp',
'components' => array('users_judge')),
@ -406,7 +406,7 @@ $report_judges_fields = array(
'divs_at_exp_5_long' => array(
'name' => 'Judge -- Divisions Selected as Expertise 5-Expert (Full division names)',
'header' => 'Expert Div',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp', /* Yes, the same function as divs_at_exp_5 */
'components' => array('users_judge')),
@ -414,7 +414,7 @@ $report_judges_fields = array(
'divs_at_exp_4' => array(
'name' => 'Judge -- Divisions Selected as Expertise 4 (Shortform)',
'header' => '4 Div',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp',
'components' => array('users_judge')),
@ -422,7 +422,7 @@ $report_judges_fields = array(
'divs_at_exp_4_long' => array(
'name' => 'Judge -- Divisions Selected as Expertise 4 (Full division names)',
'header' => '4 Div',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp', /* Yes, the same function as divs_at_exp_5 */
'components' => array('users_judge')),
@ -430,7 +430,7 @@ $report_judges_fields = array(
'divs_at_exp_3' => array(
'name' => 'Judge -- Divisions Selected as Expertise 3 (Shortform)',
'header' => '3 Div',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp',
'components' => array('users_judge')),
@ -438,7 +438,7 @@ $report_judges_fields = array(
'divs_at_exp_3_long' => array(
'name' => 'Judge -- Divisions Selected as Expertise 3 (Full division names)',
'header' => '3 Div',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'users_judge.div_prefs',
'exec_function' => 'report_judges_divs_at_exp', /* Yes, the same function as divs_at_exp_5 */
'components' => array('users_judge')),
@ -460,7 +460,7 @@ $report_judges_fields = array(
'cats_at_pref_H' => array(
'name' => 'Judge -- Age Categories Selected as Preference: Highest (Shortform)',
'header' => 'Highest',
'width' => 0.8,
'width' => 20.32 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',
'components' => array('users_judge')),
@ -468,7 +468,7 @@ $report_judges_fields = array(
'cats_at_pref_H_long' => array(
'name' => 'Judge -- Age Categories Selected as Preference: Highest (Full category names)',
'header' => 'Highest',
'width' => 1.2,
'width' => 30.48 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',/* Yes, the same function as cats_at_pref_H */
'components' => array('users_judge')),
@ -476,7 +476,7 @@ $report_judges_fields = array(
'cats_at_pref_h' => array(
'name' => 'Judge -- Age Categories Selected as Preference: High (Shortform)',
'header' => 'High',
'width' => 0.8,
'width' => 20.32 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',
'components' => array('users_judge')),
@ -484,7 +484,7 @@ $report_judges_fields = array(
'cats_at_pref_h_long' => array(
'name' => 'Judge -- Age Categories Selected as Preference: High (Full category names)',
'header' => 'High',
'width' => 1.2,
'width' => 30.48 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',/* Yes, the same function as cats_at_pref_H */
'components' => array('users_judge')),
@ -492,7 +492,7 @@ $report_judges_fields = array(
'cats_at_pref_i' => array(
'name' => 'Judge -- Age Categories Selected as Preference: Indifferent (Shortform)',
'header' => 'Indifferent',
'width' => 0.8,
'width' => 20.32 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',
'components' => array('users_judge')),
@ -500,7 +500,7 @@ $report_judges_fields = array(
'cats_at_pref_i_long' => array(
'name' => 'Judge -- Age Categories Selected as Preference: Indifferent (Full category names)',
'header' => 'Indifferent',
'width' => 1.2,
'width' => 30.48 /*mm*/,
'table' => 'users_judge.cat_prefs',
'exec_function' => 'report_judges_cats_at_pref',/* Yes, the same function as cats_at_pref_H */
'components' => array('users_judge')),
@ -508,7 +508,7 @@ $report_judges_fields = array(
'cat_pref_1' => array(
'name' => 'Judge -- Age Category Preference for Category ID 1',
'header' => 'cat1',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true, /* Only disables in the report editor, a report can still use it */
'exec_function' => 'report_judges_cat_pref',
@ -516,7 +516,7 @@ $report_judges_fields = array(
'cat_pref_2' => array(
'name' => 'Judge -- Age Category Preference for Category ID 2',
'header' => 'cat2',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -524,7 +524,7 @@ $report_judges_fields = array(
'cat_pref_3' => array(
'name' => 'Judge -- Age Category Preference for Category ID 3',
'header' => 'cat3',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -532,7 +532,7 @@ $report_judges_fields = array(
'cat_pref_4' => array(
'name' => 'Judge -- Age Category Preference for Category ID 4',
'header' => 'cat4',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -540,7 +540,7 @@ $report_judges_fields = array(
'cat_pref_5' => array(
'name' => 'Judge -- Age Category Preference for Category ID 5',
'header' => 'cat5',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -548,7 +548,7 @@ $report_judges_fields = array(
'cat_pref_6' => array(
'name' => 'Judge -- Age Category Preference for Category ID 6',
'header' => 'cat6',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -556,7 +556,7 @@ $report_judges_fields = array(
'cat_pref_7' => array(
'name' => 'Judge -- Age Category Preference for Category ID 7',
'header' => 'cat7',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -564,7 +564,7 @@ $report_judges_fields = array(
'cat_pref_8' => array(
'name' => 'Judge -- Age Category Preference for Category ID 8',
'header' => 'cat8',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -572,7 +572,7 @@ $report_judges_fields = array(
'cat_pref_9' => array(
'name' => 'Judge -- Age Category Preference for Category ID 9',
'header' => 'cat9',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -580,7 +580,7 @@ $report_judges_fields = array(
'cat_pref_10' => array(
'name' => 'Judge -- Age Category Preference for Category ID 10',
'header' => 'cat10',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.cat_prefs',
'editor_disabled' => true,
'exec_function' => 'report_judges_cat_pref',
@ -590,13 +590,13 @@ $report_judges_fields = array(
'available_in_divisional1' => array(
'name' => 'Time Availability -- Available in Divisional Round 1 ',
'header' => 'R1',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'exec_function' => 'report_judges_time_availability',
'table' => 'users.id'),
'available_in_divisional2' => array(
'name' => 'Time Availability -- Available in Divisional Round 2 ',
'header' => 'R2',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'exec_function' => 'report_judges_time_availability',
'table' => 'users.id'),
@ -605,20 +605,20 @@ $report_judges_fields = array(
'special_award_only' => array(
'name' => 'Judge -- Special Award Only Requested',
'header' => 'SA Only',
'width' => 0.8,
'width' => 20.32 /*mm*/,
'table' => 'users_judge.special_award_only',
'components' => array('users_judge')),
'year' => array(
'name' => 'Judge -- Year',
'header' => 'Year',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.year'),
'captain' => array(
'name' => 'Judge Team -- Team Captain? (Is the judge the captain? Yes/No)',
'header' => 'Cptn',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'judges_teams_link.captain',
'value_map' => array ('no' => 'No', 'yes' => 'Yes'),
'components' => array('teams')),
@ -626,14 +626,14 @@ $report_judges_fields = array(
'team' => array(
'name' => 'Judge Team -- Name',
'header' => 'Team Name',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'judges_teams.name',
'components' => array('teams')),
'teamnum' => array(
'name' => 'Judge Team -- Team Number',
'header' => 'Team',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'judges_teams.num',
'components' => array('teams')),
@ -641,7 +641,7 @@ $report_judges_fields = array(
'team_members_all_except_this' => array(
'name' => 'Judge Team -- All other team members',
'header' => 'Members',
'width' => 2,
'width' => 50.8 /*mm
'table' => 'judges_teams.id',
'exec_function' => 'report_judges_team_members',
'components' => array('teams')),
@ -649,7 +649,7 @@ $report_judges_fields = array(
'team_captain' => array(
'name' => 'Judge Team -- Name of the Team Captain',
'header' => 'Captain',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => 'judges_teams.id',
'exec_function' => 'report_judges_team_members',
'components' => array('teams')),
@ -657,7 +657,7 @@ $report_judges_fields = array(
'team_members_all_except_captain' => array(
'name' => 'Judge Team -- All team members, except the Captain',
'header' => 'Members',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'judges_teams.id',
'exec_function' => 'report_judges_team_members',
'components' => array('teams')),
@ -665,7 +665,7 @@ $report_judges_fields = array(
'team_members_all' => array(
'name' => 'Judge Team -- All team members including the Captain',
'header' => 'Members',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'judges_teams.id',
'exec_function' => 'report_judges_team_members',
'components' => array('teams')),
@ -673,35 +673,35 @@ $report_judges_fields = array(
'project_pn' => array(
'name' => 'Project -- Number',
'header' => 'Number',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'projects.projectnumber',
'components' => array('teams', 'projects')),
'project_title' => array(
'name' => 'Project -- Title',
'header' => 'Project',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.title',
'components' => array('teams', 'projects')),
'project_summary' => array(
'name' => 'Project -- Summary',
'header' => 'Summary',
'width' => 5,
'width' => 127 /*mm*/,
'table' => 'projects.summary',
'components' => array('teams', 'projects')),
'project_language' => array(
'name' => 'Project -- Language',
'header' => 'Lang',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'projects.language',
'components' => array('teams', 'projects')),
'project_students' => array(
'name' => 'Project -- Student Name(s) (REQUIRES MYSQL 5.0) ',
'header' => 'Student(s)',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => "GROUP_CONCAT(students.firstname, ' ', students.lastname ORDER BY students.lastname SEPARATOR ', ')",
'group_by' => array('users.id','judges_teams_timeslots_projects_link.id'),
'components' => array('teams', 'projects', 'students')),
@ -709,41 +709,41 @@ $report_judges_fields = array(
'project_timeslot_start' => array(
'name' => 'Project -- Timeslot Start Time (HH:MM)',
'header' => 'Start',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => "TIME_FORMAT(judges_timeslots.starttime,'%H:%i')",
'components' => array('teams', 'projects')),
'project_timeslot_end ' => array(
'name' => 'Project -- Timeslot End Time (HH:MM)',
'header' => 'End',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => "TIME_FORMAT(judges_timeslots.endtime,'%H:%i')",
'components' => array('teams', 'projects')),
'project_timeslot' => array(
'name' => 'Project -- Timeslot Start - End (HH:MM - HH:MM)',
'header' => 'Timeslot',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(TIME_FORMAT(judges_timeslots.starttime,'%H:%i'),'-',TIME_FORMAT(judges_timeslots.endtime,'%H:%i'))",
'components' => array('teams', 'projects')),
'project_timeslot_date' => array(
'name' => 'Project -- Timeslot Date - (YYYY-MM-DD)',
'header' => 'Timeslot Date',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => "judges_timeslots.date",
'components' => array('teams', 'projects')),
'rank' => array(
'name' => 'Project -- Rank (left blank for judges to fill out)',
'header' => 'Rank',
'width' => 1.00,
'width' => 25.4 /*mm*/,
'table' => '""' ),
'question_1' => array(
'name' => 'Judge -- Custom Judge Registration Question 1',
'header' => 'Q1',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true, /* Only disables in the report editor, a report can still use it */
'exec_function' => 'report_judges_custom_question'),
@ -751,7 +751,7 @@ $report_judges_fields = array(
'question_2' => array(
'name' => 'Judge -- Custom Judge Registration Question 2',
'header' => 'Q2',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -759,7 +759,7 @@ $report_judges_fields = array(
'question_3' => array(
'name' => 'Judge -- Custom Judge Registration Question 3',
'header' => 'Q3',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -767,7 +767,7 @@ $report_judges_fields = array(
'question_4' => array(
'name' => 'Judge -- Custom Judge Registration Question 4',
'header' => 'Q4',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -775,7 +775,7 @@ $report_judges_fields = array(
'question_5' => array(
'name' => 'Judge -- Custom Judge Registration Question 5',
'header' => 'Q5',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -783,7 +783,7 @@ $report_judges_fields = array(
'question_6' => array(
'name' => 'Judge -- Custom Judge Registration Question 6',
'header' => 'Q6',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -791,7 +791,7 @@ $report_judges_fields = array(
'question_7' => array(
'name' => 'Judge -- Custom Judge Registration Question 7',
'header' => 'Q7',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -799,7 +799,7 @@ $report_judges_fields = array(
'question_8' => array(
'name' => 'Judge -- Custom Judge Registration Question 8',
'header' => 'Q8',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -807,7 +807,7 @@ $report_judges_fields = array(
'question_9' => array(
'name' => 'Judge -- Custom Judge Registration Question 9',
'header' => 'Q9',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -815,7 +815,7 @@ $report_judges_fields = array(
'question_10' => array(
'name' => 'Judge -- Custom Judge Registration Question 10',
'header' => 'Q10',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'users.id',
'editor_disabled' => true,
'exec_function' => 'report_judges_custom_question'),
@ -823,7 +823,7 @@ $report_judges_fields = array(
'static_text' => array(
'name' => 'Static Text (useful for labels)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
);
@ -834,7 +834,7 @@ for($x=1;$x<=50;$x++) {
$report_judges_fields["div_exp_$x"] = array(
'name' => "Judge -- Expertise for Division ID $x",
'header' => "div$x",
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users_judge.div_prefs',
'editor_disabled' => true, /* Only disables in the report editor, a report can still use it */
'exec_function' => 'report_judges_div_exp',

View File

@ -65,137 +65,137 @@ $report_schools_fields = array(
'school' => array(
'name' => 'School -- Name',
'header' => 'School Name',
'width' => 2.25,
'width' => 57.15 /*mm*/,
'table' => 'schools.school' ),
'schooladdr' => array(
'name' => 'School -- Full Address',
'header' => 'School Address',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => "CONCAT(schools.address, ', ', schools.city, ', ', schools.province_code, ', ', schools.postalcode)" ),
'school_phone' => array(
'name' => 'School -- Phone',
'header' => 'School Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.phone' ),
'school_fax' => array(
'name' => 'School -- Fax',
'header' => 'School Fax',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.fax' ),
'school_email' => array(
'name' => 'School -- Email',
'header' => 'School Email',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.schoolemail' ),
'school_address' => array(
'name' => 'School Address -- Street Address',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'schools.address'),
'school_city' => array(
'name' => 'School Address -- City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'schools.city' ),
'school_province' => array(
'name' => 'School Address -- '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.province_code' ),
'school_city_prov' => array(
'name' => 'School Address -- City, '.$config['provincestate'].' (for mailing)',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(schools.city, ', ', schools.province_code)" ),
'school_postal' => array(
'name' => 'School Address -- '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.postalcode' ),
'school_lang' => array(
'name' => 'School -- Language Code',
'header' => 'Lang',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'schools.schoollang' ),
'school_level' => array(
'name' => 'School -- Grade Levels',
'header' => 'Level',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'schools.schoollevel' ),
'school_board' => array(
'name' => 'School -- Board',
'header' => 'Board',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'schools.board' ),
'school_district' => array(
'name' => 'School -- District',
'header' => 'District',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'schools.district' ),
'school_principal' => array(
'name' => 'School -- Principal',
'header' => 'Principal',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'schools.principal_uid',
'exec_function' => 'reports_schools_principal'),
'school_sh' => array(
'name' => 'School -- Science Head',
'header' => 'Science Head',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'schools.sciencehead_uid',
'exec_function' => 'reports_schools_sciencehead'),
'school_shphone' => array(
'name' => 'School -- Science Head Phone',
'header' => 'Science Hd Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.sciencehead_uid',
'exec_function' => 'reports_schools_shphone'),
'school_shemail' => array(
'name' => 'School -- Science Head Email',
'header' => 'Science Head Email',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'schools.sciencehead_uid',
'exec_function' => 'reports_schools_shemail'),
'school_accesscode' => array(
'name' => 'School -- Access Code',
'header' => 'Access Code',
'width' => 1.1,
'width' => 27.94 /*mm*/,
'table' => 'schools.accesscode' ),
'school_registration_password' => array(
'name' => 'School -- Registration Password',
'header' => 'Reg Pass',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.registration_password' ),
'school_project_limit' => array(
'name' => 'School -- Project Limit',
'header' => 'Limit',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.projectlimit' ),
'school_project_limit_per' => array(
'name' => 'School -- Project Limit Per',
'header' => 'Limit Per',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'schools.projectlimitper' ),
);

View File

@ -85,7 +85,7 @@ $report_students_fields = array(
'pn' => array(
'name' => 'Project Number',
'header' => '#',
'width' => 0.6,
'width' => 15.24 /*mm*/,
'table' => 'projects.projectnumber',
'table_sort' => 'projects.projectsort, projects.projectnumber'),
@ -93,19 +93,19 @@ $report_students_fields = array(
'start_option_group' => 'Student Name Information',
'name' => 'Student -- Last Name',
'header' => 'Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'students.lastname' ),
'first_name' => array(
'name' => 'Student -- First Name',
'header' => 'First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'students.firstname' ),
'name' => array(
'name' => 'Student -- Full Name (last, first)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students.lastname, ', ', students.firstname)",
'table_sort'=> 'students.lastname' ),
@ -113,7 +113,7 @@ $report_students_fields = array(
'namefl' => array(
'name' => 'Student -- Full Name (first last)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students.firstname, ' ', students.lastname)",
'table_sort'=> 'students.lastname' ),
@ -121,7 +121,7 @@ $report_students_fields = array(
'partner' => array(
'name' => 'Student -- Partner Name (last, first)',
'header' => 'Partner',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students2.lastname, ', ', students2.firstname)",
'components' => array('partner') ),
@ -129,7 +129,7 @@ $report_students_fields = array(
'partnerfl' => array(
'name' => 'Student -- Partner Name (first last)',
'header' => 'Partner',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students2.firstname, ' ', students2.lastname)",
'components' => array('partner') ),
@ -137,7 +137,7 @@ $report_students_fields = array(
'bothnames' => array(
'name' => "Student -- Both Student Names",
'header' => 'Student(s)',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students.firstname, ' ', students.lastname, IF(students2.lastname IS NULL,'', CONCAT(', ', students2.firstname, ' ', students2.lastname)))",
'table_sort' => 'students.lastname',
@ -146,7 +146,7 @@ $report_students_fields = array(
'allnames' => array(
'name' => "Student -- All Student Names (REQUIRES MYSQL 5.0) ",
'header' => 'Student(s)',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'scalable' => true,
'table' => "GROUP_CONCAT(students.firstname, ' ', students.lastname ORDER BY students.lastname SEPARATOR ', ')",
'group_by' => array('students.registrations_id')),
@ -154,52 +154,52 @@ $report_students_fields = array(
'pronunciation' => array(
'name' => 'Student -- Name Pronunciation',
'header' => 'Pronunciation',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'students.pronunciation'),
'email' => array(
'start_option_group' => 'Student Contact Information',
'name' => 'Student -- Email',
'header' => 'Email',
'width' => 2.25,
'width' => 57.15 /*mm*/,
'scalable' => true,
'table' => 'students.email'),
'phone' => array(
'name' => 'Student -- Phone',
'header' => 'Phone',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'students.phone'),
'address' => array(
'name' => 'Student -- Street Address',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'scalable' => true,
'table' => 'students.address'),
'city' => array(
'name' => 'Student -- City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'students.city' ),
'province' => array(
'name' => 'Student -- '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'students.province' ),
'postal' => array(
'name' => 'Student -- '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'students.postalcode' ),
'address_full' => array(
'name' => 'Student -- Full Address',
'header' => 'Address',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'scalable' => true,
'table' => "CONCAT(students.address, ', ', students.city, ', ', students.province, ', ', students.postalcode)" ),
@ -208,40 +208,40 @@ $report_students_fields = array(
'start_option_group' => 'Other Student Information',
'name' => 'Student -- Grade',
'header' => 'Gr.',
'width' => 0.3,
'width' => 7.62 /*mm*/,
'table' => 'students.grade'),
'grade_str' => array(
'name' => 'Student -- Grade ("Grade x", not just the number)',
'header' => 'Gr.',
'width' => 0.3,
'width' => 7.62 /*mm*/,
'table_sort' => 'students.grade',
'table' => "CONCAT('Grade ', students.grade)"),
'gender' => array(
'name' => 'Student -- Gender',
'header' => 'Gender',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'students.sex',
'value_map' =>array ('male' => 'Male', 'female' => 'Female')),
'birthdate' => array(
'name' => 'Student -- Birthdate',
'header' => 'Birthdate',
'width' => 0.9,
'width' => 22.86 /*mm*/,
'table' => 'students.dateofbirth'),
'age' => array(
'name' => 'Student -- Age (when this report is created)',
'header' => 'Age',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => "DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW())-TO_DAYS(students.dateofbirth)), '%Y')+0",
'table_sort' => 'students.dateofbirth'),
'tshirt' => array(
'name' => 'Student -- T-Shirt Size',
'header' => 'T-Shirt',
'width' => 0.55,
'width' => 13.97 /*mm*/,
'table' => 'students.tshirt',
'value_map' => array ('none' => '', 'xsmall' => 'X-Small', 'small' => 'Small', 'medium' => 'Medium',
'large' => 'Large', 'xlarge' => 'X-Large')),
@ -249,26 +249,26 @@ $report_students_fields = array(
'medicalalert' => array(
'name' => 'Student -- Medical Alert Info',
'header' => 'medical',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'students.medicalalert'),
'foodreq' => array(
'name' => 'Student -- Food Requirements',
'header' => 'Food.Req.',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'students.foodreq'),
'registrations_num' => array(
'start_option_group' => 'Student Registration Information',
'name' => 'Student -- Registration Number',
'header' => 'RegNum',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'registrations.num' ),
'paid' => array(
'name' => 'Paid',
'header' => 'Paid',
'width' => '0.4',
'width' => 10.1 /*mm*/,
'table' => 'registrations.status',
'value_map' => array ('complete' => '', 'paymentpending' => 'No')),
@ -277,52 +277,52 @@ $report_students_fields = array(
'start_option_group' => 'Project Information',
'name' => 'Project -- Title',
'header' => 'Project Title',
'width' => 2.75,
'width' => 69.85 /*mm*/,
'scalable' => true,
'table' => 'projects.title' ),
'shorttitle' => array(
'name' => 'Project -- Short Title',
'header' => 'Short Title',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'projects.shorttitle' ),
'division' => array(
'name' => 'Project -- Division',
'header' => 'Division',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'projectdivisions.division' ),
'div' => array(
'name' => 'Project -- Division Short Form' ,
'header' => 'Div',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'projectdivisions.division_shortform' ),
'fr_division' => array(
'name' => 'Project -- Division (French)',
'header' => i18n('Division', array(), array(), 'fr'),
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'projectdivisions.division',
'exec_function' => 'report_students_i18n_fr'),
'category' => array(
'name' => 'Project -- Category',
'header' => 'Category',
'width' => 1,
'width' => 25.4 /*mm*/,
'table_sort' => 'projectcategories.id',
'table' => 'projectcategories.category' ),
'cat' => array(
'name' => 'Project -- Category Short Form' ,
'header' => 'cat',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'projectcategories.category_shortform' ),
'fr_category' => array(
'name' => 'Project -- Category (French)',
'header' => i18n('Category', array(), array(), 'fr'),
'width' => 1,
'width' => 25.4 /*mm*/,
'table_sort' => 'projectcategories.id',
'table' => 'projectcategories.category',
'exec_function' => 'report_students_i18n_fr'),
@ -330,61 +330,61 @@ $report_students_fields = array(
'categorydivision' => array(
'name' => 'Project -- Category and Division',
'header' => 'Category/Division',
'width' => 3.5,
'width' => 88.9 /*mm*/,
'table_sort' => 'projectcategories.id',
'table' => "CONCAT(projectcategories.category,' - ', projectdivisions.division)"),
'divisioncategory' => array(
'name' => 'Project -- Division and Category',
'header' => 'Division/Category',
'width' => 3.5,
'width' => 88.9 /*mm*/,
'table_sort' => 'projectdivisions.id',
'table' => "CONCAT(projectdivisions.division,' - ',projectcategories.category)"),
'summary' => array(
'name' => 'Project -- Summary',
'header' => 'Project Summary',
'width' => 4.00,
'width' => 101.6 /*mm*/,
'scalable' => true,
'table' => 'projects.summary' ),
'language' => array(
'name' => 'Project -- Language',
'header' => 'Lang',
'width' => 1.00,
'width' => 25.4 /*mm*/,
'table' => 'projects.language' ),
'numstudents' => array(
'name' => 'Project -- Number of Students',
'header' => 'Stu.',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'students.registrations_id',
'exec_function' => 'reports_students_numstudents'),
'rank' => array(
'name' => 'Project -- Rank (left blank for judges to fill out)',
'header' => 'Rank',
'width' => 1.00,
'width' => 25.4 /*mm*/,
'table' => '""' ),
'req_elec' => array(
'name' => 'Project -- If the project requires electricity',
'header' => 'Elec',
'width' => .5,
'width' => 12.7 /*mm*/,
'table' => "projects.req_electricity",
'value_map' => array ('no' => '', 'yes' => 'Yes')),
'req_table' => array(
'name' => 'Project -- If the project requires a table',
'header' => 'Table',
'width' => .5,
'width' => 12.7 /*mm*/,
'table' => "projects.req_table",
'value_map' => array ('no' => '', 'yes' => 'Yes')),
'req_special' => array(
'name' => 'Project -- Any special requirements the project has',
'header' => 'Special Requirements',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => "projects.req_special"),
@ -392,90 +392,90 @@ $report_students_fields = array(
'start_option_group' => 'School Information',
'name' => 'School -- Name',
'header' => 'School Name',
'width' => 2.25,
'width' => 57.15 /*mm*/,
'scalable' => true,
'table' => 'schools.school' ),
'schooladdr' => array(
'name' => 'School -- Full Address',
'header' => 'School Address',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'scalable' => true,
'table' => "CONCAT(schools.address, ', ', schools.city, ', ', schools.province_code, ', ', schools.postalcode)" ),
'teacher' => array(
'name' => 'School -- Teacher Name (as entered by the student)',
'header' => 'Teacher',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'students.teachername' ),
'teacheremail' => array(
'name' => 'School -- Teacher Email (as entered by the student)',
'header' => 'Teacher Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'students.teacheremail' ),
'school_phone' => array(
'name' => 'School -- Phone',
'header' => 'School Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.phone' ),
'school_fax' => array(
'name' => 'School -- Fax',
'header' => 'School Fax',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'schools.fax' ),
'school_address' => array(
'name' => 'School -- Street Address',
'header' => 'Address',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'schools.address'),
'school_city' => array(
'name' => 'School -- City',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'schools.city' ),
'school_province' => array(
'name' => 'School -- '.$config['provincestate'],
'header' => $config['provincestate'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.province_code' ),
'school_city_prov' => array(
'name' => 'School -- City, '.$config['provincestate'].' (for mailing)',
'header' => 'City',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(schools.city, ', ', schools.province_code)" ),
'school_postal' => array(
'name' => 'School -- '.$config['postalzip'],
'header' => $config['postalzip'],
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.postalcode' ),
'school_principal' => array(
'name' => 'School -- Principal',
'header' => 'Principal',
'width' => 1.25,
'width' => 31.75 /*mm*/,
'table' => 'schools.principal_uid',
'exec_function' => 'reports_students_school_principal'),
'school_board' => array(
'name' => 'School -- Board ID',
'header' => 'Board',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'schools.board' ),
'awards' => array(
'start_option_group' => 'Awards assigned to student (warning: duplicates student entries for multiple awards won!)',
'name' => 'Award -- Type + Name',
'header' => 'Award Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(IF(award_types.type='Other','Special',award_types.type),' ', award_awards.name)",
'table_sort' => 'award_awards.name',
'components' => array('awards')),
@ -483,21 +483,21 @@ $report_students_fields = array(
'award_name' => array(
'name' => 'Award -- Name',
'header' => 'Award Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => 'award_awards.name',
'components' => array('awards')),
'award_excludefromac' => array(
'name' => 'Award -- Exclude from Award Ceremony (Yes/No)',
'header' => 'Exclude',
'width' => .5,
'width' => 12.7 /*mm*/,
'table' => "award_awards.excludefromac",
'value_map' => array ('no' => 'No', 'yes' => 'Yes')),
'order' => array(
'name' => 'Award -- Order',
'header' => 'Award Order',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_awards.order',
'table_sort' => 'award_awards.order',
'components' => array('awards')),
@ -505,14 +505,14 @@ $report_students_fields = array(
'award_type' => array(
'name' => 'Award -- Type (Divisional, Special, etc.)',
'header' => 'Award Type',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'award_types.type',
'components' => array('awards')),
'sponsor' => array(
'name' => 'Award -- Sponsor DB ID',
'header' => 'Award Sponsor',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'award_awards.sponsors_id',
'table_sort' => 'award_awards.sponsors_id',
'components' => array('awards')),
@ -520,7 +520,7 @@ $report_students_fields = array(
'pn_awards' => array(
'name' => 'Award -- Project Num + Award Name (will be unique for each award)',
'header' => 'Award Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(projects.projectnumber,' ', award_awards.name)",
'table_sort' => 'award_awards.order',
'components' => array('awards')),
@ -528,35 +528,35 @@ $report_students_fields = array(
'award_prize_name' => array(
'name' => 'Award -- Prize Name',
'header' => 'Prize Name',
'width' => 2,
'width' => 50.8 /*mm*/,
'table' => 'award_prizes.prize',
'components' => array('awards')),
'award_prize_cash' => array(
'name' => 'Award -- Prize Cash Amount',
'header' => 'Cash',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_prizes.cash',
'components' => array('awards')),
'award_prize_scholarship' => array(
'name' => 'Award -- Prize Scholarship Amount',
'header' => 'Scholarship',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'award_prizes.scholarship',
'components' => array('awards')),
'award_prize_value' => array(
'name' => 'Award -- Prize Value Amount',
'header' => 'Value',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'award_prizes.value',
'components' => array('awards')),
'award_prize_fullname' => array(
'name' => 'Award -- Prize Name, Category, Division',
'header' => 'Prize Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(award_prizes.prize,' in ',projectcategories.category,' ', projectdivisions.division)",
'table_sort' => 'award_prizes.order',
'components' => array('awards')),
@ -564,7 +564,7 @@ $report_students_fields = array(
'award_prize_trophy_any' => array(
'name' => 'Award -- Trophy (\'Yes\' if the award has a trophy)',
'header' => 'Trophy',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentkeeper=1
OR award_prizes.trophystudentreturn=1
OR award_prizes.trophyschoolkeeper=1
@ -574,7 +574,7 @@ $report_students_fields = array(
'award_prize_trophy_return' => array(
'name' => 'Award -- Annual Trophy (\'Yes\' if the award has a school or student trophy that isn\'t a keeper)',
'header' => 'Trophy',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentreturn=1
OR award_prizes.trophyschoolreturn=1, 'Yes', 'No')",
'components' => array('awards')),
@ -582,14 +582,14 @@ $report_students_fields = array(
'award_prize_trophy_return_student' => array(
'name' => 'Award -- Annual Student Trophy (\'Yes\' if the award has astudent trophy that isn\'t a keeper)',
'header' => 'Ind.',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophystudentreturn=1, 'Yes', 'No')",
'components' => array('awards')),
'award_prize_trophy_return_school' => array(
'name' => 'Award -- Annual School Trophy (\'Yes\' if the award has a school trophy that isn\'t a keeper)',
'header' => 'Sch.',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "IF ( award_prizes.trophyschoolreturn=1, 'Yes', 'No')",
'components' => array('awards')),
@ -597,7 +597,7 @@ $report_students_fields = array(
'start_option_group' => 'Nominated Awards (warning: duplicates student for multiple awards!)',
'name' => 'Award Nominations -- Award Name',
'header' => 'Award Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(award_types.type,' -- ',award_awards.name)",
'table_sort' => 'award_awards.name',
'components' => array('awards_nominations')),
@ -605,7 +605,7 @@ $report_students_fields = array(
'nom_pn_awards' => array(
'name' => 'Award Nominations -- Project Num + Award Name(will be unique)',
'header' => 'Award Name',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(projects.projectnumber,' ', award_awards.name)",
'table_sort' => 'award_awards.name',
'components' => array('awards_nominations')),
@ -613,7 +613,7 @@ $report_students_fields = array(
'nom_awards_name_1' => array(
'name' => 'Award Nominations -- Self-Nominated Special Award 1',
'header' => 'Award Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.id',
'table_sort' => 'projects.id',
'exec_function' => 'reports_students_award_selfnom_1'),
@ -621,7 +621,7 @@ $report_students_fields = array(
'nom_awards_name_2' => array(
'name' => 'Award Nominations -- Self-Nominated Special Award 2',
'header' => 'Award Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.id',
'table_sort' => 'projects.id',
'exec_function' => 'reports_students_award_selfnom_2'),
@ -629,7 +629,7 @@ $report_students_fields = array(
'nom_awards_name_3' => array(
'name' => 'Award Nominations -- Self-Nominated Special Award 3',
'header' => 'Award Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.id',
'table_sort' => 'projects.id',
'exec_function' => 'reports_students_award_selfnom_3'),
@ -637,7 +637,7 @@ $report_students_fields = array(
'nom_awards_name_4' => array(
'name' => 'Award Nominations -- Self-Nominated Special Award 4',
'header' => 'Award Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.id',
'table_sort' => 'projects.id',
'exec_function' => 'reports_students_award_selfnom_4'),
@ -645,7 +645,7 @@ $report_students_fields = array(
'nom_awards_name_5' => array(
'name' => 'Award Nominations -- Self-Nominated Special Award 5',
'header' => 'Award Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'projects.id',
'table_sort' => 'projects.id',
'exec_function' => 'reports_students_award_selfnom_5'),
@ -655,21 +655,21 @@ $report_students_fields = array(
'start_option_group' => 'Emergency Contact Information',
'name' => 'Emergency Contact -- Name',
'header' => 'Contact Name',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => "CONCAT(emergencycontact.firstname, ' ', emergencycontact.lastname)",
'components' => array('emergencycontacts')),
'emerg_relation' => array(
'name' => 'Emergency Contact -- Relationship',
'header' => 'Relation',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => "emergencycontact.relation",
'components' => array('emergencycontacts')),
'emerg_phone' => array(
'name' => 'Emergency Contact -- Phone',
'header' => 'Emrg.Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => "CONCAT(emergencycontact.phone1, ' ', emergencycontact.phone2, ' ', emergencycontact.phone3, ' ', emergencycontact.phone4)",
'components' => array('emergencycontacts')),
@ -678,21 +678,21 @@ $report_students_fields = array(
'start_option_group' => 'Tour Information',
'name' => 'Tours -- Assigned Tour Name',
'header' => 'Tour',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "tours.name",
'components' => array('tours')),
'tour_assign_num' => array(
'name' => 'Tours -- Assigned Tour Number',
'header' => 'Tour',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "tours.num",
'components' => array('tours')),
'tour_assign_numname' => array(
'name' => 'Tours -- Assigned Tour Number and Name',
'header' => 'Tour',
'width' => 4,
'width' => 101.6 /*mm*/,
'table' => "CONCAT(tours.num,': ', tours.name)",
'table_sort' => 'tours.num',
'components' => array('tours')),
@ -702,7 +702,7 @@ $report_students_fields = array(
'start_option_group' => 'Mentor Information',
'name' => 'Mentor -- Project and Name (Distinct for each Project+Mentor pair)',
'header' => 'Mentor Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'scalable' => true,
'table' => "CONCAT('projects.projectnumber', ' - ', mentors.firstname, ', ', mentors.lastname)",
'table_sort'=> 'mentors.lastname',
@ -711,21 +711,21 @@ $report_students_fields = array(
'mentor_last_name' => array(
'name' => 'Mentor -- Last Name',
'header' => 'Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'mentors.lastname',
'components' => array('mentors')),
'mentor_first_name' => array(
'name' => 'Mentor -- First Name',
'header' => 'First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'mentors.firstname',
'components' => array('mentors')),
'mentor_name' => array(
'name' => 'Mentor -- Full Name (last, first)',
'header' => 'Mentor Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'scalable' => true,
'table' => "CONCAT(mentors.lastname, ', ', mentors.firstname)",
'table_sort'=> 'mentors.lastname',
@ -734,7 +734,7 @@ $report_students_fields = array(
'mentor_namefl' => array(
'name' => 'Mentor -- Full Name (first last)',
'header' => 'Mentor Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'scalable' => true,
'table' => "CONCAT(mentors.firstname, ' ', mentors.lastname)",
'table_sort'=> 'mentors.lastname',
@ -743,7 +743,7 @@ $report_students_fields = array(
'mentor_email' => array(
'name' => 'Mentor -- Email',
'header' => 'Mentor Email',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'scalable' => true,
'table' => 'mentors.email',
'components' => array('mentors')),
@ -751,14 +751,14 @@ $report_students_fields = array(
'mentor_phone' => array(
'name' => 'Mentor -- Phone',
'header' => 'Mentor Phone',
'width' => 1,
'width' => 25.4 /*mm*/,
'table' => 'mentors.phone',
'components' => array('mentors')),
'mentor_organization' => array(
'name' => 'Mentor -- Organization',
'header' => 'Mentor Org.',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'scalable' => true,
'table' => 'mentors.organization',
'components' => array('mentors')),
@ -766,7 +766,7 @@ $report_students_fields = array(
'mentor_position' => array(
'name' => 'Mentor -- Position',
'header' => 'Position',
'width' => 1,
'width' => 25.4 /*mm*/,
'scalable' => true,
'table' => 'mentors.position',
'components' => array('mentors')),
@ -774,7 +774,7 @@ $report_students_fields = array(
'mentor_description' => array(
'name' => 'Mentor -- Description of Help',
'header' => 'Description of Help',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'scalable' => true,
'table' => 'mentors.description',
'components' => array('mentors')),
@ -784,14 +784,14 @@ $report_students_fields = array(
'start_option_group' => 'Fair Information',
'name' => 'Feeder Fair -- Name',
'header' => 'Fair Name',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'fairs.name',
'components' => array('fairs')),
'feeder_fair_abbrv' => array (
'name' => 'Feeder Fair -- Abbreviation',
'header' => 'Fair',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'fairs.abbrv',
'components' => array('fairs')),
@ -799,13 +799,13 @@ $report_students_fields = array(
'fair_year' => array (
'name' => 'Fair -- Year',
'header' => 'Year',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "{$config['FAIRYEAR']}"),
'fair_name' => array (
'name' => 'Fair -- Name',
'header' => 'Fair Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => "'".mysql_escape_string($config['fairname'])."'"),
/* Special/Misc/Other */
@ -813,26 +813,26 @@ $report_students_fields = array(
'start_option_group' => 'Special Fields',
'name' => 'Label -- Static Text',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
'static_box' => array (
'name' => 'Label -- Static Box',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
'easyparse_allnames' => array(
'name' => "Easy Parse -- All Student Names (REQUIRES MYSQL 5.0) ",
'header' => 'Student(s)',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => "GROUP_CONCAT(students.lastname, ',', students.firstname ORDER BY students.lastname SEPARATOR ':')",
'group_by' => array('students.registrations_id')),
'special_tshirt_count' => array(
'name' => 'Special -- T-Shirt Size Count',
'header' => 'Count',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'COUNT(*)',
'total' => true,
'group_by' => array('students.tshirt')),

View File

@ -25,55 +25,55 @@ $report_tours_fields = array(
'tour_name' => array(
'name' => 'Tour -- Name',
'header' => 'Tour Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'tours.name' ),
'tour_num' => array(
'name' => 'Tour -- Number',
'header' => 'Num',
'width' => 0.75,
'width' => 19.05 /*mm*/,
'table' => 'tours.num' ),
'tour_desc' => array(
'name' => 'Tour -- Description',
'header' => 'Tour Description',
'width' => 3.0,
'width' => 76.2 /*mm*/,
'table' => 'tours.description'),
'tour_capacity' => array(
'name' => 'Tour -- Capacity',
'header' => 'Cap',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'tours.capacity' ),
'tour_mingrade' => array(
'name' => 'Tour -- Minimum Grade',
'header' => 'Min Gr.',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'tours.grade_min' ),
'tour_maxgrade' => array(
'name' => 'Tour -- Maximum Grade',
'header' => 'Max Gr.',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'tours.grade_max' ),
'tour_location' => array(
'name' => 'Tour -- Location',
'header' => 'Tour Location',
'width' => 2.0,
'width' => 50.8 /*mm*/,
'table' => 'tours.location'),
'tour_contact' => array(
'name' => 'Tour -- Contact',
'header' => 'Contact',
'width' => 1.5,
'width' => 38.1 /*mm*/,
'table' => 'tours.contact' ),
'tour_id' => array(
'name' => 'Tour -- Database ID',
'header' => '#',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'tours.id' ),
);

View File

@ -26,71 +26,71 @@ $report_volunteers_fields = array(
'last_name' => array(
'name' => 'Volunteer -- Last Name',
'header' => 'Last Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.lastname' ),
'first_name' => array(
'name' => 'Volunteer -- First Name',
'header' => 'First Name',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.firstname' ),
'name' => array(
'name' => 'Volunteer -- Full Name (last, first)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.lastname, ', ', users.firstname)",
'table_sort'=> 'users.lastname' ),
'namefl' => array(
'name' => 'Volunteer -- Full Name (first last)',
'header' => 'Name',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => "CONCAT(users.firstname, ' ', users.lastname)",
'table_sort'=> 'users.lastname' ),
'email' => array(
'name' => 'Volunteer -- Email',
'header' => 'Email',
'width' => 1.75,
'width' => 44.45 /*mm*/,
'table' => 'users.email'),
'phone' => array(
'name' => 'Volunteer -- Phone',
'header' => 'Phone',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.phonehome'),
'cell' => array(
'name' => 'Volunteer -- Cell',
'header' => 'Cell',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.phonecell'),
'organization' => array(
'name' => 'Volunteer -- Phone',
'header' => 'Organziation',
'width' => 1.0,
'width' => 25.4 /*mm*/,
'table' => 'users.organization'),
'firstaid' => array(
'name' => 'Volunteer -- First Aid Training',
'header' => 'F.Aid',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.firstaid',
'value_map' =>array ('no' => 'no', 'yes' => 'YES')),
'cpr' => array(
'name' => 'Volunteer -- CPR Training',
'header' => 'CPR',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => 'users.cpr',
'value_map' =>array ('no' => 'no', 'yes' => 'YES')),
'complete' => array(
'name' => 'Volunteer -- Registration Complete',
'header' => 'Cmpl',
'width' => 0.4,
'width' => 10.16 /*mm*/,
'table' => 'users_volunteer.volunteer_complete',
'value_map' => array ('no' => 'No', 'yes' => 'Yes'),
'components' => array('users_volunteer')),
@ -98,26 +98,26 @@ $report_volunteers_fields = array(
'position_name' => array (
'name' => 'Volunteer Position -- Name',
'header' => 'Position',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => 'volunteer_positions.name',
'components' => array('signup')),
'fair_year' => array (
'name' => 'Fair -- Year',
'header' => 'Year',
'width' => 0.5,
'width' => 12.7 /*mm*/,
'table' => "{$config['FAIRYEAR']}"),
'fair_name' => array (
'name' => 'Fair -- Name',
'header' => 'Fair Name',
'width' => 3,
'width' => 76.2 /*mm*/,
'table' => "'".mysql_escape_string($config['fairname'])."'"),
'static_text' => array (
'name' => 'Static Text (useful for labels)',
'header' => '',
'width' => 0.1,
'width' => 2.54 /*mm*/,
'table' => "CONCAT(' ')"),
);