{"_id":"66918e3479559dd2d35880bf","type":"form","tags":[],"owner":"5f9acba5f1b659b9e06350e4","components":[{"label":"HTML","tag":"h3","attrs":[{"attr":"","value":""}],"content":"EXCISE TAX RETURN
\n ","refreshOnChange":false,"tableView":false,"key":"html","type":"htmlelement","input":false},{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"DEPARTMENT OF THE TREASURY
\nALCOHOL AND TOBACCO TAX AND TRADE BUREAU
\n ","refreshOnChange":false,"tableView":false,"key":"html7","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"* Required Field
\n ","refreshOnChange":false,"tableView":false,"key":"html15","type":"htmlelement","input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"a","attrs":[{"attr":"href","value":"{{ config.STATIC_ASSETS_ENV }}/ATF/help/TTB_PRExcise_help_v2.html"},{"attr":"target","value":"_blank"}],"content":"Help Text","refreshOnChange":false,"key":"html1","type":"htmlelement","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"a","attrs":[{"attr":"href","value":"{{ config.STATIC_ASSETS_ENV }}/ATF/help/TTB_PRExcise_PWRA_v1.html"},{"attr":"target","value":"_blank"}],"content":"Paperwork Reduction Act","refreshOnChange":false,"key":"html2","type":"htmlelement","tableView":false,"input":false,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3}],"tableView":false,"key":"columns","type":"columns","input":false},{"label":"HTML","tag":"hr","refreshOnChange":false,"tableView":false,"key":"html4","type":"htmlelement","input":false},{"title":"General Information","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"collapsible":false,"tableView":false,"key":"generalInformation","type":"panel","label":"Panel","input":false,"components":[{"label":"Top of Form","columns":[{"components":[{"label":"authorizationToken","key":"authorizationToken","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":true,"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":true,"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":true,"width":12}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"autoAdjust":true,"hideOnChildrenHidden":true,"key":"columns27","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"General Information\n
","refreshOnChange":false,"tableView":false,"key":"html10","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"Return Type","optionsLabelPosition":"right","inline":false,"tableView":false,"defaultValue":"Original Return","values":[{"label":"Original Return","value":"Original Return","shortcut":""},{"label":"Amended Return","value":"Amended Return","shortcut":""}],"validate":{"required":true},"key":"Amend","type":"radio","input":true,"hideOnChildrenHidden":false},{"label":"Final","tableView":false,"defaultValue":false,"key":"SERIAL_FINAL","type":"checkbox","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"tableView":false,"key":"columns1","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Checking Final indicates that the user is ending operations and that this return will be the final report submitted.

If you have marked FINAL and have not already done so, you need to contact your TTB representative about discontinuing operations.","refreshOnChange":false,"tableView":false,"key":"html5","customConditional":"show = data.SERIAL_FINAL;","type":"htmlelement","input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"hr","attrs":[{"attr":"","value":""}],"refreshOnChange":false,"tableView":false,"key":"html6","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"Plant, Registry, or Permit Number","tableView":true,"case":"uppercase","validateOn":"blur","validate":{"required":true,"custom":"var go = true;\r\nvar regEx = /^BR-?(PR)-?[A-Z]{3}-?\\d{1,5}$/i;\r\nvar regEx2 = /^(TP|BR|BW|PT|EW)-?(PR)-?\\d{1,5}$/i;\r\nvar regEx3 = /^(BWC|BWN|DSP)-?(PR)-?\\d{1,5}$/i;\r\nvar regEx4 = /^PR-?(S|W|WS)-?\\d{1,5}$/i;\r\nvar val = input.replace(/-/g,\"\").toUpperCase();\r\nvar state = \"\";\r\nvar errorMessage = \"\";\r\n\r\nif (regEx4.test(input)) {\r\n var test = /^[a-z]{4}/i;\r\n if (test.test(val)) {\r\n val = val.substr(0,2) + \"-\" + val.substr(2,2) + \"-\" + val.substr(4);\r\n } else {\r\n val = val.substr(0,2) + \"-\" + val.substr(2,1) + \"-\" + val.substr(3);\r\n }\r\n go = true;\r\n \r\n} else {\r\n if (regEx.test(input)) {\r\n \tstate = val.substr(2,2);\r\n \tval = val.substr(0,2) + \"-\" + val.substr(2,2) + \"-\" + val.substr(4,3) + \"-\" + val.substr(7);\r\n } else if (regEx2.test(input)) {\r\n \tstate = val.substr(2,2);\r\n \tval = val.substr(0,2) + \"-\" + val.substr(2,2) + \"-\" + val.substr(4);\r\n } else if (regEx3.test(input)) {\r\n \tstate = val.substr(3,2);\r\n \tval = val.substr(0,3) + \"-\" + val.substr(3,2) + \"-\" + val.substr(5);\r\n } else {\r\n \tgo = false;\r\n \terrorMessage = \"Be sure to enter a valid Plant, Registry or Permit Number. Any extra spaces or leading zeros will cause an error on your form. If you need assistance, clear the field, and select Help Text at the top of the form.\";\r\n }\r\n \r\n if (go && data.partyState !== \"\" && data.partyState !== null && data.partyState !== undefined && state !== data.partyState) {\r\n \tgo = false;\r\n \terrorMessage = \"Your permit number is not valid for the state you entered. Please correct before continuing.\";\r\n }\r\n}\r\n\r\nif (go) {\r\n\tif (typeof instance != \"undefined\") {\r\n\t instance.setValue(val);\r\n\t} else {\r\n\t data[component.key] = val;\r\n\t}\r\n}\r\n\r\nvalid = (input === \"\" || input === undefined || go) ? true : errorMessage;"},"key":"PERMIT_NUMBER","overlay":{"page":1,"left":408,"top":315,"width":"250","height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Employer Identification Number","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{2}-?\\d{7}$/;\r\nvar badEIN = /^(99-?9999999|00-?0000000|12-?3456789)$/;\r\n\r\nif (input === \"\" || input === null || input === undefined) {\r\n valid = true;\r\n} else {\r\n if (!regEx.test(input) || badEIN.test(input)) {\r\n valid = \"Please enter your 9 digit Employer Identification Number (EIN). If you don't have an EIN, you may apply for one by calling the IRS toll free at (866) 816-2065 or contacting the IRS office listed under 'US Government Agencies' in your local telephone directory. For additional information call (800) 829-1040.\";\r\n } else {\r\n var str = input.replace(/-/g, \"\");\r\n str = str.substr(0,2) + \"-\" + str.substr(2);\r\n if (typeof instance != \"undefined\") {\r\n instance.setValue(str);\r\n } else {\r\n data[component.key] = str;\r\n }\r\n valid = true;\r\n }\r\n}"},"key":"sensEMPLOYER_ID","overlay":{"page":1,"left":66,"top":317,"width":"250","height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Serial Number","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^(P-?20\\d{2}-?\\d{3}|20\\d{2}-?\\d{1,2})$/i;\r\n\r\nvar y = (new Date()).getFullYear();\r\nvar go = true;\r\nvar errorMessage = \"\";\r\nvar newValue = input;\r\n\r\nif (input === \"\" || input === undefined) {\r\n\tgo = true;\r\n} else if (!regEx.test(input)) {\r\n\tgo = false;\r\n\terrorMessage = \"Invalid Serial Number. Valid formats are P-YYYY-### or YYYY-##\";\r\n} else {\r\n\tvar s = input.replace(/-/g,\"\").toUpperCase();\r\n\tif (s.substr(0,1) == \"P\") {\r\n\t\tvar year = parseInt(s.substr(1,4));\r\n\t\tvar period = s.substr(5);\r\n\t\tvar p = parseInt(period, 10);\r\n\t\tif (year < (y - 3) || year > y) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PREPAYMENT (P-YYYY-###), 'YYYY' must be the current year or up to 3 years earlier.\";\r\n\t\t} else if (p < 1 || p > 999) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PREPAYMENT (P-YYYY-###), '#' must be a number from 001 to 999.\";\r\n\t\t} else {\r\n\t\t\tnewValue = s.substr(0,1) + \"-\" + s.substr(1,4) + \"-\" + period;\r\n\t\t\tif (data.RETURN_COVERS_TYPE == \"1\" || data.RETURN_COVERS_TYPE == \"3\") {\r\n\t\t\t\tgo = false;\r\n\t\t\t\terrorMessage = \"If either Period or Quarterly are selected, Serial Number must be in the format YYYY-##.\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t} else {\r\n\t\tvar year = parseInt(s.substr(0,4));\r\n\t\tvar p = parseInt(s.substr(4));\r\n\t\tif (year < (y - 3) || year > y) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PERIOD (YYYY-#), 'YYYY' must be the current year or earlier.\";\r\n\t\t} else if (p < 1 || p > 25) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PERIOD (YYYY-#), '#' must be a number from 1 to 25.\";\r\n\t\t} else if (data.RETURN_COVERS_TYPE == \"2\") {\r\n\t\t go = false;\r\n\t\t errorMessage = \"If Prepayment is selected, Serial Number must be in the format P-YYYY-###.\";\r\n\t\t} else {\r\n\t\t\tnewValue = s.substr(0,4) + \"-\" + parseInt(p, 10).toString();\r\n\t\t}\r\n\t}\r\n}\r\n\r\nif (typeof instance != \"undefined\") {\r\n instance.setValue(newValue);\r\n} else {\r\n data[component.key] = newValue;\r\n}\r\nvalid = go ? true : errorMessage;var regEx = /^(P-?20\\d{2}-?\\d{3}|20\\d{2}-?\\d{1,2})$/i;\r\n\r\nvar y = (new Date()).getFullYear();\r\nvar go = true;\r\nvar errorMessage = \"\";\r\nvar newValue = input;\r\n\r\nif (input === \"\" || input === undefined) {\r\n\tgo = true;\r\n} else if (!regEx.test(input)) {\r\n\tgo = false;\r\n\terrorMessage = \"Invalid Serial Number. Valid formats are P-YYYY-### or YYYY-##\";\r\n} else {\r\n\tvar s = input.replace(/-/g,\"\").toUpperCase();\r\n\tif (s.substr(0,1) == \"P\") {\r\n\t\tvar year = parseInt(s.substr(1,4));\r\n\t\tvar period = s.substr(5);\r\n\t\tvar p = parseInt(period, 10);\r\n\t\tif (year < (y - 3) || year > y) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PREPAYMENT (P-YYYY-###), 'YYYY' must be the current year or up to 3 years earlier.\";\r\n\t\t} else if (p < 1 || p > 999) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PREPAYMENT (P-YYYY-###), '#' must be a number from 001 to 999.\";\r\n\t\t} else {\r\n\t\t\tnewValue = s.substr(0,1) + \"-\" + s.substr(1,4) + \"-\" + period;\r\n\t\t\tif (data.RETURN_COVERS_TYPE == \"1\" || data.RETURN_COVERS_TYPE == \"3\") {\r\n\t\t\t\tgo = false;\r\n\t\t\t\terrorMessage = \"If either Period or Quarterly are selected, Serial Number must be in the format YYYY-##.\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t} else {\r\n\t\tvar year = parseInt(s.substr(0,4));\r\n\t\tvar p = parseInt(s.substr(4));\r\n\t\tif (year < (y - 3) || year > y) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PERIOD (YYYY-#), 'YYYY' must be the current year or earlier.\";\r\n\t\t} else if (p < 1 || p > 25) {\r\n\t\t\tgo = false;\r\n\t\t\terrorMessage = \"For PERIOD (YYYY-#), '#' must be a number from 1 to 25.\";\r\n\t\t} else if (data.RETURN_COVERS_TYPE == \"2\") {\r\n\t\t go = false;\r\n\t\t errorMessage = \"If Prepayment is selected, Serial Number must be in the format P-YYYY-###.\";\r\n\t\t} else {\r\n\t\t\tnewValue = s.substr(0,4) + \"-\" + parseInt(p, 10).toString();\r\n\t\t}\r\n\t}\r\n}\r\n\r\nif (typeof instance != \"undefined\") {\r\n instance.setValue(newValue);\r\n} else {\r\n data[component.key] = newValue;\r\n}\r\nvalid = go ? true : errorMessage;"},"key":"SERIAL_NUMBER","overlay":{"page":1,"left":736,"top":76,"width":150,"height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns2","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Company Name","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":30},"key":"partyCompanyName","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true},{"label":"Doing Business As","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":30},"key":"DBA","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true},{"label":"Street Address","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":35},"key":"partyAddress1","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"City","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":30},"key":"partyCity","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"State","widget":"html5","tableView":true,"data":{"values":[{"label":"Puerto Rico","value":"PR"}]},"valueProperty":"value","dataType":"auto","validate":{"required":true},"key":"partyState","type":"select","input":true,"hideOnChildrenHidden":false,"defaultValue":"PR","searchThreshold":0.3}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Zip Code","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"if (input === \"\" || input === undefined || input === null) {\r\n valid = true;\r\n} else {\r\n var regEx = /^\\d{5}(-?\\d{4})?$/;\r\n if (regEx.test(input)) {\r\n var str = input.replace(/-/g, \"\");\r\n str = str.length === 5 ? str : str.substr(0,5) + \"-\" + str.substr(5);\r\n if (typeof instance != \"undefined\") {\r\n instance.setValue(str);\r\n } else {\r\n data[component.key] = str;\r\n }\r\n valid = true;\r\n } else {\r\n valid = \"Invalid Zip Code\";\r\n }\r\n}"},"key":"partyZipcode","type":"textfield","input":true,"lockKey":true,"source":"5e3b1d285e65135702af3f4e","isNew":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns3","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Form of Payment","widget":"html5","tableView":true,"defaultValue":"EFT","data":{"values":[{"label":"EFT","value":"EFT"},{"label":"Other","value":"Other"}]},"validate":{"required":true},"key":"Pay","type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Electronic Type","widget":"html5","tableView":true,"data":{"values":[{"label":"ACH","value":"ACH"},{"label":"FedWire","value":"FedWire"}]},"validate":{"required":true},"key":"PaymentMethodMethodCode","logic":[{"name":"Clear and Disable","trigger":{"type":"javascript","javascript":"result = data.Pay === \"Other\";"},"actions":[{"name":"Clear Value","type":"value","value":"value = \"\";"},{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Not Required","type":"property","property":{"label":"Required","value":"validate.required","type":"boolean"},"state":false}]}],"type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"This system can only be used to make ACH payments. Fedwire payments must be initiated through your bank.","refreshOnChange":false,"tableView":false,"key":"html3","customConditional":"show = data.PaymentMethodMethodCode == \"FedWire\";","type":"htmlelement","input":false,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns5","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Return Covers (check one)","optionsLabelPosition":"right","inline":false,"tableView":false,"defaultValue":"1","values":[{"label":"Period","value":"1","shortcut":""},{"label":"Quarterly","value":"3","shortcut":""},{"label":"Prepayment","value":"2","shortcut":""}],"dataType":"string","clearOnHide":false,"validate":{"required":true,"custom":"if (parseInt(data.SERIAL_NUMBER.split(\"-\")[1], 10) > 4 && input == \"3\") {\r\n\tvalid = \"Serial Number is inconsistent with Quarterly period.\";\r\n} else {\r\n\tvalid = true;\r\n}"},"key":"RETURN_COVERS_TYPE","type":"radio","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"tableView":false,"key":"columns6","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Year","tableView":true,"calculateValue":"if (data.RETURN_COVERS_TYPE == \"2\") {\n value = \"\";\n} else {\n var year = !_.isEmpty(data.SERIAL_NUMBER) ? data.SERIAL_NUMBER.substr(0,4) : \"\";\n if (year.substr(0,1) === \"P\") {\n year = data.SERIAL_NUMBER.substr(2,4);\n }\n value = year;\n}","calculateServer":true,"validate":{"required":true},"key":"PERIOD_YEAR","customConditional":"show = data.RETURN_COVERS_TYPE != \"2\";","type":"textfield","dataSrc":"custom","data":{"values":[{"label":"","value":""}],"json":"","url":"","resource":"","custom":""},"valueProperty":"value","selectThreshold":0.3,"indexeddb":{"filter":{}},"input":true,"hideOnChildrenHidden":false,"clearOnRefresh":false,"limit":100,"lazyLoad":true,"searchEnabled":true,"minSearch":0,"readOnlyValue":false,"authenticate":false,"template":"{{ item.label }}","searchThreshold":0.3,"fuseOptions":{"include":"score","threshold":0.3},"customOptions":{}}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Period","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"var periodList = [\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"January 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"January 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"February 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"February 16 - 28\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"February 16 - 29\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"March 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"March 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"April 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"April 16 - 30\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"May 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"May 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"June 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"June 16 - 30\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"July 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"July 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"August 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"August 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"September 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"September 16 - 25\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"September 16 - 26\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"September 26 - 30\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"September 27 - 30\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"October 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"October 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"November 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"November 16 - 30\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"December 1 - 15\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"December 16 - 31\"\r\n },\r\n {\r\n \"periodType\" : \"1\",\r\n \"value\" : \"Annual\"\r\n },\r\n {\r\n \"periodType\" : \"3\",\r\n \"value\" : \"January 1 - March 31\"\r\n },\r\n {\r\n \"periodType\" : \"3\",\r\n \"value\" : \"April 1 - June 30\"\r\n },\r\n {\r\n \"periodType\" : \"3\",\r\n \"value\" : \"July 1 - September 30\"\r\n },\r\n {\r\n \"periodType\" : \"3\",\r\n \"value\" : \"October 1 - December 31\"\r\n }\r\n];\r\n\r\n\r\nvar values = [];\r\nfor (i = 0; i < periodList.length; i++) {\r\n if (periodList[i].periodType == data.RETURN_COVERS_TYPE) {\r\n values.push({\r\n \"label\": periodList[i].value\r\n });\r\n }\r\n}"},"valueProperty":"label","refreshOn":"RETURN_COVERS_TYPE","clearOnRefresh":true,"validate":{"required":true,"custom":"var year = (!_.isEmpty(data.PERIOD_YEAR)) ? parseInt(data.PERIOD_YEAR, 10) : 0;\nleap = ((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0);\nvar today = new Date();\n\nif (!_.isEmpty(data.ENDING) && data.PERIOD_YEAR === today.getFullYear().toString() && new Date(data.ENDING) > new Date()) {\n valid = \"The period cannot end with a future date\";\n} else if (input === \"February 16 - 28\" && leap === true) {\n valid = \"The period selected does not include February 29 in a leap year\";\n} else if (input === \"February 16 - 29\" && leap === false) {\n valid = \"The period selected includes February 29 in a non-leap year\";\n} else {\n valid = true;\n}"},"key":"PeriodList","customConditional":"show = data.RETURN_COVERS_TYPE != \"2\";","logic":[{"name":"Set Value","trigger":{"type":"event","event":"change"},"actions":[{"name":"Set Value","type":"value","value":"if (result[0].changed && (result[0].changed.instance.key === \"SERIAL_NUMBER\" || result[0].changed.instance.key === \"RETURN_COVERS_TYPE\")) {\n var p = data.SERIAL_NUMBER.substr(5); //set value for period\n var listValue = \"\";\n \n if (data.RETURN_COVERS_TYPE == 1) {\n switch (p) {\n case \"1\" :\n listValue = \"January 1 - 15\";\n break;\n \n case \"2\" :\n listValue = \"January 16 - 31\";\n break;\n \n case \"3\" :\n listValue = \"February 1 - 15\";\n break;\n \n case \"4\" :\n if ((parseInt(data.PERIOD_YEAR) % 4) > 0) {\n listValue = \"February 16 - 28\";\n } else {\n listValue = \"February 16 - 29\";\n }\n break;\n \n case \"5\" :\n listValue = \"March 1 - 15\";\n break;\n \n case \"6\" :\n listValue = \"March 16 - 31\";\n break;\n \n case \"7\" :\n listValue = \"April 1 - 15\";\n break;\n \n case \"8\" :\n listValue = \"April 16 - 30\";\n break;\n \n case \"9\" :\n listValue = \"May 1 - 15\";\n break;\n \n case \"10\" :\n listValue = \"May 16 - 31\";\n break;\n \n case \"11\" :\n listValue = \"June 1 - 15\";\n break;\n \n case \"12\" :\n listValue = \"June 16 - 30\";\n break;\n \n case \"13\" :\n listValue = \"July 1 - 15\";\n break;\n \n case \"14\" :\n listValue = \"July 16 - 31\";\n break;\n \n case \"15\" :\n listValue = \"August 1 - 15\";\n break;\n \n case \"16\" :\n listValue = \"August 16 - 31\";\n break;\n \n case \"17\" :\n listValue = \"September 1 - 15\";\n break;\n \n case \"18\" :\n listValue = \"September 16 - 25\";\n break;\n \n case \"19\" :\n listValue = \"September 26 - 30\";\n break;\n \n case \"20\" :\n listValue = \"October 1 - 15\";\n break;\n \n case \"21\" :\n listValue = \"October 16 - 31\";\n break;\n \n case \"22\" :\n listValue = \"November 1 - 15\";\n break;\n \n case \"23\" :\n listValue = \"November 16 - 30\";\n break;\n \n case \"24\" :\n listValue = \"December 1 - 15\";\n break;\n \n case \"25\" :\n listValue = \"December 16 - 31\";\n break;\n \n default :\n listValue = \"\";\n break;\n }\n } else if (data.RETURN_COVERS_TYPE == 3) {\n switch (p) {\n case \"1\" :\n listValue = \"January 1 - March 31\";\n break;\n \n case \"2\" :\n listValue = \"April 1 - June 30\";\n break;\n \n case \"3\" :\n listValue = \"July 1 - September 30\";\n break;\n \n case \"4\" :\n listValue = \"October 1 - December 31\";\n break;\n \n default :\n listValue = \"\";\n break;\n }\n }\n \n value = listValue;\n \n}"}]}],"type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"columns7","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Beginning","applyMaskOn":"change","disabled":true,"tableView":true,"calculateValue":"var beginning = \"\";\r\nvar ending = \"\";\r\n\r\nswitch (data.PeriodList) {\r\n\tcase \"January 1 - 15\" :\r\n\t\tbeginning = \"01/01/\";\r\n\t\tending = \"01/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"January 16 - 31\" :\r\n\t\tbeginning = \"01/16/\";\r\n\t\tending = \"01/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 1 - 15\" :\r\n\t\tbeginning = \"02/01/\";\r\n\t\tending = \"02/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 16 - 28\" :\r\n\t\tbeginning = \"02/16/\";\r\n\t\tending = \"02/28/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 16 - 29\" :\r\n\t\tbeginning = \"02/16/\";\r\n\t\tending = \"02/29/\";\r\n\t\tbreak;\r\n\r\n\tcase \"March 1 - 15\" :\r\n\t\tbeginning = \"03/01/\";\r\n\t\tending = \"03/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"March 16 - 31\" :\r\n\t\tbeginning = \"03/16/\";\r\n\t\tending = \"03/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 1 - 15\" :\r\n\t\tbeginning = \"04/01/\";\r\n\t\tending = \"04/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 16 - 30\" :\r\n\t\tbeginning = \"04/16/\";\r\n\t\tending = \"04/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"May 1 - 15\" :\r\n\t\tbeginning = \"05/01/\";\r\n\t\tending = \"05/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"May 16 - 31\" :\r\n\t\tbeginning = \"05/16/\";\r\n\t\tending = \"05/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"June 1 - 15\" :\r\n\t\tbeginning = \"06/01/\";\r\n\t\tending = \"06/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"June 16 - 30\" :\r\n\t\tbeginning = \"06/16/\";\r\n\t\tending = \"06/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 1 - 15\" :\r\n\t\tbeginning = \"07/01/\";\r\n\t\tending = \"07/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 16 - 31\" :\r\n\t\tbeginning = \"07/16/\";\r\n\t\tending = \"07/31/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"August 1 - 15\" :\r\n\t\tbeginning = \"08/01/\";\r\n\t\tending = \"08/15/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"August 16 - 31\" :\r\n\t\tbeginning = \"08/16/\";\r\n\t\tending = \"08/31/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"September 1 - 15\" :\r\n\t\tbeginning = \"09/01/\";\r\n\t\tending = \"09/15/\";\r\n\t\tbreak;\r\n\t\r\n\tcase \"September 1 - 16\" :\r\n\t\tbeginning = \"09/01/\";\r\n\t\tending = \"09/16/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 16 - 25\" :\r\n\t\tbeginning = \"09/16/\";\r\n\t\tending = \"09/25/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 16 - 26\" :\r\n\t\tbeginning = \"09/16/\";\r\n\t\tending = \"09/26/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 26 - 30\" :\r\n\t\tbeginning = \"09/26/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 27 - 30\" :\r\n\t\tbeginning = \"09/27/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"October 1 - 15\" :\r\n\t\tbeginning = \"10/01/\";\r\n\t\tending = \"10/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"October 16 - 31\" :\r\n\t\tbeginning = \"10/16/\";\r\n\t\tending = \"10/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"November 1 - 15\" :\r\n\t\tbeginning = \"11/01/\";\r\n\t\tending = \"11/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"November 16 - 30\" :\r\n\t\tbeginning = \"11/16/\";\r\n\t\tending = \"11/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"December 1 - 15\" :\r\n\t\tbeginning = \"12/01/\";\r\n\t\tending = \"12/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"December 16 - 31\" :\r\n\t\tbeginning = \"12/16/\";\r\n\t\tending = \"12/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"January 1 - March 31\" :\r\n\t\tbeginning = \"01/01/\";\r\n\t\tending = \"03/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 1 - June 30\" :\r\n\t\tbeginning = \"04/01/\";\r\n\t\tending = \"06/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 1 - September 30\" :\r\n\t\tbeginning = \"07/01/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\t\t\r\n\tcase \"October 1 - December 31\" :\r\n\t\tbeginning = \"10/01/\";\r\n\t\tending = \"12/31/\";\r\n\t\tbreak;\r\n\t\t\r\n\tcase \"Annual\" :\r\n\t beginning = \"01/01/\";\r\n\t ending = \"12/31/\";\r\n}\r\n\r\nvar year = data.PERIOD_YEAR;\r\nvalue = (year !== \"\" && data.PeriodList !== \"\") ? beginning + year : \"\";","calculateServer":true,"key":"BEGINNING","customConditional":"show = data.RETURN_COVERS_TYPE != \"2\";","overlay":{"page":"1","left":"545","top":"195","width":"165","height":"20"},"type":"textfield","input":true}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Ending","applyMaskOn":"change","disabled":true,"tableView":true,"calculateValue":"var beginning = \"\";\r\nvar ending = \"\";\r\n\r\nswitch (data.PeriodList) {\r\n\tcase \"January 1 - 15\" :\r\n\t\tbeginning = \"01/01/\";\r\n\t\tending = \"01/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"January 16 - 31\" :\r\n\t\tbeginning = \"01/16/\";\r\n\t\tending = \"01/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 1 - 15\" :\r\n\t\tbeginning = \"02/01/\";\r\n\t\tending = \"02/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 16 - 28\" :\r\n\t\tbeginning = \"02/16/\";\r\n\t\tending = \"02/28/\";\r\n\t\tbreak;\r\n\r\n\tcase \"February 16 - 29\" :\r\n\t\tbeginning = \"02/16/\";\r\n\t\tending = \"02/29/\";\r\n\t\tbreak;\r\n\r\n\tcase \"March 1 - 15\" :\r\n\t\tbeginning = \"03/01/\";\r\n\t\tending = \"03/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"March 16 - 31\" :\r\n\t\tbeginning = \"03/16/\";\r\n\t\tending = \"03/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 1 - 15\" :\r\n\t\tbeginning = \"04/01/\";\r\n\t\tending = \"04/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 16 - 30\" :\r\n\t\tbeginning = \"04/16/\";\r\n\t\tending = \"04/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"May 1 - 15\" :\r\n\t\tbeginning = \"05/01/\";\r\n\t\tending = \"05/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"May 16 - 31\" :\r\n\t\tbeginning = \"05/16/\";\r\n\t\tending = \"05/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"June 1 - 15\" :\r\n\t\tbeginning = \"06/01/\";\r\n\t\tending = \"06/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"June 16 - 30\" :\r\n\t\tbeginning = \"06/16/\";\r\n\t\tending = \"06/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 1 - 15\" :\r\n\t\tbeginning = \"07/01/\";\r\n\t\tending = \"07/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 16 - 31\" :\r\n\t\tbeginning = \"07/16/\";\r\n\t\tending = \"07/31/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"August 1 - 15\" :\r\n\t\tbeginning = \"08/01/\";\r\n\t\tending = \"08/15/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"August 16 - 31\" :\r\n\t\tbeginning = \"08/16/\";\r\n\t\tending = \"08/31/\";\r\n\t\tbreak;\r\n\r\n\r\n\tcase \"September 1 - 15\" :\r\n\t\tbeginning = \"09/01/\";\r\n\t\tending = \"09/15/\";\r\n\t\tbreak;\r\n\t\r\n\tcase \"September 1 - 16\" :\r\n\t\tbeginning = \"09/01/\";\r\n\t\tending = \"09/16/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 16 - 25\" :\r\n\t\tbeginning = \"09/16/\";\r\n\t\tending = \"09/25/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 16 - 26\" :\r\n\t\tbeginning = \"09/16/\";\r\n\t\tending = \"09/26/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 26 - 30\" :\r\n\t\tbeginning = \"09/26/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"September 27 - 30\" :\r\n\t\tbeginning = \"09/27/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"October 1 - 15\" :\r\n\t\tbeginning = \"10/01/\";\r\n\t\tending = \"10/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"October 16 - 31\" :\r\n\t\tbeginning = \"10/16/\";\r\n\t\tending = \"10/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"November 1 - 15\" :\r\n\t\tbeginning = \"11/01/\";\r\n\t\tending = \"11/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"November 16 - 30\" :\r\n\t\tbeginning = \"11/16/\";\r\n\t\tending = \"11/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"December 1 - 15\" :\r\n\t\tbeginning = \"12/01/\";\r\n\t\tending = \"12/15/\";\r\n\t\tbreak;\r\n\r\n\tcase \"December 16 - 31\" :\r\n\t\tbeginning = \"12/16/\";\r\n\t\tending = \"12/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"January 1 - March 31\" :\r\n\t\tbeginning = \"01/01/\";\r\n\t\tending = \"03/31/\";\r\n\t\tbreak;\r\n\r\n\tcase \"April 1 - June 30\" :\r\n\t\tbeginning = \"04/01/\";\r\n\t\tending = \"06/30/\";\r\n\t\tbreak;\r\n\r\n\tcase \"July 1 - September 30\" :\r\n\t\tbeginning = \"07/01/\";\r\n\t\tending = \"09/30/\";\r\n\t\tbreak;\r\n\t\t\r\n\tcase \"October 1 - December 31\" :\r\n\t\tbeginning = \"10/01/\";\r\n\t\tending = \"12/31/\";\r\n\t\tbreak;\r\n\t\t\r\n\tcase \"Annual\" :\r\n\t beginning = \"01/01/\";\r\n\t ending = \"12/31/\";\r\n}\r\n\r\nvar year = data.PERIOD_YEAR;\r\nvalue = (year !== \"\" && data.PeriodList !== \"\") ? ending + year : \"\";","calculateServer":true,"key":"ENDING","customConditional":"show = data.RETURN_COVERS_TYPE != \"2\";","overlay":{"page":"1","left":"545","top":"227","width":"165","height":20},"type":"textfield","input":true}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"key":"columns8","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Date Products to be Removed","placeholder":"MM/DD/YYYY","widget":{"type":"calendar","altInput":true,"allowInput":true,"clickOpens":true,"enableDate":true,"enableTime":false,"mode":"single","noCalendar":false,"format":"MM/dd/yyyy","dateFormat":"MM/dd/yyyy","useLocaleSettings":false,"hourIncrement":1,"minuteIncrement":5,"time_24hr":false,"saveAs":"text","locale":"en"},"tableView":true,"validate":{"required":true,"custom":"var today = new Date();\nvalid = (new Date(input) < today) ? true : \"The product removed date cannot be a future date.\\n\\n Please correct before continuing.\";"},"key":"PROD_REMOVED","customConditional":"show = (data.RETURN_COVERS_TYPE == \"2\" && data.SERIAL_NUMBER.substr(0,1) === \"P\");","overlay":{"page":1,"left":556,"top":262,"width":"140","height":"20"},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns23","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Next","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"next","type":"button","custom":"instance.root.nextPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"wizardNavButtons","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true,"hideOnChildrenHidden":false},{"legend":"Hidden PDF","tableView":false,"key":"fieldSet","customConditional":"show = instance.options.pdf;","type":"fieldset","label":"Hidden PDF","input":false,"components":[{"label":"Columns","columns":[{"components":[{"label":"pdfEFT","tableView":false,"defaultValue":false,"clearOnHide":false,"calculateValue":"value = data.Pay === \"EFT\";","calculateServer":true,"key":"pdfEFT","overlay":{"page":1,"left":346,"top":166,"width":20,"height":20},"type":"checkbox","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"pdfOther","tableView":false,"defaultValue":false,"clearOnHide":false,"calculateValue":"value = data.Pay === \"Other\";","calculateServer":true,"key":"pdfOTHER","overlay":{"page":1,"left":430,"top":164,"width":20,"height":20},"type":"checkbox","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"pdfAddress","autoExpand":false,"tableView":true,"clearOnHide":false,"calculateValue":"var business = (data.partyCompanyName !== \"\" && data.partyCompanyName !== null && data.partyCompanyName !== undefined) ? data.partyCompanyName + \"\\n\" : \"\";\nvar dba = (data.DBA !== \"\" && data.DBA !== null && data.DBA !== undefined) ? data.DBA + \"\\n\" : \"\";\nvar str = business + dba + data.partyAddress1 + \"\\n\" + data.partyCity + \", \" + data.partyState + \" \" + data.partyZipcode;\n\nvalue = str;","calculateServer":true,"key":"NAME_ADDRESS","fixedSize":false,"overlay":{"page":1,"left":85,"top":383,"width":600.26,"height":81.4931},"type":"textarea","rows":1,"input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Prepayment","tableView":false,"defaultValue":false,"clearOnHide":false,"calculateValue":"value = data.RETURN_COVERS_TYPE == 2;","calculateServer":true,"key":"Prepayment","overlay":{"page":1,"left":64,"top":224,"width":20,"height":20},"type":"checkbox","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Period","tableView":false,"defaultValue":false,"clearOnHide":false,"calculateValue":"value = (data.RETURN_COVERS_TYPE == 1 || data.RETURN_COVERS_TYPE == 3);","calculateServer":true,"key":"Period","overlay":{"page":1,"left":239,"top":227,"width":20,"height":20},"type":"checkbox","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"columns4","type":"columns","input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"pdfAmend","tableView":true,"clearOnHide":false,"calculateValue":"if (data.SERIAL_FINAL) {\r\n\tif (data.Amend === \"Amended Return\") {\r\n\t\tvalue = \"Amended Final\";\r\n\t} else {\r\n\t\tvalue = \"Final\";\r\n\t}\r\n} else if (data.Amend === \"Amended Return\") {\r\n\tvalue = \"Amended\";\r\n} else {\r\n value = \"\";\r\n}","calculateServer":true,"key":"pdfAmend","overlay":{"page":1,"left":901,"top":75,"width":"150","height":"20"},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"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},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"columns26","type":"columns","input":false,"hideOnChildrenHidden":false}]}]},{"title":"Schedule A - Adjustments Increasing Amount Due","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"collapsible":false,"tableView":false,"key":"scheduleAAdjustmentsIncreasingAmountDue","type":"panel","label":"Schedule A - Adjustments Increasing Amount Due","input":false,"components":[{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"Schedule A - Explanation of individual errors or transactions increasing amount due.\n
","refreshOnChange":false,"tableView":false,"key":"html10","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"25. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":125},"key":"ERROR25","overlay":{"page":1,"left":60,"top":987,"width":565,"height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR25_TAX","logic":[{"name":"Lock Field","trigger":{"type":"javascript","javascript":"result = data.ERROR25 === \"\" || data.ERROR25 === null || data.ERROR25 === undefined;"},"actions":[{"name":"Clear Value","type":"value","value":"instance.resetValue();"},{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true}]}],"overlay":{"page":1,"left":635,"top":"987","width":"125","height":"20"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"inputType":"text"}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR25_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR25 === \"\" || data.ERROR25 === null || data.ERROR25 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","property":{},"value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"780","top":"987","width":"125","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"Penalty","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR25_PENALTY","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR25 === \"\" || data.ERROR25 === null || data.ERROR25 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"920","top":"987","width":"125","height":20},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"tableView":false,"key":"columns9","type":"columns","input":false},{"label":"Columns","columns":[{"components":[{"label":"26. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":125},"key":"ERROR26","overlay":{"page":1,"left":60,"top":1010,"width":565,"height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR26_TAX","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR26 === \"\" || data.ERROR26 === null || data.ERROR26 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":635,"top":1010,"width":125,"height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR26_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR26 === \"\" || data.ERROR26 === null || data.ERROR26 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":780,"top":1010,"width":125,"height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"Penalty","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR26_PENALTY","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR26 === \"\" || data.ERROR26 === null || data.ERROR26 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"920","top":"1010","width":"125","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"tableView":false,"key":"columns10","type":"columns","input":false},{"label":"Columns","columns":[{"components":[{"label":"27. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":125},"key":"ERROR27","overlay":{"page":1,"left":60,"top":1032,"width":565,"height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR27_TAX","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR27 === \"\" || data.ERROR27 === null || data.ERROR27 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"635","top":"1032","width":"125","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR27_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR27 === \"\" || data.ERROR27 === null || data.ERROR27 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"780","top":"1032","width":"125","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"Penalty","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR27_PENALTY","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR27 === \"\" || data.ERROR27 === null || data.ERROR27 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"920","top":"1032","width":"125","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"tableView":false,"key":"columns11","type":"columns","input":false},{"label":"Columns","columns":[{"components":[],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Total Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = (data.ERROR25_TAX !== \"\" && data.ERROR25_TAX !== null && data.ERROR25_TAX !== undefined) ? data.ERROR25_TAX : 0;\r\nvar amt2 = (data.ERROR26_TAX !== \"\" && data.ERROR26_TAX !== null && data.ERROR26_TAX !== undefined) ? data.ERROR26_TAX : 0;\r\nvar amt3 = (data.ERROR27_TAX !== \"\" && data.ERROR27_TAX !== null && data.ERROR27_TAX !== undefined) ? data.ERROR27_TAX : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SUBTOTAL28_TAX","overlay":{"page":"1","left":"635","top":"1054","width":"125","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Total Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = (data.ERROR25_INTEREST !== \"\" && data.ERROR25_INTEREST !== null && data.ERROR25_INTEREST !== undefined) ? data.ERROR25_INTEREST : 0;\r\nvar amt2 = (data.ERROR26_INTEREST !== \"\" && data.ERROR26_INTEREST !== null && data.ERROR26_INTEREST !== undefined) ? data.ERROR26_INTEREST : 0;\r\nvar amt3 = (data.ERROR27_INTEREST !== \"\" && data.ERROR27_INTEREST !== null && data.ERROR27_INTEREST !== undefined) ? data.ERROR27_INTEREST : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SUBTOTAL28_INTEREST","overlay":{"page":"1","left":"780","top":"1054","width":"125","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"Total Penalty","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = (data.ERROR25_PENALTY !== \"\" && data.ERROR25_PENALTY !== null && data.ERROR25_PENALTY !== undefined) ? data.ERROR25_PENALTY : 0;\r\nvar amt2 = (data.ERROR26_PENALTY !== \"\" && data.ERROR26_PENALTY !== null && data.ERROR26_PENALTY !== undefined) ? data.ERROR26_PENALTY : 0;\r\nvar amt3 = (data.ERROR27_PENALTY !== \"\" && data.ERROR27_PENALTY !== null && data.ERROR27_PENALTY !== undefined) ? data.ERROR27_PENALTY : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SUBTOTAL28_PENALTY","overlay":{"page":"1","left":"920","top":"1054","width":"125","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"tableView":false,"key":"columns12","type":"columns","input":false},{"label":"Columns","columns":[{"components":[],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"Total Adjustments Increasing","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.SUBTOTAL28_TAX) ? data.SUBTOTAL28_TAX : 0;\r\nvar amt2 = _.isNumber(data.SUBTOTAL28_INTEREST) ? data.SUBTOTAL28_INTEREST : 0;\r\nvar amt3 = _.isNumber(data.SUBTOTAL28_PENALTY) ? data.SUBTOTAL28_PENALTY : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SCHEDULEA_TOTAL","overlay":{"page":"1","left":"920","top":"1076","width":"125","height":"20"},"type":"number","input":true,"decimalLimit":2,"hideOnChildrenHidden":false}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"tableView":false,"key":"columns13","type":"columns","input":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Previous","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"previous","type":"button","custom":"instance.root.prevPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Next","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"next1","type":"button","custom":"instance.root.nextPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"wizardNavButtons1","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true}]},{"title":"Schedule B - Adjustments Decreasing Amount Due","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"collapsible":false,"tableView":false,"key":"scheduleBAdjustmentsDecreasingAmountDue","type":"panel","label":"Panel","input":false,"components":[{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"Schedule B - Explanation of individual errors or transactions decreasing amount due.\n
","refreshOnChange":false,"tableView":false,"key":"html11","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"30. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":160},"key":"ERROR30","overlay":{"page":1,"left":60,"top":1163,"height":"20","width":"670"},"type":"textfield","input":true,"hideOnChildrenHidden":false,"width":12}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR30_TAX","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR30 === \"\" || data.ERROR30 === null || data.ERROR30 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"745","top":"1163","width":"145","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":12,"decimalLimit":2}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR30_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR30 === \"\" || data.ERROR30 === null || data.ERROR30 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"907","top":"1163","width":"145","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":12,"decimalLimit":2}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4}],"key":"columns14","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"31. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":160},"key":"ERROR31","overlay":{"page":1,"left":60,"top":1186,"height":20,"width":"670"},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR31_TAX","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR31 === \"\" || data.ERROR31 === null || data.ERROR31 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"745","top":"1186","width":"145","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR31_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR31 === \"\" || data.ERROR31 === null || data.ERROR31 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"907","top":"1186","width":"145","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4}],"key":"columns15","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"32. Explanation","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":160},"key":"ERROR32","overlay":{"page":1,"left":60,"top":1208,"height":20,"width":670},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR32_TAX","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR32 === \"\" || data.ERROR32 === null || data.ERROR32 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"745","top":"1208","width":"145","height":20},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ERROR32_INTEREST","logic":[{"name":"Lock","trigger":{"type":"javascript","javascript":"result = data.ERROR32 === \"\" || data.ERROR32 === null || data.ERROR32 === undefined;"},"actions":[{"name":"Disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"Clear Value","type":"value","value":"instance.resetValue();"}]}],"overlay":{"page":1,"left":"907","top":"1208","width":"145","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"decimalLimit":2}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4}],"key":"columns16","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Total Tax","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.ERROR30_TAX) ? data.ERROR30_TAX : 0;\r\nvar amt2 = _.isNumber(data.ERROR31_TAX) ? data.ERROR31_TAX : 0;\r\nvar amt3 = _.isNumber(data.ERROR32_TAX) ? data.ERROR32_TAX : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SUBTOTAL33_TAX","overlay":{"page":"1","left":"745","top":"1230","width":"145","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Total Interest","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.ERROR30_INTEREST) ? data.ERROR30_INTEREST : 0;\r\nvar amt2 = _.isNumber(data.ERROR31_INTEREST) ? data.ERROR31_INTEREST : 0;\r\nvar amt3 = _.isNumber(data.ERROR32_INTEREST) ? data.ERROR32_INTEREST : 0;\r\nvar amount = amt1 + amt2 + amt3;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SUBTOTAL33_INTEREST","overlay":{"page":"1","left":"907","top":"1230","width":"145","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4}],"key":"columns17","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4},{"components":[{"label":"Total Adjustments Decreasing Amount Due","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.SUBTOTAL33_TAX) ? data.SUBTOTAL33_TAX : 0;\r\nvar amt2 = _.isNumber(data.SUBTOTAL33_INTEREST) ? data.SUBTOTAL33_INTEREST : 0;\r\nvar amount = amt1 + amt2;\r\n\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"SCHEDULEB_TOTAL","overlay":{"page":"1","left":"907","top":"1253","width":"145","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4}],"key":"columns18","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Previous","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"previous1","type":"button","custom":"instance.root.prevPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Next","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"next2","type":"button","custom":"instance.root.nextPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"wizardNavButtons2","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true,"hideOnChildrenHidden":false}]},{"title":"Calculation of Tax Due","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"scrollToTop":false,"collapsible":false,"key":"calculationOfTaxDue","type":"panel","label":"Panel","tableView":false,"input":false,"components":[{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"Calculation of Tax Due\n
","refreshOnChange":false,"tableView":false,"key":"html12","type":"htmlelement","input":false},{"label":"Columns","columns":[{"components":[{"label":"Distilled Spirits","mask":false,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"DISTILLED_SPIRITS","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"DS\" || data.PERMIT_NUMBER.substr(0,4) === \"PR-S\";","overlay":{"page":1,"left":650,"top":546,"width":"365","height":"20"},"type":"number","decimalLimit":2,"spellcheck":true,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Wine","mask":false,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"WINE","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"BW\" || data.PERMIT_NUMBER.substr(0,4) === \"PR-W\";","overlay":{"page":1,"left":650,"top":568,"width":"365","height":20},"type":"number","decimalLimit":2,"spellcheck":true,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Beer","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"BEER","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"BR\";","overlay":{"page":1,"left":650,"top":590,"width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":2,"decimalLimit":2},{"label":"Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CIGARS","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"TP\" || data.PERMIT_NUMBER.substr(0,2) === \"EW\";","overlay":{"page":1,"left":650,"top":612,"width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0,"decimalLimit":2},{"label":"Cigarettes","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CIGARETTES","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"TP\" || data.PERMIT_NUMBER.substr(0,2) === \"EW\";","overlay":{"page":1,"left":650,"top":635,"width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0,"decimalLimit":2},{"label":"Cigarette Papers and/or Cigarette Tubes","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CIGARETTE_PAPERS","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"TP\" || data.PERMIT_NUMBER.substr(0,2) === \"PT\" || data.PERMIT_NUMBER.substr(0,2) === \"EW\";","overlay":{"page":1,"left":650,"top":658,"width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0,"decimalLimit":2},{"label":"Chewing Tobacco and/or Snuff","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CHEWING_TOBACCO","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"TP\" || data.PERMIT_NUMBER.substr(0,2) === \"EW\";","overlay":{"page":1,"left":"650","top":"680","width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0,"decimalLimit":2},{"label":"Pipe Tobacco and/or Roll-Your-Own Tobacco","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"required":true,"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"PIPE_TOBACCO","customConditional":"show = data.PERMIT_NUMBER.substr(0,2) === \"TP\" || data.PERMIT_NUMBER.substr(0,2) === \"EW\";","overlay":{"page":1,"left":"650","top":"702","width":"365","height":20},"type":"number","currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0,"decimalLimit":2},{"label":"Total Tax Liability","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.DISTILLED_SPIRITS) ? data.DISTILLED_SPIRITS : 0;\r\nvar amt2 = _.isNumber(data.WINE) ? data.WINE : 0;\r\nvar amt3 = _.isNumber(data.BEER) ? data.BEER : 0;\r\nvar amt4 = _.isNumber(data.CIGARS) ? data.CIGARS : 0;\r\nvar amt5 = _.isNumber(data.CIGARETTES) ? data.CIGARETTES : 0;\r\nvar amt6 = _.isNumber(data.CIGARETTE_PAPERS) ? data.CIGARETTE_PAPERS : 0;\r\nvar amt7 = _.isNumber(data.CHEWING_TOBACCO) ? data.CHEWING_TOBACCO : 0;\r\nvar amt8 = _.isNumber(data.PIPE_TOBACCO) ? data.PIPE_TOBACCO : 0;\r\n\r\nvar amount = amt1 + amt2 + amt3 + amt4 + amt5 + amt6 + amt7 + amt8;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"TOTAL_TAX","overlay":{"page":"1","left":"650","top":"724","width":"365","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false,"width":2},{"label":"Adjustments Increasing Amount Due","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"value = data.SCHEDULEA_TOTAL;","calculateServer":true,"key":"ADJUSTMENTS_INCREASING","overlay":{"page":"1","left":"650","top":"747","width":"365","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false,"width":2},{"label":"Gross Amount Due","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.TOTAL_TAX) ? data.TOTAL_TAX : 0;\r\nvar amt2 = _.isNumber(data.ADJUSTMENTS_INCREASING) ? data.ADJUSTMENTS_INCREASING : 0;\r\nvar amount = amt1 + amt2;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"key":"GROSS","overlay":{"page":"1","left":"650","top":"770","width":"365","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false,"width":2},{"label":"Adjustments Decreasing Amount Due","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"value = data.SCHEDULEB_TOTAL;","calculateServer":true,"key":"ADJUSTMENTS_DECREASING","overlay":{"page":"1","left":"650","top":"792","width":"365","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false,"width":2},{"label":"Amount to be Paid With This Return","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var amt1 = _.isNumber(data.GROSS) ? data.GROSS : 0;\r\nvar amt2 = _.isNumber(data.ADJUSTMENTS_DECREASING) ? data.ADJUSTMENTS_DECREASING : 0;\r\nvar amount = amt1 - amt2;\r\n\r\nvalue = parseFloat(amount.toFixed(2));","calculateServer":true,"validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"The Gross Amount Due must be greater than or equal to Adjustments Decreasing. Please correct before continuing.\";"},"key":"TOTAL_PAY","overlay":{"page":"1","left":"650","top":"814","width":"365","height":"20"},"type":"number","decimalLimit":2,"input":true,"hideOnChildrenHidden":false,"width":4}],"offset":0,"push":0,"pull":0,"size":"sm","width":6,"currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"autoAdjust":true,"key":"columns19","type":"columns","tableView":false,"input":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Previous","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"previous2","type":"button","custom":"instance.root.prevPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Next","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"next3","type":"button","custom":"instance.root.nextPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"wizardNavButtons3","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true}]},{"title":"Cover Over","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"collapsible":false,"key":"page6","type":"panel","label":"Page 6","input":false,"tableView":false,"hideOnChildrenHidden":false,"components":[{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"Cover Over\n
","refreshOnChange":false,"key":"html17","type":"htmlelement","tableView":false,"input":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"36. Eligibility for Cover Over","refreshOnChange":false,"key":"html13","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"a. Distilled Spirits
 ","refreshOnChange":false,"key":"html18","type":"htmlelement","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Distilled Spirits - Proof Gallons (92% Rum)","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"PROOF_GALLONS_1","overlay":{"page":2,"left":396,"top":126,"width":"95","height":"18"},"type":"number","decimalLimit":1,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Distilled Spirits - Proof Gallons (Other)","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"PROOF_GALLONS_2","overlay":{"page":"2","left":"735","top":"128","width":"100","height":"18"},"type":"number","decimalLimit":1,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns28","type":"columns","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"
b. Wine, Beer, Tobacco Products or Cigarette Papers and Tubes
 ","refreshOnChange":false,"key":"html19","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Taxes Paid on Products Meeting 50% Value Added Requirement ","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"WINE_BEER_COLUMN1","overlay":{"page":"2","left":"420","top":"215","width":"300","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Other","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"WINE_BEER_COLUMN2","overlay":{"page":"2","left":"755","top":"215","width":"300","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns29","type":"columns","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"
37. Number of Large Cigars Upon Which Tax Was Computed, by Statistical Size
 ","refreshOnChange":false,"key":"html16","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Class A Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_A","overlay":{"page":"2","left":"40","top":"288","width":"185","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"ABCD_SUM","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var myFields = [data.CLASS_A, data.CLASS_B, data.CLASS_C, data.CLASS_D];\r\nvar total = 0;\r\n\r\nfor (var i = 0; i < myFields.length; i++) {\r\n\tif (_.isNumber(myFields[i])) {\r\n\t\ttotal += myFields[i];\r\n\t}\r\n}\r\n\r\nvalue = parseFloat(total.toFixed(1));","calculateServer":true,"validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"ABCD_SUM","customConditional":"show = instance.options.pdf;","overlay":{"page":"2","left":"877","top":"288","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns32","type":"columns","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Class B Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_B","overlay":{"page":"2","left":"255","top":"288","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"EFGH_SUM","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","calculateValue":"var myFields = [data.CLASS_E, data.CLASS_F, data.CLASS_G, data.CLASS_H];\r\nvar total = 0;\r\n\r\nfor (var i = 0; i < myFields.length; i++) {\r\n\tif (_.isNumber(myFields[i])) {\r\n\t\ttotal += myFields[i];\r\n\t}\r\n}\r\n\r\nvalue = parseFloat(total.toFixed(1));","calculateServer":true,"validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"EFGH_SUM","customConditional":"show = instance.options.pdf;","overlay":{"page":"2","left":"877","top":"339","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns33","type":"columns","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Class C Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_C","overlay":{"page":"2","left":"463","top":"288","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Class D Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_D","overlay":{"page":"2","left":"666","top":"288","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Class E Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_E","overlay":{"page":"2","left":"40","top":"339","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Class F Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_F","overlay":{"page":"2","left":"255","top":"339","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Class G Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_G","overlay":{"page":"2","left":"463","top":"339","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0},{"label":"Class H Cigars","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","validate":{"custom":"valid = _.isNil(input) || input >= 0 ? true : \"Please enter a non-negative number.\";"},"key":"CLASS_H","overlay":{"page":"2","left":"666","top":"339","width":"180","height":"18"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false,"width":0}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns30","type":"columns","input":false,"tableView":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Previous","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"previous4","type":"button","custom":"if (typeof keepAlive === \"function\") {\n keepAlive();\n}\ninstance.root.prevPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Next","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"next4","type":"button","custom":"if (typeof keepAlive === \"function\") {\n keepAlive();\n}\ninstance.root.nextPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"key":"columns31","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true}]},{"title":"Finalize Submission","breadcrumbClickable":true,"buttonSettings":{"previous":false,"cancel":false,"next":false},"collapsible":false,"tableView":false,"key":"finalizeSubmissi","type":"panel","label":"Panel","input":false,"components":[{"label":"HTML","tag":"h4","attrs":[{"attr":"","value":""}],"content":"Finalize Submission\n
","refreshOnChange":false,"key":"html14","type":"htmlelement","tableView":false,"input":false},{"label":"Columns","columns":[{"components":[{"label":"HTML","tag":"pre","attrs":[{"attr":"","value":""}],"content":"Total Tax Liability {{ \"$\" + data.TOTAL_TAX.toFixed(2).replace(/(\\d)(?=(\\d{3})+\\.)/g, \"$1,\").toString() }}\r\n\r\nGross Amount Due {{ \"$\" + data.GROSS.toFixed(2).replace(/(\\d)(?=(\\d{3})+\\.)/g, \"$1,\").toString() }}\r\n\r\nAmount Due With This Return: {{ \"$\" + data.TOTAL_PAY.toFixed(2).replace(/(\\d)(?=(\\d{3})+\\.)/g, \"$1,\").toString() }}\r\n","refreshOnChange":false,"tableView":false,"key":"html8","type":"htmlelement","input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"hr","attrs":[{"attr":"","value":""}],"refreshOnChange":false,"tableView":false,"key":"html9","type":"htmlelement","input":false,"hideOnChildrenHidden":false},{"label":"Actual Payment with this Return","mask":false,"spellcheck":true,"tableView":false,"delimiter":true,"requireDecimal":true,"inputFormat":"plain","clearOnHide":false,"customDefaultValue":"instance.root.on('change', function(event) {\r\n if (event && event.changed && event.changed.component && event.changed.component.key === 'Amend') {\r\n if (data.Amend === \"Amended Return\") {\r\n instance.setValue(0);\r\n }\r\n }\r\n});","allowCalculateOverride":true,"validate":{"required":true,"custom":"if (data.PaymentMethodMethodCode == \"ACH\") {\r\n if (input < parseFloat(data.minMax.minAmount)) {\r\n valid = \"Your payment is below the allowed amount. Please enter a higher dollar amount.\";\r\n } else if (input > parseFloat(data.minMax.maxAmount)) {\r\n valid = \"Your payment is above the maximum allowed amount. Please enter a lower dollar amount.\";\r\n } else {\r\n valid = true;\r\n }\r\n}"},"key":"RemittanceNetAmount1","overlay":{"page":"1","left":"765","top":"133","width":"260","height":"20"},"type":"number","decimalLimit":2,"currency":"USD","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"tableView":false,"key":"columns20","type":"columns","input":false},{"label":"Remarks","autoExpand":false,"tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateTextArea(input);","maxLength":770},"key":"REMARKS","overlay":{"page":2,"left":30,"top":464,"width":1021.25,"height":894.047},"type":"textarea","input":true},{"label":"Columns","columns":[{"components":[{"label":"Under penalty of perjury, I declare that I have examined this return (including any accompanying explanations, statements, schedules, and forms) and to the best of my knowledge and belief it is true, correct, and includes all transactions and tax liabilities required by law or regulations to be reported.","tableView":false,"defaultValue":false,"validate":{"required":true,"customMessage":"You must accept the Penalty of Perjury statement by clicking on the checkbox located by the statement"},"key":"PERJURY","type":"checkbox","input":true,"hideOnChildrenHidden":false}],"offset":0,"push":0,"pull":0,"size":"md","width":8,"currentWidth":8},{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"sm","currentWidth":4}],"tableView":false,"key":"columns24","type":"columns","input":false},{"label":"Columns","columns":[{"components":[{"label":"Signature","tableView":true,"calculateValue":"var middle = (data.partyMiddleName !== \"\" && data.partyMiddleName !== null && data.partyMiddleName !== undefined) ? data.partyMiddleName + \" \" : \"\";\nvar suffix = (data.partySuffix !== \"\" && data.partySuffix !== null && data.partySuffix !== undefined) ? \" \" + data.partySuffix : \"\";\nvalue = data.partyGivenName + \" \" + middle + data.partySurName + suffix + \" - pay.gov\";","calculateServer":true,"key":"SIGNATURE","overlay":{"page":1,"left":178,"top":898,"width":465,"height":20},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":8,"push":0,"pull":0,"size":"md","offset":0,"currentWidth":8},{"components":[{"label":"Date","tableView":true,"calculateValue":"value = moment().format(\"MM/DD/YYYY\");","calculateServer":true,"key":"DATE","overlay":{"page":1,"left":32,"top":898,"height":20,"width":136},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns21","type":"columns","input":false},{"label":"Columns","columns":[{"components":[{"label":"Title","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":30},"key":"JOB_TITLE","overlay":{"page":1,"left":665,"top":898,"height":20,"width":393},"type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":8,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":8},{"components":[],"width":4,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":4}],"tableView":false,"key":"columns22","type":"columns","input":false},{"label":"Wizard Nav Buttons","columns":[{"components":[{"label":"Previous","action":"custom","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"previous3","type":"button","custom":"instance.root.prevPage();","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Continue","action":"custom","showValidations":false,"block":true,"customClass":"usa-button","tableView":false,"key":"submit","customConditional":"show = !data.showReassignButton ? true : data.showSubmitButton;","type":"button","custom":"if (instance.root.checkValidity(null, true)) {\r\n\tif (data.RemittanceNetAmount1 === 0) {\r\n\t\tif (confirm(\"You are making a $0.00 payment with this submission. If you intended to submit a payment using Pay.gov you have forgotten to enter an amount in the field titled \\\"actual payment with this return.\\\" \\n\\n Click \\\"Cancel\\\" to review this page \\n\\n Otherwise, if you are paying by Fedwire, Remittance Express or are intending to make a $0.00 payment using Pay.gov---Click \\\"OK\\\" to continue.\")) {\r\n\t\t\tinstance.emit(\"submitButton\");\r\n\t\t} else {\r\n\t\t\talert(\"Please enter an amount in the Actual Payment With This Return field.\");\r\n\t\t}\r\n\t} else {\r\n\t instance.emit(\"submitButton\");\r\n\t}\r\n} else {\r\n instance.emit(\"submitButton\");\r\n}","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"tableView":false,"key":"wizardNavButtons4","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"partyGivenName","key":"partyGivenName","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"partyMiddleName","key":"partyMiddleName","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"partySurName","key":"partySurName","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"partySuffix","key":"partySuffix","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"partyLoginName","key":"partyLoginName","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"PERIOD_PERIOD","calculateValue":"value = data.RETURN_COVERS_TYPE == \"1\" ? data.PeriodList : \"\";","calculateServer":true,"key":"PERIOD_PERIOD","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"PERIOD_PERIOD_QUARTERLY","calculateValue":"value = \"\";","calculateServer":true,"key":"PERIOD_PERIOD_QUARTERLY","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"EFT","calculateValue":"value = data.Pay === \"EFT\" ? \"-1\" : \"0\";","calculateServer":true,"key":"EFT","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"PAGENO_","calculateValue":"value = \"\";","calculateServer":true,"key":"PAGENO_","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"PaygovCollection","calculateValue":"value = \"\";","calculateServer":true,"key":"PaygovCollection","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"TAX_LIABILITY","calculateValue":"value = data.TOTAL_TAX;","calculateServer":true,"key":"TAX_LIABILITY","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"OTHER","calculateValue":"value = data.Pay === \"EFT\" ? \"0\" : \"-1\";","calculateServer":true,"key":"OTHER","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"GROSS_DUE","calculateValue":"value = data.GROSS;","calculateServer":true,"key":"GROSS_DUE","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"AMOUNTDUE","calculateValue":"value = data.TOTAL_PAY;","calculateServer":true,"key":"AMOUNTDUE","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"ACTUAL","mask":false,"spellcheck":true,"tableView":false,"currency":"USD","inputFormat":"plain","calculateValue":"value = data.RemittanceNetAmount1;","calculateServer":true,"key":"ACTUAL","type":"hidden","input":true,"delimiter":true,"hideOnChildrenHidden":false,"validate":{"step":"any"}},{"label":"RemittanceNetAmount","calculateValue":"var payment = _.isNumber(data.RemittanceNetAmount1) ? data.RemittanceNetAmount1 : 0;\r\nvalue = data.PaymentMethodMethodCode.toUpperCase() === \"ACH\" ? payment : 0;","calculateServer":true,"key":"RemittanceNetAmount","type":"hidden","tableView":true,"input":true,"hideOnChildrenHidden":false,"keyModified":true,"mask":false,"inputType":"text","inputFormat":"plain","spellcheck":true}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"SERIAL_AMENDED","calculateValue":"value = data.Amend === \"Amended Return\" ? \"-1\" : \"0\";","calculateServer":true,"key":"SERIAL_AMENDED","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"SERIAL_ORIGINAL","calculateValue":"value = data.Amend === \"Original Return\" ? \"-1\" : \"0\";","calculateServer":true,"key":"SERIAL_ORIGINAL","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"partyPhone","key":"partyPhone","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"RETURN_COVERS","calculateValue":"value = data.RETURN_COVERS_TYPE == \"1\" ? \"1\" : \"0\";","calculateServer":true,"key":"RETURN_COVERS","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"RETURN_QUARTERLY","calculateValue":"value = data.RETURN_COVERS_TYPE == \"3\" ? \"1\" : \"0\";","calculateServer":true,"key":"RETURN_QUARTERLY","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false},{"label":"RETURN_COVERS_PREPAYMENT","calculateValue":"value = data.RETURN_COVERS_TYPE == \"2\" ? \"1\" : \"0\";","calculateServer":true,"key":"RETURN_COVERS_PREPAYMENT","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"columns25","type":"columns","input":false}]},{"label":"Standard Buttons","columns":[{"components":[{"label":"View PDF","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"viewPdf","attributes":{"class":"usa-button--outline"},"type":"button","event":"viewPdf","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Save","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"save","customConditional":"show = data.showSaveButton;","type":"button","event":"save","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Reassign","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"reassign","customConditional":"show = data.showReassignButton;","type":"button","event":"reassign","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"tableView":false,"key":"standardButtons","type":"columns","input":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true}],"revisions":"original","_vid":3,"_vnote":"(Source version:11, User:smartin, Build:12285465)","_vuser":"admin","title":"TTB_EXCISE_PR_V3","name":"ttbExcisePrV3","path":"ttbexciseprv3","display":"wizard","controller":"","properties":{"adobeMapper":"
\t \t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t \t \t\t \t\t \t\t \t\t \t\t \t\t \t \t \t\t \t\t \t\t \t \t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t \t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t "},"settings":{"pdf":{"src":"https://route.prod.app.pgfs.gw1.fahc.fiscal.treasury.gov/pdf/5f9ae327f1b65987a86350f2/file/13b4a7bc-42fe-5c35-95d5-4942c61e95b4","id":"13b4a7bc-42fe-5c35-95d5-4942c61e95b4"}},"access":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"read_all"},{"roles":["5f9ae327f1b65926a66350f3"],"type":"update_all"}],"submissionAccess":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"create_all"}],"project":"5f9ae327f1b65987a86350f2","created":"2022-01-12T13:06:33.745Z","modified":"2024-07-12T20:12:36.950Z","_rid":"61ded2591003f98acdbd17b0","config":{"PAYGOV_ENV":"https://www.pay.gov","STATIC_ASSETS_ENV":"https://www.pay.gov/public/static-assets/paygov","COMPANY_PROFILE":"public/api/v1/companyprofile","MIN_MAX_AMOUNT":"public/api/v1/minmaxamount","GET_COUNTRIES":"public/api/v1/getCountries","GET_STATES":"public/api/v1/getStates"},"module":"{options:{form:{evalContext:{pgFormioGlobal:function(){function o(a,e,t,o){if(a=a&&a.replace(e,\"\")){if(t)return t;t=(o||\"Input\")+\" contains invalid \";e=a.replace(/[\\x00-\\x20\\x7F]/g,\"\");return 1===e.length?t+=e+\" \":1e.length&&((o=a.replace(/[^ ]/g,\"\")).length?a.length===e.length+o.length?t+=e.length?\"and space \":\"space \":t+=\"space and non-printable \":t+=e.length?\"and non-printable \":\"non-printable \"),t+\"character\"+(1parseFloat(e.maxAmount))return\"Your payment is above the maximum allowed amount. Please enter a lower dollar amount.\"}return!0}}}}}}}"}