taxCheckbox.style.visibility = "hidden";
taxLabel.style.visibility = "hidden";
}
+ var configureLabel = document.getElementById("expenses_config");
+ if (expensesCheckbox.checked) {
+ configureLabel.style.visibility = "visible";
+ } else {
+ configureLabel.style.visibility = "hidden";
+ }
var customFieldsCheckbox = document.getElementById("custom_fields");
- var configureLabel = document.getElementById("cf_config");
+ configureLabel = document.getElementById("cf_config");
if (customFieldsCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
configureLabel.style.visibility = "hidden";
}
- var monthlyQuotaCheckBox = document.getElementById("monthly_quota");
- configureLabel = document.getElementById("monthly_quota_config");
- if (monthlyQuotaCheckBox.checked){
+ var quotasCheckbox = document.getElementById("quotas");
+ configureLabel = document.getElementById("quotas_config");
+ if (quotasCheckbox.checked){
configureLabel.style.visibility = "visible";
} else {
- configureLabel.style.visibility = "hidden";
+ configureLabel.style.visibility = "hidden";
}
-
}
</script>
<td align="right" nowrap>{$i18n.form.profile.record_type}:</td>
<td>{$forms.profileForm.record_type.control}</td>
</tr>
+ <tr>
+ <td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
+ <td>{$forms.profileForm.uncompleted_indicators.control}</td>
+ </tr>
{* initialize preview text *}
<script>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.expenses.control}</td>
- <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.profileForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span></td>
+ <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.profileForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span> <span id="expenses_config"><a href="predefined_expenses.php">{$i18n.label.configure}</a></span></td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.notifications.control}</td>
<td><label for="locking">{$i18n.title.locking}</label> <span id="locking_config"><a href="locking.php">{$i18n.label.configure}</a></span></td>
</tr>
<tr>
- <td align="right" nowrap>{$forms.profileForm.monthly_quota.control}</td>
- <td><label for="monthly_quota">{$i18n.label.monthly_quotas}</label> <span id="monthly_quota_config"><a href="quotas.php">{$i18n.label.configure}</a></span></td>
+ <td align="right" nowrap>{$forms.profileForm.quotas.control}</td>
+ <td><label for="quotas">{$i18n.label.monthly_quotas}</label> <span id="quotas_config"><a href="quotas.php">{$i18n.label.configure}</a></span></td>
</tr>
{/if}