Sha256: 940e37c7509ad8667044ec0d1f007b45b77629f3478a1a188676799d3e44e1c8

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

Spree.Views.Tables.ReturnItems = Backbone.View.extend({
  initialize: function() {
    if(this.$el.hasClass('return-items-table')) {
      var tfoot = document.createElement('tfoot')
      new Spree.Views.Tables.SelectableTable.SumReturnItemAmount({el: tfoot, model: this.model});
      this.$el.append(tfoot);
    }
  },
})

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.11.4 app/assets/javascripts/spree/backend/views/tables/return_items.js
solidus_backend-2.11.3 app/assets/javascripts/spree/backend/views/tables/return_items.js
solidus_backend-2.11.2 app/assets/javascripts/spree/backend/views/tables/return_items.js
solidus_backend-2.11.1 app/assets/javascripts/spree/backend/views/tables/return_items.js
solidus_backend-2.11.0 app/assets/javascripts/spree/backend/views/tables/return_items.js