document.write("
{ "success": 1, "data": { "total_count": 501, "start_offset": 0, "data": [ { "id": 614, "templ_id": 262, "user_id": 1, "parent_id": 0, "item_id": 40, "prop_id": 0, "sync": true, "filename": "abal-customer.mvc", "dtstamp": 1596484538, "source": "", "settings": { "editable": 0, "mode": "tokens_only_nodisplay", "prevent_template_auto_update": 0, "template_filename": "abal-customer.mvc", "template_id": 262 } }, { "id": 606, "templ_id": 263, "user_id": 1, "parent_id": 0, "item_id": 41, "prop_id": 0, "sync": true, "filename": "abal-customercredithistory.mvc", "dtstamp": 1596484538, "source": "<mvt:if expr=\\"l.settings:customercredithistory:total_count EQ 0\\">\\n\\t<section class=\\"o-layout\\">\\n\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t<p class=\\"x-messages x-messages--info\\">No account credit entries.<\\/p>\\n\\t\\t<\\/div>\\n\\t<\\/section>\\n\\t<mvt:exit \\/>\\n<\\/mvt:if>\\n<mvt:if expr=\\"l.settings:customercredithistory:total_count GT 1\\">\\n\\t<section class=\\"u-flex o-layout--align-center o-layout--justify-between o-layout--wrap\\">\\n\\t\\t<div class=\\"x-display-list-filtering\\">\\n\\t\\t\\t<nav class=\\"x-display-list-filtering__per-page\\">\\n\\t\\t\\t\\t<ul class=\\"o-list-bare\\">\\n\\t\\t\\t\\t\\t<li class=\\"o-list-block__item\\">\\n\\t\\t\\t\\t\\t\\t<label class=\\"c-form-label u-text-normal\\">Show:<\\/label>\\n\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Per_Page EQ 12\\">\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\"c-button u-bg-gray-50\\" aria-label=\\"Show 12 Credit Entries Per Page\\">12<\\/span>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<a class=\\"c-button u-color-black\\" href=\\"&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=12\\" aria-label=\\"Show 12 Credit Entries Per Page\\">12<\\/a>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Per_Page EQ 24\\">\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\"c-button u-bg-gray-50\\" aria-label=\\"Show 24 Credit Entries Per Page\\">24<\\/span>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<a class=\\"c-button u-color-black\\" href=\\"&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=24\\" aria-label=\\"Show 24 Credit Entries Per Page\\">24<\\/a>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Per_Page EQ -1\\">\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\"c-button u-bg-gray-50\\" aria-label=\\"Show All Credit Entries\\">All<\\/span>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<a class=\\"c-button u-color-black\\" href=\\"&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=-1\\" aria-label=\\"Show All Credit Entries\\">All<\\/a>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t<\\/ul>\\n\\t\\t\\t<\\/nav>\\n\\t\\t\\t<form class=\\"x-display-list-filtering__sort-by\\">\\n\\t\\t\\t\\t<fieldset>\\n\\t\\t\\t\\t\\t<legend>Sort Credit Entries By<\\/legend>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-list__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<label class=\\"c-form-label u-text-normal\\" for=\\"l-sort_by\\">Sort By:<\\/label>\\n\\t\\t\\t\\t\\t\\t\\t<div class=\\"c-form-select\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<select id=\\"l-sort_by\\" class=\\"c-form-select__dropdown\\" name=\\"Sort_By\\" onchange=\\"window.location.href='&mvtj:urls:_self:auto_sep;Per_Page=' + encodeURIComponent( '&mvtj:global:Per_Page;' ) + '&Sort_By=' + encodeURIComponent( this.options[ this.selectedIndex ].value );\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"ISNULL g.Sort_By\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"id\\" selected=\\"selected\\">Default<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"id\\">Default<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'orderid_asc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"orderid_asc\\" selected=\\"selected\\">Order Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"orderid_asc\\">Order Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'orderid_desc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"orderid_desc\\" selected=\\"selected\\">Order Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"orderid_desc\\">Order Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'amount_asc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"amount_asc\\" selected=\\"selected\\">Amount Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"amount_asc\\">Amount Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'amount_desc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"amount_desc\\" selected=\\"selected\\">Amount Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"amount_desc\\">Amount Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'dtstamp_asc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"dtstamp_asc\\" selected=\\"selected\\">Date Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"dtstamp_asc\\">Date Ascending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Sort_By EQ 'dtstamp_desc'\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"dtstamp_desc\\" selected=\\"selected\\">Date Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"dtstamp_desc\\">Date Descending<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t\\t\\t<\\/select>\\n\\t\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<\\/fieldset>\\n\\t\\t\\t<\\/form>\\n\\t\\t<\\/div>\\n\\t\\t<!-- end .x-display-list-filtering -->\\n\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:last_page GT 1\\">\\n\\t\\t\\t<nav class=\\"x-pagination\\">\\n\\t\\t\\t\\t<ul class=\\"o-list-inline\\">\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page NE 1\\">\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<a class=\\"c-button\\" href=\\"&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:prev_link_params;\\" aria-label=\\"Go to the previous page.\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-left\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\"c-button\\" title=\\"You are on the first page.\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-left\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t<mvt:foreach iterator=\\"pages\\" array=\\"customercredithistory:page_links:pages\\">\\n\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page EQ l.settings:pages:page_num\\">\\n\\t\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\"u-text-bold\\" title=\\"You are on page &mvte:pages:page_num;.\\">&mvte:pages:page_num;<\\/span>\\n\\t\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<a href=\\"&mvte:urls:_self:auto_sep;&mvte:pages:link_params;\\" aria-label=\\"Go to page &mvte:pages:page_num;.\\">&mvte:pages:page_num;<\\/a>\\n\\t\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page NE l.settings:customercredithistory:page_links:last_page\\">\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<a class=\\"c-button\\" href=\\"&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;\\" aria-label=\\"Go to the next page.\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-right\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t\\t<span class=\\"c-button\\" title=\\"You are on the last page.\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-right\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t<\\/ul>\\n\\t\\t\\t<\\/nav>\\n\\t\\t\\t<!-- end .x-pagination -->\\n\\t\\t<\\/mvt:if>\\n\\t<\\/section>\\n<\\/mvt:if>\\n\\n<section class=\\"o-layout\\">\\n\\t<div class=\\"o-layout__item\\">\\n\\t\\t<table class=\\"c-table-responsivee\\">\\n\\t\\t\\t<thead class=\\"c-table-responsive_thead\\">\\n\\t\\t\\t<tr class=\\"c-table-responsive__row u-color-gray-30 u-font-small u-text-bold u-text-uppercase\\">\\n\\t\\t\\t\\t\\t<th class=\\"c-table-responsive__cell\\" scope=\\"col\\">Order #<\\/th>\\n\\t\\t\\t\\t\\t<th class=\\"c-table-responsive__cell\\" scope=\\"col\\">Transaction Reference<\\/th>\\n\\t\\t\\t\\t\\t<th class=\\"c-table-responsive__cell\\" scope=\\"col\\">Description<\\/th>\\n\\t\\t\\t\\t\\t<th class=\\"c-table-responsive__cell\\" scope=\\"col\\">Date<\\/th>\\n\\t\\t\\t\\t\\t<th class=\\"c-table-responsive__cell\\" scope=\\"col\\">Amount<\\/th>\\n\\t\\t\\t\\t<\\/tr>\\n\\t\\t\\t<\\/thead>\\n\\t\\t\\t<tbody>\\n\\t\\t\\t\\t<mvt:foreach iterator=\\"credit_entry\\" array=\\"customercredithistory:items\\">\\n\\t\\t\\t\\t\\t<tr class=\\"c-table-responsive__row\\">\\n\\t\\t\\t\\t\\t\\t<td class=\\"c-table-responsive__cell c-table-responsive__cell--flex\\" data-label=\\"Order #\\">\\n\\t\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"l.settings:credit_entry:order_id EQ 0\\">\\n\\t\\t\\t\\t\\t\\t\\t\\tN\\/A\\n\\t\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t\\t&mvte:credit_entry:order_id;\\n\\t\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t<\\/td>\\n\\t\\t\\t\\t\\t\\t<td class=\\"c-table-responsive__cell c-table-responsive__cell--flex\\" data-label=\\"Transaction\\">&mvte:credit_entry:txref;<\\/td>\\n\\t\\t\\t\\t\\t\\t<td class=\\"c-table-responsive__cell c-table-responsive__cell--flex\\" data-label=\\"Description\\">&mvte:credit_entry:descrip;<\\/td>\\n\\t\\t\\t\\t\\t\\t<td class=\\"c-table-responsive__cell c-table-responsive__cell--flex\\" data-label=\\"Date\\">&mvt:credit_entry:formatted_dtstamp;<\\/td>\\n\\t\\t\\t\\t\\t\\t<td class=\\"c-table-responsive__cell c-table-responsive__cell--flex\\" data-label=\\"Amount\\">&mvt:credit_entry:formatted_amount;<\\/td>\\n\\t\\t\\t\\t\\t<\\/tr>\\n\\t\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t<\\/tbody>\\n\\t\\t<\\/table>\\n\\t<\\/div>\\n<\\/section>\\n\\n<mvt:if expr=\\"l.settings:customercredithistory:page_links:last_page GT 1\\">\\n\\t<nav class=\\"x-pagination x-pagination--centered\\">\\n\\t\\t<ul class=\\"o-list-inline\\">\\n\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page NE 1\\">\\n\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t<a class=\\"c-button\\" href=\\"&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:prev_link_params;\\" aria-label=\\"Go to the previous page.\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-left\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t<span class=\\"c-button\\" title=\\"You are on the first page.\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-left\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t<mvt:foreach iterator=\\"pages\\" array=\\"customercredithistory:page_links:pages\\">\\n\\t\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page EQ l.settings:pages:page_num\\">\\n\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\"u-text-bold\\" title=\\"You are on page &mvte:pages:page_num;.\\">&mvte:pages:page_num;<\\/span>\\n\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t\\t<a href=\\"&mvte:urls:_self:auto_sep;&mvte:pages:link_params;\\" aria-label=\\"Go to page &mvte:pages:page_num;.\\">&mvte:pages:page_num;<\\/a>\\n\\t\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t<mvt:if expr=\\"l.settings:customercredithistory:page_links:current_page NE l.settings:customercredithistory:page_links:last_page\\">\\n\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t<a class=\\"c-button\\" href=\\"&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;\\" aria-label=\\"Go to the next page.\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-right\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t<\\/a>\\n\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t<li class=\\"o-list-inline__item\\">\\n\\t\\t\\t\\t\\t<span class=\\"c-button\\" title=\\"You are on the last page.\\">\\n\\t\\t\\t\\t\\t\\t<span class=\\"u-icon-triangle-right\\" aria-hidden=\\"true\\"><\\/span>\\n\\t\\t\\t\\t\\t<\\/span>\\n\\t\\t\\t\\t<\\/li>\\n\\t\\t\\t<\\/mvt:if>\\n\\t\\t<\\/ul>\\n\\t<\\/nav>\\n\\t<!-- end .x-pagination -->\\n<\\/mvt:if>", "settings": { "advanced": 1, "default_sort": "id", "field_amount": 1, "field_descrip": 1, "field_dtstamp": 1, "field_orderid": 1, "field_txref": 1, "items_per_page_filter": 1, "page_disp_count": 3, "per_page": 12, "reverse_default_disp_order": 0, "sort_by": { "amount": 1, "descrip": 0, "dtstamp": 1, "orderid": 1, "switch": 1, "txref": 0 }, "template_filename": "abal-customercredithistory.mvc", "template_id": 263 } }, { "id": 309, "templ_id": 265, "user_id": 1, "parent_id": 0, "item_id": 50, "prop_id": 0, "sync": true, "filename": "abal-footer.mvc", "dtstamp": 1596484534, "source": "", "settings": { "template_filename": "abal-footer.mvc" } }, { "id": 308, "templ_id": 264, "user_id": 1, "parent_id": 0, "item_id": 50, "prop_id": 0, "sync": true, "filename": "abal-header.mvc", "dtstamp": 1596484534, "source": "", "settings": { "template_filename": "abal-header.mvc" } }, { "id": 615, "templ_id": 261, "user_id": 1, "parent_id": 0, "item_id": 0, "prop_id": 0, "sync": true, "filename": "abal.mvc", "dtstamp": 1596484538, "source": "<mvt:item name=\\"html_profile\\" \\/>\\n<head>\\n\\t<meta charset=\\"utf-8\\">\\n\\t<meta http-equiv=\\"X-UA-Compatible\\" content=\\"IE=edge\\">\\n\\t<meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">\\n\\t<base href=\\"&mvt:global:basehref;\\">\\n\\t<mvt:if expr=\\"NOT ISNULL l.settings:page:title\\">\\n\\t\\t<title>&mvt:page:title;<\\/title>\\n\\t<mvt:else>\\n\\t\\t<title>&mvt:store:name;: &mvt:page:name;<\\/title>\\n\\t<\\/mvt:if>\\n\\t<mvt:item name=\\"head\\" param=\\"css_list\\" \\/>\\n\\t<mvt:item name=\\"head\\" param=\\"head_tag\\" \\/>\\n<\\/head>\\n<body id=\\"js-&mvte:page:code;\\" class=\\"o-site-wrapper t-page-&mvt:global:pageClass;\\">\\n\\t<mvt:item name=\\"hdft\\" param=\\"global_header\\" \\/>\\n\\n\\t<section class=\\"o-layout\\">\\n\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t<mvt:item name=\\"hdft\\" param=\\"header\\" \\/>\\n\\t\\t\\t<mvt:item name=\\"readytheme\\" param=\\"contentsection( 'messages' )\\" \\/>\\n\\t\\t<\\/div>\\n\\t<\\/section>\\n\\n\\t<section class=\\"o-layout o-layout--column-reverse o-layout--row-reverse--l\\">\\n\\t\\t<div class=\\"o-layout__item u-width-12 u-width-9--l\\">\\n\\t\\t\\t<p class=\\"c-heading-delta\\">Current Balance: <span class=\\"u-color-green\\">&mvt:customer:formatted_credit;<\\/span><\\/p>\\n\\t\\t\\t<p><a class=\\"c-button c-button--large u-bg-gray-50 u-font-small u-text-bold u-text-uppercase\\" href=\\"&mvte:urls:RGFT:auto;\\" title=\\"Redeem Gift Certificate\\">Redeem Gift Certificate<\\/a><\\/p>\\n\\t\\t\\t<hr class=\\"c-keyline\\">\\n\\t\\t\\t<mvt:item name=\\"customercredithistory\\" \\/>\\n\\t\\t<\\/div>\\n\\t\\t<aside class=\\"o-layout__item u-width-12 u-width-3--l\\">\\n\\t\\t\\t<mvt:item name=\\"readytheme\\" param=\\"navigationset( 'account_navigation' )\\" \\/>\\n\\t\\t<\\/aside>\\n\\t<\\/section>\\n\\t\\n\\t<section class=\\"o-layout\\">\\n\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t<mvt:item name=\\"hdft\\" param=\\"footer\\" \\/>\\n\\t\\t<\\/div>\\n\\t<\\/section>\\n\\n\\t<mvt:item name=\\"hdft\\" param=\\"global_footer\\" \\/>\\n<\\/body>\\n<\\/html>", "settings": { "customer": { "editable": 0, "mode": "tokens_only_nodisplay", "prevent_template_auto_update": 0, "template_filename": "abal-customer.mvc", "template_id": 262 }, "customercredithistory": { "advanced": 1, "default_sort": "id", "field_amount": 1, "field_descrip": 1, "field_dtstamp": 1, "field_orderid": 1, "field_txref": 1, "items_per_page_filter": 1, "page_disp_count": 3, "per_page": 12, "reverse_default_disp_order": 0, "sort_by": { "amount": 1, "descrip": 0, "dtstamp": 1, "orderid": 1, "switch": 1, "txref": 0 }, "template_filename": "abal-customercredithistory.mvc", "template_id": 263 }, "hdft": { "footer": { "template_filename": "abal-footer.mvc", "template_id": 265 }, "header": { "template_filename": "abal-header.mvc", "template_id": 264 } }, "seo_settings": { "cat_lit": "category", "cat_lit_choice": "category", "plit_in_bc": 0, "prod_lit": "product", "prod_lit_choice": "product", "sc_always": 0, "sf_active": 0, "sl_active": 0, "sm_active": 1, "suffix": "html", "suffix_choice": "html", "surlprefix": "https:\\/\\/mivadevtest.com\\/", "url_delim": "\\/", "urlprefix": "http:\\/\\/mivadevtest.com\\/" } } }, { "id": 189, "templ_id": 186, "user_id": 1, "parent_id": 0, "item_id": 50, "prop_id": 0, "sync": true, "filename": "abus-footer.mvc", "dtstamp": 1596484533, "source": "", "settings": { "template_filename": "abus-footer.mvc" } }, { "id": 188, "templ_id": 185, "user_id": 1, "parent_id": 0, "item_id": 50, "prop_id": 0, "sync": true, "filename": "abus-header.mvc", "dtstamp": 1596484533, "source": "", "settings": { "template_filename": "abus-header.mvc" } }, { "id": 190, "templ_id": 184, "user_id": 1, "parent_id": 0, "item_id": 0, "prop_id": 0, "sync": true, "filename": "abus.mvc", "dtstamp": 1596484533, "source": "<mvt:item name=\\"html_profile\\" \\/>\\n<head>\\n\\t<meta charset=\\"utf-8\\">\\n\\t<meta http-equiv=\\"X-UA-Compatible\\" content=\\"IE=edge\\">\\n\\t<meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">\\n\\t<base href=\\"&mvt:global:basehref;\\">\\n\\t<mvt:if expr=\\"NOT ISNULL l.settings:page:title\\">\\n\\t\\t<title>&mvt:page:title;<\\/title>\\n\\t<mvt:else>\\n\\t\\t<title>&mvt:store:name;: &mvt:page:name;<\\/title>\\n\\t<\\/mvt:if>\\n\\t<mvt:item name=\\"head\\" param=\\"css_list\\" \\/>\\n\\t<mvt:item name=\\"head\\" param=\\"head_tag\\" \\/>\\n<\\/head>\\n<body id=\\"js-&mvte:page:code;\\" class=\\"o-site-wrapper t-page-&mvt:global:pageClass;\\">\\n\\t<mvt:item name=\\"hdft\\" param=\\"global_header\\" \\/>\\n\\n\\t<section class=\\"o-layout o-layout--column-reverse o-layout--row-reverse--l\\">\\n\\t\\t<div class=\\"o-layout__item u-width-12 u-width-9--l u-width-10--w\\">\\n\\t\\t\\t<section class=\\"o-layout\\">\\n\\t\\t\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t\\t\\t<h1 class=\\"c-heading-delta u-text-bold u-text-uppercase\\">&mvte:page:name;<\\/h1>\\n\\t\\t\\t\\t\\t<hr class=\\"c-keyline\\">\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/section>\\n\\t\\n\\t\\t\\t<section class=\\"o-layout\\">\\n\\t\\t\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t\\t\\t<mvt:item name=\\"hdft\\" param=\\"header\\" \\/>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/section>\\n\\n\\t\\t\\t<section class=\\"o-layout\\">\\n\\t\\t\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t\\t\\t<mvt:item name=\\"readytheme\\" param=\\"contentsection( 'abus_content' )\\" \\/>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/section>\\n\\t\\t\\t\\n\\t\\t\\t<section class=\\"o-layout\\">\\n\\t\\t\\t\\t<div class=\\"o-layout__item\\">\\n\\t\\t\\t\\t\\t<mvt:item name=\\"hdft\\" param=\\"footer\\" \\/>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/section>\\n\\t\\t<\\/div>\\n\\t\\t<aside class=\\"o-layout__item u-width-12 u-width-3--l u-width-2--w\\">\\n\\t\\t\\t<mvt:item name=\\"readytheme\\" param=\\"navigationset( 'static_navigation' )\\" \\/>\\n\\t\\t<\\/aside>\\n\\t<\\/section>\\n\\n\\t<mvt:item name=\\"hdft\\" param=\\"global_footer\\" \\/>\\n<\\/body>\\n<\\/html>", "settings": { "hdft": { "footer": { "template_filename": "abus-footer.mvc", "template_id": 186 }, "header": { "template_filename": "abus-header.mvc", "template_id": 185 } }, "seo_settings": { "cat_lit": "category", "cat_lit_choice": "category", "plit_in_bc": 0, "prod_lit": "product", "prod_lit_choice": "product", "sc_always": 0, "sf_active": 0, "sl_active": 0, "sm_active": 1, "suffix": "html", "suffix_choice": "html", "surlprefix": "https:\\/\\/mivadevtest.com\\/", "url_delim": "\\/", "urlprefix": "http:\\/\\/mivadevtest.com\\/" } } }, { "id": 610, "templ_id": 279, "user_id": 1, "parent_id": 0, "item_id": 40, "prop_id": 0, "sync": true, "filename": "acad-customer.mvc", "dtstamp": 1596484538, "source": "<section class=\\"o-layout o-layout--justify-center\\">\\n\\t<div class=\\"o-layout__item u-width-12 u-width-9--m\\">\\n\\t\\t<mvt:do file=\\"g.Module_Library_DB\\" name=\\"l.state_datalist_count\\" value=\\"StateList_Load_All(l.state_datalist)\\"\\/>\\n\\t\\t<mvt:assign name=\\"g.StateDatalist\\" value=\\"l.state_datalist\\"\\/>\\n\\t\\t\\n\\t\\t<mvt:if expr=\\"l.settings:customer:primaddr EQ 'shipping'\\">\\n\\t\\t\\t<mvt:assign name=\\"l.settings:shipping_required\\" value=\\"'required'\\" \\/>\\n\\t\\t<mvt:elseif expr=\\"l.settings:customer:primaddr EQ 'billing'\\">\\n\\t\\t\\t<mvt:assign name=\\"l.settings:billing_required\\" value=\\"'required'\\" \\/>\\n\\t\\t<\\/mvt:if>\\n\\t\\t\\n\\t\\t<mvt:if expr=\\"g.Order\\">\\n\\t\\t\\t<mvt:assign name=\\"l.settings:url\\" value=\\"l.settings:urls:OINF:secure\\" \\/>\\n\\t\\t<mvt:elseif expr=\\"g.Redeem\\">\\n\\t\\t\\t<mvt:assign name=\\"l.settings:url\\" value=\\"l.settings:urls:RGFT:secure\\" \\/>\\n\\t\\t<mvt:elseif expr=\\"g.WishList\\">\\n\\t\\t\\t<mvt:assign name=\\"l.settings:url\\" value=\\"l.settings:urls:WISH:secure\\" \\/>\\n\\t\\t<mvt:else>\\n\\t\\t\\t<mvt:assign name=\\"l.settings:url\\" value=\\"l.settings:urls:ACLN:secure\\" \\/>\\n\\t\\t<\\/mvt:if>\\n\\t\\t<form method=\\"post\\" action=\\"&mvte:url;\\" data-validate-address>\\n\\t\\t\\t<input type=\\"hidden\\" name=\\"Action\\" value=\\"ICST\\" \\/>\\n\\t\\t\\t<input type=\\"hidden\\" name=\\"Order\\" value=\\"&mvte:global:Order;\\" \\/>\\n\\t\\t\\t<input type=\\"hidden\\" name=\\"NewAccount\\" value=\\"1\\" \\/>\\n\\t\\t\\t<input type=\\"hidden\\" name=\\"CSRF_Token\\" value=\\"&mvte:global:Basket:csrf_token;\\">\\n\\t\\t\\t\\n\\t\\t\\t<div class=\\"c-form-list o-layout u-text-uppercase\\">\\n\\t\\t\\t\\t<div id=\\"LogInInformation\\" class=\\"c-form-list__item c-form-list__item--full o-layout__item c-heading-echo u-text-bold u-text-uppercase\\">Log In Information<\\/div>\\n\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-12 &mvte:global:LoginEmail_Row;\\">\\n\\t\\t\\t\\t\\t<label id=\\"Customer_LoginEmail_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_LoginEmail\\">Email Address<\\/label>\\n\\t\\t\\t\\t\\t<input id=\\"Customer_LoginEmail\\" class=\\"c-form-input c-form-input--large\\" data-hook=\\"Customer_LoginEmail\\" data-primary=\\"&mvt:customer:primaddr\\" type=\\"email\\" name=\\"Customer_LoginEmail\\" value=\\"&mvte:global:Customer_LoginEmail;\\" autocomplete=\\"email\\" required aria-describedby=\\"LogInInformation Customer_LoginEmail_label\\" aria-required=\\"true\\">\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-6--m &mvte:global:Password_Row;\\">\\n\\t\\t\\t\\t\\t<label id=\\"Customer_Password_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_Password\\">Password<\\/label>\\n\\t\\t\\t\\t\\t<input id=\\"Customer_Password\\" class=\\"c-form-input c-form-input--large\\" type=\\"password\\" name=\\"Customer_Password\\" value=\\"&mvte:global:Customer_Password;\\" autocomplete=\\"new-password\\" required aria-describedby=\\"LogInInformation Customer_Password_label\\" aria-required=\\"true\\">\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-6--m &mvte:global:VerifyPassword_Row;\\">\\n\\t\\t\\t\\t\\t<label id=\\"Customer_VerifyPassword_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_VerifyPassword\\">Confirm Password<\\/label>\\n\\t\\t\\t\\t\\t<input id=\\"Customer_VerifyPassword\\" class=\\"c-form-input c-form-input--large\\" type=\\"password\\" name=\\"Customer_VerifyPassword\\" value=\\"&mvte:global:Customer_VerifyPassword;\\" autocomplete=\\"new-password\\" required aria-describedby=\\"LogInInformation Customer_VerifyPassword_label\\" aria-required=\\"true\\">\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/div>\\n\\t\\t\\t<hr class=\\"c-keyline\\">\\n\\t\\t\\t\\n\\t\\t\\t<div class=\\"c-form-list o-layout\\">\\n\\t\\t\\t\\t<div id=\\"ShippingInformation\\" class=\\"c-form-list__item c-form-list__item--full o-layout__item c-heading-echo u-text-bold u-text-uppercase\\">Shipping Information<\\/div>\\n\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-12 u-font-small u-hidden\\" id=\\"shipping_controls\\">\\n\\t\\t\\t\\t\\t<label class=\\"c-form-checkbox\\">\\n\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Action AND g.shipping_to_show\\">\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"shipping_to_show\\" class=\\"c-form-checkbox__input\\" type=\\"checkbox\\" name=\\"shipping_to_show\\" value=\\"1\\" checked>\\n\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"shipping_to_show\\" class=\\"c-form-checkbox__input\\" type=\\"checkbox\\" name=\\"shipping_to_show\\" value=\\"1\\">\\n\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t<span class=\\"c-form-checkbox__caption u-font-tiny\\">Shipping Information Same as Billing<\\/span>\\n\\t\\t\\t\\t\\t<\\/label>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/div>\\n\\t\\t\\t\\n\\t\\t\\t<section id=\\"shipping_fields\\">\\n\\t\\t\\t\\t<mvt:if expr=\\"NOT ISNULL l.settings:customer:validated_ship_addresses\\">\\n\\t\\t\\t\\t\\t<input type=\\"hidden\\" name=\\"Customer_ShipValidated\\" value=\\"1\\" \\/>\\n\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t<div class=\\"c-form-list o-layout u-text-uppercase\\">\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipFirstName_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipFirstName_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipFirstName\\">First Name<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipFirstName\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipFirstName\\" value=\\"&mvte:global:Customer_ShipFirstName;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipFirstName_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipLastName_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipLastName_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipLastName\\">Last Name<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipLastName\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipLastName\\" value=\\"&mvte:global:Customer_ShipLastName;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipLastName_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipCompany_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipCompany_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_ShipCompany\\">Company (Optional)<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipCompany\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipCompany\\" value=\\"&mvte:global:Customer_ShipCompany;\\" aria-describedby=\\"ShippingInformation Customer_ShipCompany_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:ShipEmail_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipEmail_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipEmail\\">Email Address<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipEmail\\" class=\\"c-form-input c-form-input--large\\" data-hook=\\"Customer_ShipEmail\\" type=\\"email\\" name=\\"Customer_ShipEmail\\" value=\\"&mvte:global:Customer_ShipEmail;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipEmail_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipPhone_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipPhone_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipPhone\\">Phone Number<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipPhone\\" class=\\"c-form-input c-form-input--large\\" type=\\"tel\\" name=\\"Customer_ShipPhone\\" value=\\"&mvte:global:Customer_ShipPhone;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipPhone_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<!--\\n\\t\\t\\t\\t\\tDue to the lack of use in most stores, the fax field is commented out.\\n\\t\\t\\t\\t\\tIf you find that you, or a client, needs the field, remove the HTML comment tags and adjust\\n\\t\\t\\t\\t\\tthe width class of the email address to u-width-4--m.\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipFax_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipFax_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_ShipFax\\">Fax Number<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipFax\\" class=\\"c-form-input c-form-input--large\\" type=\\"tel\\" name=\\"Customer_ShipFax\\" value=\\"&mvte:global:Customer_ShipFax;\\" aria-describedby=\\"ShippingInformation Customer_ShipFax_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t-->\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:ShipAddress1_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipAddress1_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipAddress1\\">Address<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipAddress1\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipAddress1\\" value=\\"&mvte:global:Customer_ShipAddress1;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipAddress1_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipAddress2_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipAddress2_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_ShipAddress2\\">Address 2<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipAddress2\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipAddress2\\" value=\\"&mvte:global:Customer_ShipAddress2;\\" aria-describedby=\\"ShippingInformation Customer_ShipAddress2_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:ShipCity_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipCity_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipCity\\">City<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipCity\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipCity\\" value=\\"&mvte:global:Customer_ShipCity;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipCity_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"g.States_Empty\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;\\">\\n\\t\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipState_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipState\\">State\\/Province<\\/label>\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipState\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipState\\" value=\\"&mvte:global:Customer_ShipState;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipState_label\\">\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;\\">\\n\\t\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipStateSelect_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipStateSelect\\">State\\/Province<\\/label>\\n\\t\\t\\t\\t\\t\\t\\t<input name=\\"Customer_ShipState\\" type=\\"hidden\\" value=\\"&mvte:global:Customer_ShipState;\\">\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipStateSelect\\" class=\\"c-form-input c-form-input--large\\" data-datalist list=\\"ShipStateDatalist\\" name=\\"Customer_ShipStateSelect\\" placeholder=\\"Select or Type\\" type=\\"text\\" value=\\"&mvte:global:Customer_ShipStateSelect;\\" &mvt:shipping_required; aria-describedby=\\"ShippingInformation Customer_ShipStateSelect_label\\">\\n\\t\\t\\t\\t\\t\\t\\t<datalist id=\\"ShipStateDatalist\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<mvt:foreach array=\\"global:StateDatalist\\" iterator=\\"StateData\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"&mvt:StateData:code;\\">&mvt:StateData:name;<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t\\t\\t\\t\\t<\\/datalist>\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipCountry_Row;\\" data-hook=\\"mvt-select\\" data-mvt-classlist=\\"c-form-select__dropdown c-form-input--large\\" data-mvt-id=\\"Customer_ShipCountry\\" data-mvt-describedby=\\"ShippingInformation Customer_ShipCountry_label\\" data-mvt-autocomplete=\\"country\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipCountry_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipCountry\\">Country<\\/label>\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-select\\">\\n\\t\\t\\t\\t\\t\\t\\t<mvt:item name=\\"countries\\" param=\\"Customer_ShipCountry\\" \\/>\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipZip_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_ShipZip_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_ShipZip\\">Zip\\/Postal Code<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_ShipZip\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_ShipZip\\" value=\\"&mvte:global:Customer_ShipZip;\\" aria-describedby=\\"ShippingInformation Customer_ShipZip_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<hr class=\\"c-keyline\\">\\n\\t\\t\\t<\\/section>\\n\\t\\t\\t\\n\\t\\t\\t<div class=\\"c-form-list o-layout\\">\\n\\t\\t\\t\\t<div id=\\"BillingInformation\\" class=\\"c-form-list__item c-form-list__item--full o-layout__item c-heading-echo u-text-bold u-text-uppercase\\">Billing Information<\\/div>\\n\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-12 u-font-small\\" id=\\"billing_controls\\">\\n\\t\\t\\t\\t\\t<label class=\\"c-form-checkbox\\">\\n\\t\\t\\t\\t\\t\\t<mvt:if expr=\\"g.Action AND g.billing_to_show\\">\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"billing_to_show\\" class=\\"c-form-checkbox__input\\" type=\\"checkbox\\" name=\\"billing_to_show\\" value=\\"1\\" checked>\\n\\t\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"billing_to_show\\" class=\\"c-form-checkbox__input\\" type=\\"checkbox\\" name=\\"billing_to_show\\" value=\\"1\\">\\n\\t\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t<span class=\\"c-form-checkbox__caption u-font-small u-text-uppercase\\">Billing Information Same as Shipping<\\/span>\\n\\t\\t\\t\\t\\t<\\/label>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/div>\\n\\t\\n\\t\\t\\t<section id=\\"billing_fields\\">\\n\\t\\t\\t\\t<mvt:if expr=\\"NOT ISNULL l.settings:customer:validated_bill_addresses\\">\\n\\t\\t\\t\\t\\t<input type=\\"hidden\\" name=\\"Customer_BillValidated\\" value=\\"1\\" \\/>\\n\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t<div class=\\"c-form-list o-layout\\">\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillFirstName_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillFirstName_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillFirstName\\">First Name<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillFirstName\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillFirstName\\" value=\\"&mvte:global:Customer_BillFirstName;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillFirstName_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillLastName_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillLastName_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillLastName\\">Last Name<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillLastName\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillLastName\\" value=\\"&mvte:global:Customer_BillLastName;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillLastName_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillCompany_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillCompany_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_BillCompany\\">Company (Optional)<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillCompany\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillCompany\\" value=\\"&mvte:global:Customer_BillCompany;\\" aria-describedby=\\"BillingInformation Customer_BillCompany_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:BillEmail_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillEmail_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillEmail\\">Email Address<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillEmail\\" class=\\"c-form-input c-form-input--large\\" data-hook=\\"Customer_BillEmail\\" type=\\"email\\" name=\\"Customer_BillEmail\\" value=\\"&mvte:global:Customer_BillEmail;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillEmail_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillPhone_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillPhone_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillPhone\\">Phone Number<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillPhone\\" class=\\"c-form-input c-form-input--large\\" type=\\"tel\\" name=\\"Customer_BillPhone\\" value=\\"&mvte:global:Customer_BillPhone;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillPhone_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<!--\\n\\t\\t\\t\\t\\tDue to the lack of use in most stores, the fax field is commented out.\\n\\t\\t\\t\\t\\tIf you find that you, or a client, needs the field, remove the HTML comment tags and adjust\\n\\t\\t\\t\\t\\tthe width class of the email address to u-width-4--m.\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillFax_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillFax_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_BillFax\\">Fax Number<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillFax\\" class=\\"c-form-input c-form-input--large\\" type=\\"tel\\" name=\\"Customer_BillFax\\" value=\\"&mvte:global:Customer_BillFax;\\" aria-describedby=\\"BillingInformation Customer_BillFax_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t-->\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:BillAddress1_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillAddress1_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillAddress1\\">Address<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillAddress1\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillAddress1\\" value=\\"&mvte:global:Customer_BillAddress1;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillAddress1_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillAddress2_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillAddress2_label\\" class=\\"c-form-label u-font-small u-text-italic\\" for=\\"Customer_BillAddress2\\">Address 2<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillAddress2\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillAddress2\\" value=\\"&mvte:global:Customer_BillAddress2;\\" aria-describedby=\\"BillingInformation Customer_BillAddress2_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-8--m &mvte:global:BillCity_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillCity_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillCity\\">City<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillCity\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillCity\\" value=\\"&mvte:global:Customer_BillCity;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillCity_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t<mvt:if expr=\\"g.States_Empty\\">\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillState_Row;\\">\\n\\t\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillState_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillState\\">State\\/Province<\\/label>\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillState\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillState\\" value=\\"&mvte:global:Customer_BillState;\\" &mvt:shipping_required; aria-describedby=\\"BillingInformation Customer_BillState_label\\">\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<mvt:else>\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillState_Row;\\">\\n\\t\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillStateSelect_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillStateSelect\\">State\\/Province<\\/label>\\n\\t\\t\\t\\t\\t\\t\\t<input name=\\"Customer_BillState\\" type=\\"hidden\\" value=\\"&mvte:global:Customer_BillState;\\">\\n\\t\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillStateSelect\\" class=\\"c-form-input c-form-input--large\\" data-datalist list=\\"BillStateDatalist\\" name=\\"Customer_BillStateSelect\\" placeholder=\\"Select or Type\\" type=\\"text\\" value=\\"&mvte:global:Customer_BillStateSelect;\\" &mvt:billing_required; aria-describedby=\\"BillingInformation Customer_BillStateSelect_label\\">\\n\\t\\t\\t\\t\\t\\t\\t<datalist id=\\"BillStateDatalist\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<mvt:foreach array=\\"global:StateDatalist\\" iterator=\\"StateData\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<option value=\\"&mvt:StateData:code;\\">&mvt:StateData:name;<\\/option>\\n\\t\\t\\t\\t\\t\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t\\t\\t\\t\\t<\\/datalist>\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillCountry_Row;\\" data-hook=\\"mvt-select\\" data-mvt-classlist=\\"c-form-select__dropdown c-form-input--large\\" data-mvt-id=\\"Customer_BillCountry\\" data-mvt-describedby=\\"BillingInformation Customer_BillCountry_label\\" data-mvt-autocomplete=\\"country\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillCountry_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillCountry\\">Country<\\/label>\\n\\t\\t\\t\\t\\t\\t<div class=\\"c-form-select\\">\\n\\t\\t\\t\\t\\t\\t\\t<mvt:item name=\\"countries\\" param=\\"Customer_BillCountry\\" \\/>\\n\\t\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t\\t<div class=\\"c-form-list__item o-layout__item u-width-4--m &mvte:global:BillZip_Row;\\">\\n\\t\\t\\t\\t\\t\\t<label id=\\"Customer_BillZip_label\\" class=\\"c-form-label u-font-small u-text-bold is-required\\" for=\\"Customer_BillZip\\">Zip\\/Postal Code<\\/label>\\n\\t\\t\\t\\t\\t\\t<input id=\\"Customer_BillZip\\" class=\\"c-form-input c-form-input--large\\" type=\\"text\\" name=\\"Customer_BillZip\\" value=\\"&mvte:global:Customer_BillZip;\\" aria-describedby=\\"BillingInformation Customer_BillZip_label\\">\\n\\t\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t\\t<hr class=\\"c-keyline\\">\\n\\t\\t\\t<\\/section>\\n\\t\\t\\t\\n\\t\\t\\t<mvt:if expr=\\"l.settings:customer:match\\">\\n\\t\\t\\t\\t<mvt:if expr=\\"l.settings:customer:primaddr EQ 'shipping'\\">\\n\\t\\t\\t\\t\\t<script>document.getElementById('billing_to_show').checked = true;<\\/script>\\n\\t\\t\\t\\t<mvt:elseif expr=\\"l.settings:customer:primaddr EQ 'billing'\\">\\n\\t\\t\\t\\t\\t<script>document.getElementById('shipping_to_show').checked = true;<\\/script>\\n\\t\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\n\\t\\t\\t<mvt:if expr=\\"g.Basket:cust_id AND g.Customer_Session_Verified AND l.settings:customer:address_count\\">\\n\\t\\t\\t\\t<script>\\n\\t\\t\\t\\t\\tvar MvCustomerAddresses = [];\\n\\t\\t\\n\\t\\t\\t\\t\\t<mvt:foreach iterator=\\"address\\" array=\\"customer:addresses\\">\\n\\t\\t\\t\\t\\t\\tMvCustomerAddresses[<mvt:eval expr=\\"int( l.settings:address:id )\\" \\/>] = {\\n\\t\\t\\t\\t\\t\\t\\t\\"id\\": <mvt:eval expr=\\"int( l.settings:address:id )\\" \\/>,\\n\\t\\t\\t\\t\\t\\t\\t\\"cust_id\\": <mvt:eval expr=\\"int( l.settings:address:cust_id )\\" \\/>,\\n\\t\\t\\t\\t\\t\\t\\t\\"descrip\\": \\"&mvtj:address:descrip;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"fname\\": \\"&mvtj:address:fname;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"lname\\": \\"&mvtj:address:lname;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"email\\": \\"&mvtj:address:email;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"comp\\": \\"&mvtj:address:comp;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"phone\\": \\"&mvtj:address:phone;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"fax\\": \\"&mvtj:address:fax;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"addr1\\": \\"&mvtj:address:addr1;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"addr2\\": \\"&mvtj:address:addr2;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"city\\": \\"&mvtj:address:city;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"state\\": \\"&mvtj:address:state;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"zip\\": \\"&mvtj:address:zip;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"cntry\\": \\"&mvtj:address:cntry;\\",\\n\\t\\t\\t\\t\\t\\t\\t\\"resdntl\\": <mvt:if expr=\\"l.settings:address:resdntl\\">true<mvt:else>false<\\/mvt:if>\\n\\t\\t\\t\\t\\t\\t};\\n\\t\\t\\t\\t\\t<\\/mvt:foreach>\\n\\t\\t\\t\\t<\\/script>\\n\\t\\t\\t<\\/mvt:if>\\n\\t\\t\\t\\n\\t\\t\\t<div class=\\"c-form-list u-text-center\\">\\n\\t\\t\\t\\t<div class=\\"c-form-list__item u-inline-block\\">\\n\\t\\t\\t\\t\\t<input class=\\"c-button c-button--full c-button--huge u-font-small u-bg-gray-40 u-text-bold u-text-uppercase\\" type=\\"submit\\" value=\\"Save\\">\\n\\t\\t\\t\\t<\\/div>\\n\\t\\t\\t<\\/div>\\n\\t\\t<\\/form>\\n\\t<\\/div>\\n<\\/section>\\n<script src=\\"&mvte:global:clientside_url;Store_Code=&mvta:store:code;&Filename=ToggleDetails.js&Primaddr=shipping&Shipping=D&Billing=O\\"><\\/script>\\n\\n\\n<script>\\n\\t(function () {\\n\\t\\t'use strict';\\n\\n\\t\\t\\/**\\n\\t\\t * This function is an enhancement to the `datalist` State\\/Province and Country replacement.\\n\\t\\t * Since a customer can type a value in the input, this will check if the entered value\\n\\t\\t * matches one of the output values or text entries. If so, it passes the value back to\\n\\t\\t * ensure proper functionality with shipping modules, i.e. 2 letter abbreviations for\\n\\t\\t * US and Canada. Otherwise, it the entry is used as typed.\\n\\t\\t * @type {NodeListOf<Element>}\\n\\t\\t *\\/\\n\\n\\t\\tlet datalist = document.querySelectorAll('[data-datalist]');\\n\\n\\t\\tfunction checkOption(entry, list) {\\n\\t\\t\\tlet datalist = document.querySelector('#' + list);\\n\\t\\t\\tlet datalistOptions = datalist.querySelectorAll('option');\\n\\t\\t\\tlet value = '';\\n\\n\\t\\t\\tfor (let i = 0; i < datalistOptions.length; i++) {\\n\\t\\t\\t\\tlet option = datalistOptions[i];\\n\\n\\t\\t\\t\\tif (entry.toLowerCase() === option.value.toLowerCase() || entry.toLowerCase() === option.text.toLowerCase()) {\\n\\t\\t\\t\\t\\tvalue = option.value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\treturn value;\\n\\t\\t}\\n\\n\\t\\tif (datalist.length > 0) {\\n\\t\\t\\tfor (let i = 0; i < datalist.length; i++) {\\n\\t\\t\\t\\tlet list = datalist[i];\\n\\n\\t\\t\\t\\tlist.addEventListener('blur', function () {\\n\\t\\t\\t\\t\\tlet thisDatalist = list.getAttribute('list');\\n\\t\\t\\t\\t\\tlet checkValue = checkOption(list.value, thisDatalist);\\n\\n\\t\\t\\t\\t\\tif (checkValue) {\\n\\t\\t\\t\\t\\t\\tlist.value = checkValue;\\n\\t\\t\\t\\t\\t\\tlist.previousElementSibling.value = checkValue;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\telse {\\n\\t\\t\\t\\t\\t\\tlist.previousElementSibling.value = list.value;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}());\\n<\\/script>", "settings": { "editable": 1, "mode": "customer_add", "prevent_template_auto_update": 1, "template_filename": "acad-customer.mvc", "template_id": 279 } }, { "id": 333, "templ_id": 281, "user_id": 1, "parent_id": 0, "item_id": 50, "prop_id": 0, "sync": true, "filename": "acad-footer.mvc", "dtstamp": 1596484534, "source": "", "settings": { "template_filename": "acad-footer.mvc" } } ] } }