diff --git a/lib/afip_bill/assets/images/factura_a.jpg b/lib/afip_bill/assets/images/factura_a.jpg index 5b20011..69c029f 100644 Binary files a/lib/afip_bill/assets/images/factura_a.jpg and b/lib/afip_bill/assets/images/factura_a.jpg differ diff --git a/lib/afip_bill/assets/images/factura_b.jpg b/lib/afip_bill/assets/images/factura_b.jpg index bba1b1d..6eca9cf 100644 Binary files a/lib/afip_bill/assets/images/factura_b.jpg and b/lib/afip_bill/assets/images/factura_b.jpg differ diff --git a/lib/afip_bill/assets/images/factura_c.jpg b/lib/afip_bill/assets/images/factura_c.jpg index bba1b1d..6eca9cf 100644 Binary files a/lib/afip_bill/assets/images/factura_c.jpg and b/lib/afip_bill/assets/images/factura_c.jpg differ diff --git a/lib/afip_bill/generator.rb b/lib/afip_bill/generator.rb index f7fc4cf..1cf272b 100644 --- a/lib/afip_bill/generator.rb +++ b/lib/afip_bill/generator.rb @@ -13,14 +13,14 @@ class Generator FOOTER_PATH = File.dirname(__FILE__) + '/views/shared/_factura_footer.html.erb'.freeze BRAVO_CBTE_TIPO = { '01' => { directory: 'bills', template: 'factura_a', doc_name: 'factura', doc_type: 'a' }, - '02' => { directory: 'notes', template: 'nota_a', doc_name: 'Nota de débito', doc_type: 'a' }, - '03' => { directory: 'notes', template: 'nota_a', doc_name: 'Nota de crédito', doc_type: 'a' }, + '02' => { directory: 'bills', template: 'factura_a', doc_name: 'Nota de débito', doc_type: 'a' }, + '03' => { directory: 'bills', template: 'factura_a', doc_name: 'Nota de crédito', doc_type: 'a' }, '06' => { directory: 'bills', template: 'factura_b', doc_name: 'factura', doc_type: 'b' }, - '07' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de débito', doc_type: 'b' }, - '08' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de crédito', doc_type: 'b' }, + '07' => { directory: 'bills', template: 'factura_b', doc_name: 'Nota de débito', doc_type: 'b' }, + '08' => { directory: 'bills', template: 'factura_b', doc_name: 'Nota de crédito', doc_type: 'b' }, '11' => { directory: 'bills', template: 'factura_b', doc_name: 'factura', doc_type: 'c' }, - '12' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de débito', doc_type: 'c' }, - '13' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de crédito', doc_type: 'c' } + '12' => { directory: 'bills', template: 'factura_b', doc_name: 'Nota de débito', doc_type: 'c' }, + '13' => { directory: 'bills', template: 'factura_b', doc_name: 'Nota de crédito', doc_type: 'c' } }.freeze IVA = 21.freeze DEFAULTS = { diff --git a/lib/afip_bill/views/bills/factura_a.html.erb b/lib/afip_bill/views/bills/factura_a.html.erb index c16849d..a9feff8 100644 --- a/lib/afip_bill/views/bills/factura_a.html.erb +++ b/lib/afip_bill/views/bills/factura_a.html.erb @@ -1,33 +1,33 @@ <%= @template_header %> -