Sha256: 32482ed0ca909e4d767c1c55c256d9341232d9318f0590a2ee3976482a7dd3e0
Contents?: true
Size: 282 Bytes
Versions: 7
Compression:
Stored size: 282 Bytes
Contents
Spree::ReturnItem.class_eval do unless ::Returnly.is_solidus? attr_accessor :amount def amount self.total_excluding_vat + self.included_tax_total end def amount=(amount) self.total_excluding_vat = amount - self.included_tax_total end end end
Version data entries
7 entries across 7 versions & 2 rubygems