Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirKwest/d6195540195d85fbd676185367eceae6 to your computer and use it in GitHub Desktop.
Save SirKwest/d6195540195d85fbd676185367eceae6 to your computer and use it in GitHub Desktop.
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