You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the table is viewed on a smaller screen, the layout should adjust accordingly.
Current Behavior
The layout of the credit history table is static and causes layout issues on smaller screens.
Correcting the Issue
When updating layout from Elements, the credit history table was not updated to use responsive classes. I have added this update and it will be included in the next maintenance release. To make the update prior to the next release, you will need to update the code in User Interface -> Pages -> ABAL -> Customer Credit History List Layout:
<mvt:ifexpr="l.settings:customercredithistory:total_count EQ 0"><sectionclass="o-layout"><divclass="o-layout__item"><pclass="x-messages x-messages--info">No account credit entries.</p></div></section><mvt:exit />
</mvt:if><mvt:ifexpr="l.settings:customercredithistory:total_count GT 1"><sectionclass="u-flex o-layout--align-center o-layout--justify-between o-layout--wrap"><divclass="x-display-list-filtering"><navclass="x-display-list-filtering__per-page"><ulclass="o-list-bare"><liclass="o-list-block__item"><labelclass="c-form-label u-text-normal">Show:</label></li><mvt:ifexpr="g.Per_Page EQ 12"><liclass="o-list-inline__item"><spanclass="c-button u-bg-gray-40 u-color-white" title="Show 12 Credit Entries Per Page">12</span></li><mvt:else><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=12" title="Show 12 Credit Entries Per Page">12</a></li></mvt:if><mvt:ifexpr="g.Per_Page EQ 24"><liclass="o-list-inline__item"><spanclass="c-button u-bg-gray-40 u-color-white" title="Show 24 Credit Entries Per Page">24</span></li><mvt:else><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=24" title="Show 24 Credit Entries Per Page">24</a></li></mvt:if><mvt:ifexpr="g.Per_Page EQ -1"><liclass="o-list-inline__item"><spanclass="c-button u-bg-gray-40 u-color-white" title="Show All Credit Entries">All</span></li><mvt:else><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;Sort_By=&mvte:global:Sort_By;&Per_Page=-1" title="Show All Credit Entries">All</a></li></mvt:if></ul></nav><formclass="x-display-list-filtering__sort-by"><fieldset><legend>Sort Credit Entries By</legend><ulclass="c-form-list"><liclass="c-form-list__item"><labelclass="c-form-label u-text-normal" for="l-sort_by">Sort By:</label><divclass="c-form-select"><selectid="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 );"><mvt:ifexpr="ISNULL g.Sort_By"><optionvalue="id" selected="selected">Default</option><mvt:else><optionvalue="id">Default</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'orderid_asc'"><optionvalue="orderid_asc" selected="selected">Order Ascending</option><mvt:else><optionvalue="orderid_asc">Order Ascending</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'orderid_desc'"><optionvalue="orderid_desc" selected="selected">Order Descending</option><mvt:else><optionvalue="orderid_desc">Order Descending</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'amount_asc'"><optionvalue="amount_asc" selected="selected">Amount Ascending</option><mvt:else><optionvalue="amount_asc">Amount Ascending</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'amount_desc'"><optionvalue="amount_desc" selected="selected">Amount Descending</option><mvt:else><optionvalue="amount_desc">Amount Descending</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'dtstamp_asc'"><optionvalue="dtstamp_asc" selected="selected">Date Ascending</option><mvt:else><optionvalue="dtstamp_asc">Date Ascending</option></mvt:if><mvt:ifexpr="g.Sort_By EQ 'dtstamp_desc'"><optionvalue="dtstamp_desc" selected="selected">Date Descending</option><mvt:else><optionvalue="dtstamp_desc">Date Descending</option></mvt:if></select></div></li></ul></fieldset></form></div><!-- end .x-display-list-filtering --><mvt:ifexpr="l.settings:customercredithistory:page_links:last_page GT 1"><navclass="x-pagination"><ulclass="o-list-inline"><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page NE 1"><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:prev_link_params;" title="Go to the previous page."><spanclass="u-icon-triangle-left"></span></a></li><mvt:else><liclass="o-list-inline__item"><spanclass="c-button" title="You are on the first page."><spanclass="u-icon-triangle-left"></span></span></li></mvt:if><mvt:ifexpr="NOT l.settings:customercredithistory:page_links:contains_first"><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:first_link_params;" title="Go to first page.">1…</a></li></mvt:if><mvt:foreachiterator="pages" array="customercredithistory:page_links:pages"><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page EQ l.settings:pages:page_num"><liclass="o-list-inline__item"><spanclass="u-text-bold" title="You are on page &mvte:pages:page_num;.">&mvte:pages:page_num;</span></li><mvt:else><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:pages:link_params;" title="Go to page &mvte:pages:page_num;.">&mvte:pages:page_num;</a></li></mvt:if></mvt:foreach><mvt:ifexpr="NOT l.settings:customercredithistory:page_links:contains_last"><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:last_link_params;" title="Go to last page.">…&mvte:customercredithistory:page_links:last_page;</a></li></mvt:if><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page NE l.settings:customercredithistory:page_links:last_page"><aclass="button cmp-product-list__next-previous cmp-product-list__next-previous--next" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;"><span></span><spanclass="icon--arrow-right-long"></span></a><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;" title="Go to the next page."><spanclass="u-icon-triangle-right"></span></a></li><mvt:else><liclass="o-list-inline__item"><spanclass="c-button" title="You are on the last page."><spanclass="u-icon-triangle-right"></span></span></li></mvt:if></ul></nav><!-- end .x-pagination --></mvt:if></section></mvt:if><sectionclass="o-layout"><divclass="o-layout__item"><tableclass="c-table-responsivee"><theadclass="c-table-responsive_thead"><trclass="c-table-responsive__row u-color-gray-30 u-font-small u-text-bold u-text-uppercase"><thclass="c-table-responsive__cell" scope="col">Order #</th><thclass="c-table-responsive__cell" scope="col">Transaction Reference</th><thclass="c-table-responsive__cell" scope="col">Description</th><thclass="c-table-responsive__cell" scope="col">Date</th><thclass="c-table-responsive__cell" scope="col">Amount</th></tr></thead><tbody><mvt:foreachiterator="credit_entry" array="customercredithistory:items"><trclass="c-table-responsive__row"><tdclass="c-table-responsive__cell c-table-responsive__cell--flex" data-label="Order #"><mvt:ifexpr="l.settings:credit_entry:order_id EQ 0">
N/A
<mvt:else>
&mvte:credit_entry:order_id;
</mvt:if></td><tdclass="c-table-responsive__cell c-table-responsive__cell--flex" data-label="Transaction">&mvte:credit_entry:txref;</td><tdclass="c-table-responsive__cell c-table-responsive__cell--flex" data-label="Description">&mvte:credit_entry:descrip;</td><tdclass="c-table-responsive__cell c-table-responsive__cell--flex" data-label="Date">&mvt:credit_entry:formatted_dtstamp;</td><tdclass="c-table-responsive__cell c-table-responsive__cell--flex" data-label="Amount">&mvt:credit_entry:formatted_amount;</td></tr></mvt:foreach></tbody></table></div></section><mvt:ifexpr="l.settings:customercredithistory:page_links:last_page GT 1"><navclass="x-pagination x-pagination--centered"><ulclass="o-list-inline"><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page NE 1"><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:prev_link_params;" title="Go to the previous page."><spanclass="u-icon-triangle-left"></span></a></li><mvt:else><liclass="o-list-inline__item"><spanclass="c-button" title="You are on the first page."><spanclass="u-icon-triangle-left"></span></span></li></mvt:if><mvt:ifexpr="NOT l.settings:customercredithistory:page_links:contains_first"><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:first_link_params;" title="Go to first page.">1…</a></li></mvt:if><mvt:foreachiterator="pages" array="customercredithistory:page_links:pages"><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page EQ l.settings:pages:page_num"><liclass="o-list-inline__item"><spanclass="u-text-bold" title="You are on page &mvte:pages:page_num;.">&mvte:pages:page_num;</span></li><mvt:else><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:pages:link_params;" title="Go to page &mvte:pages:page_num;.">&mvte:pages:page_num;</a></li></mvt:if></mvt:foreach><mvt:ifexpr="NOT l.settings:customercredithistory:page_links:contains_last"><liclass="o-list-inline__item"><ahref="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:last_link_params;" title="Go to last page.">…&mvte:customercredithistory:page_links:last_page;</a></li></mvt:if><mvt:ifexpr="l.settings:customercredithistory:page_links:current_page NE l.settings:customercredithistory:page_links:last_page"><aclass="button cmp-product-list__next-previous cmp-product-list__next-previous--next" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;"><span></span><spanclass="icon--arrow-right-long"></span></a><liclass="o-list-inline__item"><aclass="c-button" href="&mvte:urls:_self:auto_sep;&mvte:customercredithistory:page_links:next_link_params;" title="Go to the next page."><spanclass="u-icon-triangle-right"></span></a></li><mvt:else><liclass="o-list-inline__item"><spanclass="c-button" title="You are on the last page."><spanclass="u-icon-triangle-right"></span></span></li></mvt:if></ul></nav><!-- end .x-pagination --></mvt:if>
The text was updated successfully, but these errors were encountered:
Expected Behavior
When the table is viewed on a smaller screen, the layout should adjust accordingly.
Current Behavior
The layout of the credit history table is static and causes layout issues on smaller screens.
Correcting the Issue
When updating layout from Elements, the credit history table was not updated to use responsive classes. I have added this update and it will be included in the next maintenance release. To make the update prior to the next release, you will need to update the code in
User Interface -> Pages -> ABAL -> Customer Credit History List Layout
:The text was updated successfully, but these errors were encountered: