Skip to main content

Tax Information Request Edit - Balance Sheet

<script language="javascript">
function ConfigureBalanceSheet()
{
//The following functions are defined in Web Template "Tax Information Request Details - Configuration":
//CreateModal(targetParent, targetButton, modalID, modalTitleText, modalBodyText, modalButtonText)
//AddMessageBelowBooleanRadio(targetBooleanRadio, messageID, response0Text, response1Text)
//RevealElementsOnBooleanResponse1(targetBooleanRadio, elements)
//SetFieldRequired(fieldName, setRequired)
//SetRequiredBasedOnControlField(controlCheckbox, targetField)

var questionLabel = "empty";
var subQuestionLabel = "empty";
var subQuestionLabela = "empty";
var subQuestionLabelb = "empty";
var subQuestionLabelc = "empty";

//Fixed asset investments

questionLabel = $("#tt_fixedassetinvestments").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_fixedassetinvestments", true);
//Question text
$("div.tt_fixedassetinvestments").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetInvestments/Question'] }}`);
//Info modal
$("div.tt_fixedassetinvestments").append('<span style="float: right;"> <a href="#" id="tt_fixedassetinvestmentsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_fixedassetinvestments", "#tt_fixedassetinvestmentsInfo", "tt_fixedassetinvestmentsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetInvestments/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_fixedassetinvestments").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_fixedassetinvestments", "tt_fixedassetinvestmentsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetInvestments/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetInvestments/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_fixedassetinvestments", ["#tt_fixedassetinvestmentsnotes"]);
showDocumentsforSection("tt_fixedassetinvestments");
//Fixed asset additions

questionLabel = $("#tt_fixedassetadditions").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_fixedassetadditions", true);
//Question text
$("div.tt_fixedassetadditions").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetAdditions/Question'] }}`);
//Info modal
$("div.tt_fixedassetadditions").append('<span style="float: right;"> <a href="#" id="tt_fixedassetadditionsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_fixedassetadditions", "#tt_fixedassetadditionsInfo", "tt_fixedassetadditionsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetAdditions/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_fixedassetadditions").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_fixedassetadditions", "tt_fixedassetadditionsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetAdditions/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetAdditions/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_fixedassetadditions", ["div.tt_fixedassetadditionsdetails", "#tt_fixedassetadditionsnotes", "#subgridFixedAssetAdditions"]);
showDocumentsforSection("tt_fixedassetadditions");

//Fixed asset disposals

questionLabel = $("#tt_fixedassetdisposals").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_fixedassetdisposals", true);
//Question text
$("div.tt_fixedassetdisposals").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetDisposals/Question'] }}`);
//Info modal
$("div.tt_fixedassetdisposals").append('<span style="float: right;"> <a href="#" id="tt_fixedassetdisposalsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_fixedassetdisposals", "#tt_fixedassetdisposalsInfo", "tt_fixedassetdisposalsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetDisposals/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_fixedassetdisposals").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_fixedassetdisposals", "tt_fixedassetdisposalsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetDisposals/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/FixedAssetDisposals/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_fixedassetdisposals", ["div.tt_fixedassetdisposalsdetails", "#tt_fixedassetdisposalsnotes", "#subgridFixedAssetDisposals"]);
showDocumentsforSection("tt_fixedassetdisposals");

//Assets held under finance leases or hire purchase

questionLabel = $("#tt_assetsheldunderfinanceleasesorhirepurchase").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_assetsheldunderfinanceleasesorhirepurchase", true);
//Question text
$("div.tt_assetsheldunderfinanceleasesorhirepurchase").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/AssetsHeldUnderFinanceLeases/Question'] }}`);
//Info modal
$("div.tt_assetsheldunderfinanceleasesorhirepurchase").append('<span style="float: right;"> <a href="#" id="tt_assetsheldunderfinanceleasesorhirepurchaseInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_assetsheldunderfinanceleasesorhirepurchase", "#tt_assetsheldunderfinanceleasesorhirepurchaseInfo", "tt_assetsheldunderfinanceleasesorhirepurchaseInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/AssetsHeldUnderFinanceLeases/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_assetsheldunderfinanceleasesorhirepurchase").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_assetsheldunderfinanceleasesorhirepurchase", "tt_assetsheldunderfinanceleasesorhirepurchaseResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/AssetsHeldUnderFinanceLeases/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/AssetsHeldUnderFinanceLeases/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_assetsheldunderfinanceleasesorhirepurchase", ["#tt_assetsheldunderfinanceleasesnotes"]);
showDocumentsforSection("tt_assetsheldunderfinanceleasesorhirepurchase");

//Intangible fixed assets

questionLabel = $("#tt_intangiblefixedassets").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_intangiblefixedassets", true);
//Question text
$("div.tt_intangiblefixedassets").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/IntangibleFixedAssets/Question'] }}`);
//Info modal
$("div.tt_intangiblefixedassets").append('<span style="float: right;"> <a href="#" id="tt_intangiblefixedassetsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_intangiblefixedassets", "#tt_intangiblefixedassetsInfo", "tt_intangiblefixedassetsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/IntangibleFixedAssets/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_intangiblefixedassets").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_intangiblefixedassets", "tt_intangiblefixedassetsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/IntangibleFixedAssets/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/IntangibleFixedAssets/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_intangiblefixedassets", ["div.tt_intangiblefixedassetsdetails", "#tt_intangiblefixedassetsnotes"]);
showDocumentsforSection("tt_intangiblefixedassets");
//Details question text
$("div.tt_intangiblefixedassetsdetails").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/IntangibleFixedAssets/Details'] }}`);

//Provisions

//Question text
$("#tt_provisionsaccruedremuneration_label").closest("tbody").prepend('<tr><td><p id="tt_provisionsQuestion" style="padding-left:20px">' + `{{ snippets['PracticeGateway/TIR/BalanceSheet/Provisions/Question'] }}` + "</p><br></td></tr>");
questionLabel = $("#tt_provisionsaccruedremuneration_label").closest("fieldset").attr("aria-label");
//Space above Notes field
$("#tt_provisionsnotes_label").prepend('<br><br>');
//Conditional set mandatory
$("#tt_provisionsaccruedremuneration").on("click", function()
{
subQuestionLabel = $("#tt_accruedremuneration").closest("fieldset").attr("aria-label");
SetRequiredBasedOnControlField("tt_provisionsaccruedremuneration", "tt_accruedremuneration", subQuestionLabel, "tt_accruedremunerationstatus");
});
$("#tt_provisionspensions").on("click", function()
{
subQuestionLabel = $("#tt_pensions").closest("fieldset").attr("aria-label");
SetRequiredBasedOnControlField("tt_provisionspensions", "tt_pensions", subQuestionLabel, "tt_pensionsstatus");
});
$("#tt_provisionsroundsumprovisions").on("click", function()
{
subQuestionLabel = $("#tt_roundsumprovisions").closest("fieldset").attr("aria-label");
SetRequiredBasedOnControlField("tt_provisionsroundsumprovisions", "tt_roundsumprovisions", subQuestionLabel, "tt_roundsumprovisionsstatus");
});

//Accrued remuneration

questionLabel = $("#tt_accruedremuneration").closest("fieldset").attr("aria-label");
//Set required
SetRequiredBasedOnControlField("tt_provisionsaccruedremuneration", "tt_accruedremuneration", questionLabel, "tt_accruedremunerationstatus");
//Question text
$("div.tt_accruedremuneration").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/AccruedRemuneration/Question'] }}`);
//Info modal
$("div.tt_accruedremuneration").append('<span style="float: right;"> <a href="#" id="tt_accruedremunerationInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_accruedremuneration", "#tt_accruedremunerationInfo", "tt_accruedremunerationInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/AccruedRemuneration/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_accruedremuneration").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_accruedremuneration", "tt_accruedremunerationResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/AccruedRemuneration/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/AccruedRemuneration/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_accruedremuneration", ["#tt_accruedremunerationnotes", "#subgridAccruedRemuneration"]);

//Pensions

questionLabel = $("#tt_pensions").closest("fieldset").attr("aria-label");
//Set required
SetRequiredBasedOnControlField("tt_provisionspensions", "tt_pensions", questionLabel, "tt_pensionsstatus");
//Question text
$("div.tt_pensions").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/Pensions/Question'] }}`);
//Info modal
$("div.tt_pensions").append('<span style="float: right;"> <a href="#" id="tt_pensionsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_pensions", "#tt_pensionsInfo", "tt_pensionsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/Pensions/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_pensions").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_pensions", "tt_pensionsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/Pensions/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/Pensions/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_pensions", ["#tt_pensionsnotes", "#subgridPensions"]);

//Round sum provisions

questionLabel = $("#tt_roundsumprovisions").closest("fieldset").attr("aria-label");
//Set required
SetRequiredBasedOnControlField("tt_provisionsroundsumprovisions", "tt_roundsumprovisions", questionLabel, "tt_roundsumprovisionsstatus");
//Question text
$("div.tt_roundsumprovisions").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/RoundSumProvisions/Question'] }}`);
//Info modal
$("div.tt_roundsumprovisions").append('<span style="float: right;"> <a href="#" id="tt_roundsumprovisionsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_roundsumprovisions", "#tt_roundsumprovisionsInfo", "tt_roundsumprovisionsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/RoundSumProvisions/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_roundsumprovisions").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_roundsumprovisions", "tt_roundsumprovisionsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/RoundSumProvisions/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/RoundSumProvisions/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_roundsumprovisions", ["#tt_roundsumprovisionsnotes", "#subgridRoundSumProvisions"]);

//Close companies and loans to participators

questionLabel = $("#tt_closecompaniesandloanstoparticipators").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_closecompaniesandloanstoparticipators", true);
//Question text
$("div.tt_closecompaniesandloanstoparticipators").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoans/Question'] }}`);
//Info modal
$("div.tt_closecompaniesandloanstoparticipators").append('<span style="float: right;"> <a href="#" id="tt_closecompaniesandloanstoparticipatorsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_closecompaniesandloanstoparticipators", "#tt_closecompaniesandloanstoparticipatorsInfo", "tt_closecompaniesandloanstoparticipatorsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoans/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_closecompaniesandloanstoparticipators").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoans/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoans/Response1Message'] }}`);
//Conditional set mandatory
$("#tt_closecompaniesandloanstoparticipators_0").on("click", function()
{
subQuestionLabela = $("#tt_closecompaniesandloanstoparticipatorssuba").closest("fieldset").attr("aria-label");
subQuestionLabelc = $("#tt_closecompaniesandloanstoparticipatorssubc").closest("fieldset").attr("aria-label");
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssuba", subQuestionLabela, "tt_closecompaniesandloanssubastatus");
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssubc", subQuestionLabelc, "tt_closecompaniesandloanssubcstatus");
});
$("#tt_closecompaniesandloanstoparticipators_1").on("click", function()
{
subQuestionLabela = $("#tt_closecompaniesandloanstoparticipatorssuba").closest("fieldset").attr("aria-label");
subQuestionLabelc = $("#tt_closecompaniesandloanstoparticipatorssubc").closest("fieldset").attr("aria-label");
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssuba", subQuestionLabela, "tt_closecompaniesandloanssubastatus");
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssubc", subQuestionLabelc, "tt_closecompaniesandloanssubcstatus");
});

//Close companies and loans to participators - Sub A

questionLabel = $("#tt_closecompaniesandloanstoparticipatorssuba").closest("fieldset").attr("aria-label");
//Set required
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssuba", questionLabel, "tt_closecompaniesandloanssubastatus");
//Question text
$("div.tt_closecompaniesandloanstoparticipatorssuba").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubA/Question'] }}`);
//Info modal
$("div.tt_closecompaniesandloanstoparticipatorssuba").append('<span style="float: right;"> <a href="#" id="tt_closecompaniesandloanstoparticipatorssubaInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_closecompaniesandloanstoparticipatorssuba", "#tt_closecompaniesandloanstoparticipatorssubaInfo", "tt_closecompaniesandloanstoparticipatorssubaInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubA/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_closecompaniesandloanstoparticipatorssuba").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_closecompaniesandloanstoparticipatorssuba", "tt_closecompaniesandloanstoparticipatorssubaResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubA/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubA/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_closecompaniesandloanstoparticipatorssuba", ["#tt_closecompaniesandloanssubanotes", "#subgridCloseCompaniesAndLoansToParticipatorsSubA"]);
showDocumentsforSection("tt_closecompaniesandloanstoparticipatorssuba");

//Close companies and loans to participators - Sub C

questionLabel = $("#tt_closecompaniesandloanstoparticipatorssubc").closest("fieldset").attr("aria-label");
//Set required
SetRequiredBasedOnControlField("tt_closecompaniesandloanstoparticipators", "tt_closecompaniesandloanstoparticipatorssubc", questionLabel, "tt_closecompaniesandloanssubcstatus");
//Question text
$("div.tt_closecompaniesandloanstoparticipatorssubc").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubC/Question'] }}`);
//Info modal
$("div.tt_closecompaniesandloanstoparticipatorssubc").append('<span style="float: right;"> <a href="#" id="tt_closecompaniesandloanstoparticipatorssubcInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_closecompaniesandloanstoparticipatorssubc", "#tt_closecompaniesandloanstoparticipatorssubcInfo", "tt_closecompaniesandloanstoparticipatorssubcInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubC/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_closecompaniesandloanstoparticipatorssubc").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_closecompaniesandloanstoparticipatorssubc", "tt_closecompaniesandloanstoparticipatorssubcResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubC/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubC/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_closecompaniesandloanstoparticipatorssubc", ["#tt_closecompaniesandloanssubcnotes", "div.tt_closecompaniesandloanssubcdetails"]);
showDocumentsforSection("tt_closecompaniesandloanstoparticipatorssubc");
//Details question text
$("div.tt_closecompaniesandloanssubcdetails").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/CloseCompaniesAndLoansSubC/Details'] }}`);

//Tax accounts

questionLabel = $("#tt_taxaccounts").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_taxaccounts", true);
//Question text
$("div.tt_taxaccounts").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/TaxAccounts/Question'] }}`);
//Info modal
$("div.tt_taxaccounts").append('<span style="float: right;"> <a href="#" id="tt_taxaccountsInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_taxaccounts", "#tt_taxaccountsInfo", "tt_taxaccountsInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/TaxAccounts/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_taxaccounts").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_taxaccounts", "tt_taxaccountsResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/TaxAccounts/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/TaxAccounts/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_taxaccounts", ["#tt_taxaccountsnotes"]);
showDocumentsforSection("tt_taxaccounts");

//Other

questionLabel = $("#tt_other").closest("fieldset").attr("aria-label");
//Set required
SetFieldRequired("tt_other", true);
//Question text
$("div.tt_other").html(`{{ snippets['PracticeGateway/TIR/BalanceSheet/Other/Question'] }}`);
//Info modal
$("div.tt_other").append('<span style="float: right;"> <a href="#" id="tt_otherInfo" class="btn btn-info btn-lg"style="padding:5px 5px;font-size:20px;line-height:1;border-radius:10px;"><span class="glyphicon glyphicon-info-sign"></span></a></span>');
CreateModal("div.tt_other", "#tt_otherInfo", "tt_otherInfoModal", questionLabel + " information", `{{ snippets['PracticeGateway/TIR/BalanceSheet/Other/InfoModal'] }}`, "OK");
//Space above input
$("div.tt_other").after("<br>");
//Response text
AddMessageBelowBooleanRadio("#tt_other", "tt_otherResponseMessage", `{{ snippets['PracticeGateway/TIR/BalanceSheet/Other/Response0Message'] }}`, `{{ snippets['PracticeGateway/TIR/BalanceSheet/Other/Response1Message'] }}`);
//Conditional show/hide
RevealElementsOnBooleanResponse1("#tt_other", ["#tt_othernotes"]);
showDocumentsforSection("tt_other");

}
</script>