Sha256: dad5b9c36c783ba069f2026a312d205a255970a73c617afb4c482ee0b5e3baa9
Contents?: true
Size: 1.82 KB
Versions: 14
Compression:
Stored size: 1.82 KB
Contents
<script type='text/template' id='variant_line_items_autocomplete_stock_template'> <fieldset> <legend align="center"><%= Spree.t(:select_stock) %></legend> <table class="stock-levels" data-hook="stock-levels"> <colgroup> <col style="width: 30%;" /> <col style="width: 40%;" /> <col style="width: 30%;" /> </colgroup> <thead> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:count_on_hand) %></th> <th><%= Spree.t(:quantity) %></th> <th class="actions"></th> </thead> <tbody> <tr> <td>{{variant.name}}</td> {{#unless variant.track_inventory}} <td> It doesnt track inventory </td> <td> <input class="quantity" id="variant_quantity" data-variant-id="{{variant.id}}" type="number" min="1" value="1"> </td> <td class="actions"> <button class="add_variant no-text fa fa-plus icon_link with-tip" data-variant-id="{{this.variant_id}}" title="<%= Spree.t(:add) %>" data-action="add"></button> </td> {{else}} {{#if variant.total_on_hand}} <td> {{variant.total_on_hand}} </td> <td> <input class="quantity" id="variant_quantity" data-variant-id="{{variant.id}}" type="number" min="1" value="1"> </td> <td class="actions"> <button class="add_variant no-text fa fa-plus icon_link with-tip" data-variant-id="{{variant.id}}" title="<%= Spree.t(:add) %>" data-action="add"></button> </td> {{else}} <td><%= Spree.t(:out_of_stock) %></td> <td>0</td> {{/if}} {{/unless}} </tr> </tbody> </table> </fieldset> </script>
Version data entries
14 entries across 14 versions & 1 rubygems