Sha256: c34a8c94dbe50d8a3d00728be3b5d74c656b3c1092f9a24538f745a721b719af

Contents?: true

Size: 143 Bytes

Versions: 2

Compression:

Stored size: 143 Bytes

Contents

module Workarea
  decorate Storefront::CartViewModel, with: :avatax do
    def show_taxes?
      super && tax_total.present?
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-avatax-4.2.1 app/view_models/workarea/storefront/cart_view_model.decorator
workarea-avatax-4.2.0 app/view_models/workarea/storefront/cart_view_model.decorator