Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/design/backend/templates/common/notify_checkboxes.tpl b/design/backend/templates/common/notify_checkboxes.tpl
index 9272efdc7df..f752446bb0d 100644
--- a/design/backend/templates/common/notify_checkboxes.tpl
+++ b/design/backend/templates/common/notify_checkboxes.tpl
@@ -4,21 +4,18 @@
{if $notify}
<li class="divider"></li>
<li><a><label for="{$prefix}_{$id}_notify">
- <input type="hidden" name="{$name_prefix}_user" value="{"YesNo::NO"|enum}" />
<input type="checkbox" name="{$name_prefix}_user" id="{$prefix}_{$id}_notify" value="{"YesNo::YES"|enum}" {if $notify_customer_status == true} checked="checked" {/if} onclick="Tygh.$('input[name={$name_prefix}_user]').prop('checked', this.checked);" />
{$notify_text|default:__("notify_customer")}</label></a>
</li>
{/if}
{if $notify_department}
<li><a><label for="{$prefix}_{$id}_notify_department">
- <input type="hidden" name="{$name_prefix}_department" value="{"YesNo::NO"|enum}" />
<input type="checkbox" name="{$name_prefix}_department" id="{$prefix}_{$id}_notify_department" value="{"YesNo::YES"|enum}" {if $notify_department_status == true} checked="checked" {/if} onclick="Tygh.$('input[name={$name_prefix}_department]').prop('checked', this.checked);" />
{__("notify_orders_department")}</label></a>
</li>
{/if}
{if "MULTIVENDOR"|fn_allowed_for && $notify_vendor}
<li><a><label for="{$prefix}_{$id}_notify_vendor">
- <input type="hidden" name="{$name_prefix}_vendor" value="{"YesNo::NO"|enum}" />
<input type="checkbox" name="{$name_prefix}_vendor" id="{$prefix}_{$id}_notify_vendor" value="{"YesNo::YES"|enum}" {if $notify_vendor_status == true} checked="checked" {/if} onclick="Tygh.$('input[name={$name_prefix}_vendor]').prop('checked', this.checked);" />
{__("notify_vendor")}</label></a>
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.