Update the Mitel template for Key Line use the key_id instead of key_line.

This commit is contained in:
markjcrane
2016-01-29 11:05:05 -07:00
parent b8c0c5f2dc
commit 147bb801fe
3 changed files with 6 additions and 6 deletions

View File

@@ -279,9 +279,9 @@
{if $row.device_key_line == "6"}{$feature = "11"}{$user_id = $user_id_6}{/if}
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
<Key Line="{$row.device_key_line}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}{if $row.device_key_category != "line"}
<Key Line="{$row.device_key_line}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}
{/foreach}
</pkDescription>

View File

@@ -279,9 +279,9 @@
{if $row.device_key_line == "6"}{$feature = "11"}{$user_id = $user_id_6}{/if}
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
<Key Line="{$row.device_key_line}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}{if $row.device_key_category != "line"}
<Key Line="{$row.device_key_line}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}
{/foreach}
</pkDescription>

View File

@@ -279,9 +279,9 @@
{if $row.device_key_line == "6"}{$feature = "11"}{$user_id = $user_id_6}{/if}
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
<Key Line="{$row.device_key_line}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}{if $row.device_key_category != "line"}
<Key Line="{$row.device_key_line}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
<Key Line="{$row.device_key_id}" Fea="{$device_key_type}" Des="{$row.device_key_label}" Addr="" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
{/if}
{/foreach}
</pkDescription>