{"_id":"65f8442395e055298d314f6e","type":"form","tags":[],"owner":"5f9acba5f1b659b9e06350e4","components":[{"label":"Top of Form","columns":[{"components":[{"label":"authorizationToken","key":"authorizationToken","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"agencyFormId","key":"agencyFormId","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"min/max","persistent":"client-only","calculateServer":true,"trigger":{"init":true,"server":true},"dataSrc":"url","fetch":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/minmaxamount/{{ data.agencyFormId }}","method":"get","headers":[{"key":"X-Paygov-Authorization-Token","value":"{{ data.authorizationToken }}"}],"forwardHeaders":true,"authenticate":false},"key":"minMax","type":"datasource","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"Company Profile","persistent":"client-only","calculateServer":true,"trigger":{"init":true,"server":true},"dataSrc":"url","fetch":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/companyprofile/{{ data.agencyFormId }}","method":"get","headers":[{"key":"X-Paygov-Authorization-Token","value":"{{ data.authorizationToken }}"}],"forwardHeaders":true,"authenticate":false},"key":"CompanyDataFromPaygov","type":"datasource","input":true,"tableView":false,"validate":{"multiple":true},"hideOnChildrenHidden":false,"keyModified":true,"multiple":true,"width":12}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"key":"topOfForm","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/VAVISN/images/visn7_logo.jpg"},{"attr":"alt","value":"VA Capital Health Care Network VISN 7"},{"attr":"title","value":"VA Capital Health Care Network VISN 7"},{"attr":"style","value":"max-width: 250px;"}],"refreshOnChange":false,"key":"html1","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","tag":"h3","attrs":[{"attr":"","value":""}],"content":"VA SOUTHEAST NETWORK: VISN 7
\n ","refreshOnChange":false,"key":"html","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Welcome to the Department of Veterans Affairs Southeast Network donation page. The VA Southeast Network serves Atlanta, Augusta, Birmingham, Charleston, Columbia, Dublin, Montgomery, and Tuscaloosa. Please click on the facility to which you would like to donate.
\n\n* Required Field
","refreshOnChange":false,"key":"html2","type":"htmlelement","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Facility","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"list = [\r\n {\r\n \"label\": \"Atlanta VA Health Care System\",\r\n \"locationCode\": \"508\",\r\n \"name\": \"Atlanta VA Health Care System\",\r\n \"title\": \"Atlanta VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Atlanta VA Medical Center.\",\r\n \"image\": \"visn7_atlanta.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Charlie Norwood VA Medical Center\",\r\n \"locationCode\": \"509\",\r\n \"name\": \"Charlie Norwood VA Medical Center\",\r\n \"title\": \"Charlie Norwood VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Augusta Charlie Norwood VA Medical Center.\",\r\n \"image\": \"visn7_augusta.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Birmingham VA Health Care System\",\r\n \"locationCode\": \"521\",\r\n \"name\": \"Birmingham VA Health Care System\",\r\n \"title\": \"Birmingham VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Birmingham VA Medical Center.\",\r\n \"image\": \"visn7_birmingham.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Central Alabama Veterans Health Care System\",\r\n \"locationCode\": \"619\",\r\n \"name\": \"Central Alabama Veterans Health Care System\",\r\n \"title\": \"Central Alabama Veterans Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Central Alabama Veterans Health Care System.\",\r\n \"image\": \"visn7_alabama.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Ralph H. Johnson VA Medical Center\",\r\n \"locationCode\": \"534\",\r\n \"name\": \"Ralph H. Johnson VA Medical Center\",\r\n \"title\": \"Ralph H. Johnson VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. Those funds are used to supplement VA programs for Lowcountry Veterans from Hinesville, GA to Myrtle Beach, SC where we support 6 community clinics as well as our Medical Center in Charleston, SC. The Assistance / General Support for Patient Needs Fund is our general-purpose account and is used to assist our Veteran patients with obtaining a variety of basic needs, including clothing, shelter and transportation. For questions regarding e-donations, please contact Voluntary Service at 843-789-7230. Thank you for supporting our Nation's Heroes.\",\r\n \"image\": \"visn7_charleston.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Columbia VA Health Care System\",\r\n \"locationCode\": \"544\",\r\n \"name\": \"Columbia VA Health Care System\",\r\n \"title\": \"Columbia VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Columbia VA Health Care System.\",\r\n \"image\": \"visn7_columbia.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"locationCode\": \"557\",\r\n \"name\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"title\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Dublin - Carl Vinson VA Medical Center.\",\r\n \"image\": \"visn7_dublin.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },{\r\n \"label\": \"Tuscaloosa VA Medical Center\",\r\n \"locationCode\": \"679\",\r\n \"name\": \"Tuscaloosa VA Medical Center\",\r\n \"title\": \"Tuscaloosa VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Tuscaloosa VA Medical Center.\",\r\n \"image\": \"visn7_tuscaloosa.jpg\",\r\n \"maxWidth\" : \"250\"\r\n }\r\n];\r\n\r\nvalues = _.sortBy(list, \"label\")"},"valueProperty":"locationCode","dataType":"string","validate":{"required":true},"key":"FacilityList","type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Facility","calculateValue":"switch (data.FacilityList) {\r\n\tcase \"508\" :\r\n value = {\r\n \"label\": \"Atlanta VA Health Care System\",\r\n \"locationCode\": \"508\",\r\n \"name\": \"Atlanta VA Health Care System\",\r\n \"title\": \"Atlanta VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Atlanta VA Medical Center.\",\r\n \"image\": \"visn7_atlanta.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"509\" :\r\n value = {\r\n \"label\": \"Charlie Norwood VA Medical Center\",\r\n \"locationCode\": \"509\",\r\n \"name\": \"Charlie Norwood VA Medical Center\",\r\n \"title\": \"Charlie Norwood VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Augusta Charlie Norwood VA Medical Center.\",\r\n \"image\": \"visn7_augusta.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"521\" :\r\n value = {\r\n \"label\": \"Birmingham VA Health Care System\",\r\n \"locationCode\": \"521\",\r\n \"name\": \"Birmingham VA Health Care System\",\r\n \"title\": \"Birmingham VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Birmingham VA Medical Center.\",\r\n \"image\": \"visn7_birmingham.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"619\" :\r\n value = {\r\n \"label\": \"Central Alabama Veterans Health Care System\",\r\n \"locationCode\": \"619\",\r\n \"name\": \"Central Alabama Veterans Health Care System\",\r\n \"title\": \"Central Alabama Veterans Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Central Alabama Veterans Health Care System.\",\r\n \"image\": \"visn7_alabama.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"534\" :\r\n value = {\r\n \"label\": \"Ralph H. Johnson VA Medical Center\",\r\n \"locationCode\": \"534\",\r\n \"name\": \"Ralph H. Johnson VA Medical Center\",\r\n \"title\": \"Ralph H. Johnson VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. Those funds are used to supplement VA programs for Lowcountry Veterans from Hinesville, GA to Myrtle Beach, SC where we support 6 community clinics as well as our Medical Center in Charleston, SC. The Assistance / General Support for Patient Needs Fund is our general-purpose account and is used to assist our Veteran patients with obtaining a variety of basic needs, including clothing, shelter and transportation. For questions regarding e-donations, please contact Voluntary Service at 843-789-7230. Thank you for supporting our Nation's Heroes.\",\r\n \"image\": \"visn7_charleston.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"544\" :\r\n value = {\r\n \"label\": \"Columbia VA Health Care System\",\r\n \"locationCode\": \"544\",\r\n \"name\": \"Columbia VA Health Care System\",\r\n \"title\": \"Columbia VA Health Care System\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Columbia VA Health Care System.\",\r\n \"image\": \"visn7_columbia.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"557\" :\r\n value = {\r\n \"label\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"locationCode\": \"557\",\r\n \"name\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"title\": \"Dublin - Carl Vinson VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Dublin - Carl Vinson VA Medical Center.\",\r\n \"image\": \"visn7_dublin.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n case \"679\" :\r\n value = {\r\n \"label\": \"Tuscaloosa VA Medical Center\",\r\n \"locationCode\": \"679\",\r\n \"name\": \"Tuscaloosa VA Medical Center\",\r\n \"title\": \"Tuscaloosa VA Medical Center\",\r\n \"desc\": \"Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the Tuscaloosa VA Medical Center.\",\r\n \"image\": \"visn7_tuscaloosa.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n default: \r\n value = \"\"; \r\n break;\r\n}","calculateServer":true,"key":"Facility","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"key":"columns","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"title":"Donation Information","collapsible":false,"key":"donationInformation","customConditional":"show = !_.isEmpty(data.Facility.locationCode);","type":"panel","label":"Donation Information","input":false,"tableView":false,"components":[{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/VAVISN/images/{{ data.Facility.image }}"},{"attr":"alt","value":"VISN Logo"},{"attr":"title","value":"VISN Logo"},{"attr":"style","value":"max-width: 250px;"}],"refreshOnChange":false,"key":"html1","logic":[{"name":"Hidden","trigger":{"type":"javascript","javascript":"result = (data.Facility.title === \"South East Louisiana - New Orleans, LA\");"},"actions":[{"name":"Hidden","type":"property","content":"