mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 08:18:50 +00:00
Lists have been updated to group by store. This feature adds a new tab to the List view. Users can now view their items on the general (un-ordered) list, or can see their items gouped by store(s) the product has been assigned. If a product is on the list, and does not have an assigned store, it will not show on the new store grouped tab. Updated the dashboard card for update available information to place the update release notes in a prettier format.
27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
<template name="listItemTblByStore">
|
|
<div class="row">
|
|
<div class="col s12">
|
|
<span>Products with no assigned store, will not be displayed on this version of the list.</span>
|
|
<ul class="collection with-header">
|
|
{{#each stores}}
|
|
{{#if $eq storeInList true}}
|
|
<li class="collection-header"><h4>{{storeName}}</h4></li>
|
|
{{#each thisListItems}}
|
|
<li class="collection-item" id="{{_id}}-{{itemOrdered}}">
|
|
<span>
|
|
{{#if $eq itemOrdered true}}
|
|
<strike>{{itemName}}</strike>
|
|
{{else}}
|
|
{{itemName}}
|
|
{{/if}}
|
|
</span>
|
|
<i class="material-icons clickable deleteListItem right modal-trigger" href="#modalDelete">delete</i>
|
|
<i class="material-icons clickable markListItemReceived right">check</i>
|
|
</li>
|
|
{{/each}}
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</template>
|