Skip to content

Commit

Permalink
fix item discount
Browse files Browse the repository at this point in the history
  • Loading branch information
apokalipto committed Jul 25, 2018
1 parent d31f3eb commit 8590a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facturacr/document/item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def build_xml(node)
x.Detalle @description
x.PrecioUnitario @unit_price
x.MontoTotal @total
x.Discount @discount if @discount.present?
x.MontoDescuento @discount if @discount.present?
x.NaturalezaDescuento @discount_reason if @discount_reason.present?
x.SubTotal @subtotal
@taxes.each do |tax|
Expand Down

0 comments on commit 8590a59

Please sign in to comment.