diff --git a/lib/afip_bill/generator.rb b/lib/afip_bill/generator.rb index 6fe8784..59e4a3c 100644 --- a/lib/afip_bill/generator.rb +++ b/lib/afip_bill/generator.rb @@ -25,7 +25,7 @@ def initialize(bill, user, line_items = [], header_text = 'ORIGINAL') end def type_a_or_b_bill - BRAVO_CBTE_TIPO[afip_bill["cbte_tipo"]][-1].downcase + CBTE_TIPO[afip_bill["cbte_tipo"]][-1].downcase end def barcode