forked from science-ation/science-ation
Add address to the primary contact in an awards report
This commit is contained in:
parent
b957a965c9
commit
f7532e8ebc
@ -197,6 +197,36 @@ $report_awards_fields = array(
|
||||
'width' => 3,
|
||||
'table' => 'PRIMARYCONTACT.notes' ),
|
||||
|
||||
'pcontact_address' => array(
|
||||
'name' => 'Primary Contact Address -- Street',
|
||||
'header' => 'Address',
|
||||
'width' => 2.0,
|
||||
'table' => "CONCAT(PRIMARYCONTACTUSER.address, ' ', PRIMARYCONTACTUSER.address2)"),
|
||||
|
||||
'pcontact_city' => array(
|
||||
'name' => 'Primary Contact Address -- City',
|
||||
'header' => 'City',
|
||||
'width' => 1.5,
|
||||
'table' => 'PRIMARYCONTACTUSER.city'),
|
||||
|
||||
'pcontact_province' => array(
|
||||
'name' => 'Primary Contact Address -- '.$config['provincestate'],
|
||||
'header' => $config['provincestate'],
|
||||
'width' => 0.75,
|
||||
'table' => 'PRIMARYCONTACTUSER.province'),
|
||||
|
||||
'pcontact_postal' => array(
|
||||
'name' => 'Primary Contact Address -- '.$config['postalzip'],
|
||||
'header' => $config['postalzip'],
|
||||
'width' => 0.75,
|
||||
'table' => 'PRIMARYCONTACTUSER.postalcode' ),
|
||||
|
||||
'pcontact_city_prov' => array(
|
||||
'name' => 'Primary Contact Address -- City, '.$config['provincestate'].' (for mailing)',
|
||||
'header' => 'City',
|
||||
'width' => 1.5,
|
||||
'table' => "CONCAT(PRIMARYCONTACTUSER.city, ', ', PRIMARYCONTACTUSER.province)"),
|
||||
|
||||
'judgeteamname' => array(
|
||||
'start_option_group' => 'Judging Team',
|
||||
'components' => array('judgingteam'),
|
||||
|
Loading…
Reference in New Issue
Block a user