|
8 | 8 | # address2 :string |
9 | 9 | # agency_mission :text |
10 | 10 | # agency_type :string |
11 | | -# application_data :text |
12 | 11 | # at_fpl_or_below :integer |
13 | 12 | # case_management :boolean |
14 | 13 | # city :string |
15 | 14 | # client_capacity :string |
16 | 15 | # currently_provide_diapers :boolean |
17 | 16 | # describe_storage_space :text |
18 | 17 | # distribution_times :string |
19 | | -# distributor_type :string |
20 | 18 | # enable_child_based_requests :boolean default(TRUE), not null |
21 | 19 | # enable_individual_requests :boolean default(TRUE), not null |
22 | 20 | # enable_quantity_based_requests :boolean default(TRUE), not null |
@@ -144,7 +142,44 @@ class Profile < Base |
144 | 142 | validate :has_at_least_one_request_setting |
145 | 143 | validate :pick_up_email_addresses |
146 | 144 |
|
| 145 | + # For the sake of documentation, here are the partials each field belongs to. In the order those |
| 146 | + # partials appear in the actual form. |
| 147 | + # agency_information -- this partial is always shown, contains the agency information AND the Program / Delivery Address sections of the form |
| 148 | + # agency_type, other_agency_type, agency_mission, address1, address2, city, state, zip_code, |
| 149 | + # program_address1, program_address2, program_city, program_state, program_zip_code |
| 150 | + # media_information |
| 151 | + # website, facebook, twitter, instagram, no_social_media_presence |
| 152 | + # agency_stability |
| 153 | + # founded, form_990, program_name, program_description, program_age, evidence_based, case_management, |
| 154 | + # essentials_use, receives_essentials_from_other, currently_provide_diapers |
| 155 | + # organizational_capacity |
| 156 | + # client_capacity, storage_space, describe_storage_space |
| 157 | + # sources_of_funding |
| 158 | + # sources_of_funding, sources_of_diapers, essentials_budget, essentials_funding_source |
| 159 | + # area_served |
| 160 | + # has no associated Partners::Profile fields |
| 161 | + # population_served |
| 162 | + # income_requirement_desc, income_verification, population_black, population_white, |
| 163 | + # population_hispanic, population_asian, population_american_indian, population_island, |
| 164 | + # population_multi_racial, population_other, zips_served, at_fpl_or_below, above_1_2_times_fpl |
| 165 | + # greater_2_times_fpl, poverty_unknown |
| 166 | + # executive_director |
| 167 | + # executive_director_name, executive_director_phone, executive_director_email, primary_contact_name, |
| 168 | + # primary_contact_phone, primary_contact_mobile, primary_contact_email |
| 169 | + # pick_up_person |
| 170 | + # pick_up_name, pick_up_phone, pick_up_email |
| 171 | + # agency_distribution_information |
| 172 | + # distribution_times, new_client_times, more_docs_required |
| 173 | + # attached_documents |
| 174 | + # has no associated Partners::Profile fields |
| 175 | + # partner_settings -- this partial is always shown |
| 176 | + # enable_quantity_based_requests, enable_child_based_requests, enable_individual_requests |
| 177 | + |
| 178 | + # These are columns which currently do not appear in any partial of the profile form. |
| 179 | + # It is possible these will be removed in the future. |
147 | 180 | self.ignored_columns += %w[ |
| 181 | + application_data |
| 182 | + distributor_type |
148 | 183 | evidence_based_description |
149 | 184 | program_client_improvement |
150 | 185 | incorporate_plan |
|
0 commit comments