lib/billme/factory.rb in billme-0.6.0 vs lib/billme/factory.rb in billme-0.13.0

- old
+ new

@@ -23,9 +23,10 @@ section = ServicesSection.new section.instance_eval &block @data[:services] = section.data @data[:services][:total] = section.total @data[:services][:subtotal] = section.subtotal + @data[:services][:tax_percentage] = section.data[:tax].to_f * 100 @data[:services][:tax] = section.total - section.subtotal end def render erb = ERB.new(File.read(@template_file_path)) \ No newline at end of file