class Vatcalc::Bill::Services
Public Class Methods
for()
click to toggle source
# File lib/vatcalc/bill.rb, line 214 def self.for ServiceElement end
Public Instance Methods
rates_changed!(rates)
click to toggle source
# File lib/vatcalc/bill.rb, line 218 def rates_changed!(rates) @vat_splitted = nil @gross, @vat, @net = [nil] * 3 each_gnv {|gnv,_| gnv.change_rates(rates)} end