app/models/extface/driver/datecs/dp35.rb in extface-0.6.4 vs app/models/extface/driver/datecs/dp35.rb in extface-0.6.5

- old
+ new

@@ -278,10 +278,10 @@ "".b.tap() do |data| data << encoded_text1 unless encoded_text1.blank? data << "\x0a#{encoded_text2}" unless encoded_text2.blank? data << "\t" - data << TAX_GROUPS_MAP[item.tax_group || 2] + data << TAX_GROUPS_MAP[item.tax_group || 2].b data << ("%.2f" % item.price) data << "*#{item.qty.to_s}" unless item.qty.blank? data << ",#{item.percent}" unless item.percent.blank? data << ",;#{'%.2f' % item.neto}" unless item.neto.blank? end