Skip to content

[WIP] - #1

Open
ceneon wants to merge 40 commits into
masterfrom
develop
Open

[WIP]#1
ceneon wants to merge 40 commits into
masterfrom
develop

Conversation

@ceneon

@ceneon ceneon commented Nov 9, 2018

Copy link
Copy Markdown
Member

No description provided.

1. New header attribute: logo
2. Dynamic document code in header
Alineación y que si es muy largo no se superponga
'02' => { directory: 'notes', template: 'nota_a', doc_name: 'Nota de débito', doc_type: 'a' },
'07' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de débito', doc_type: 'b' },
}.freeze
IVA = 21.freeze

@ceneon ceneon Nov 9, 2018

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nan-apps empresa 1 vende algunos items con IVA 10.5% 😱

Comment thread lib/afip_bill/line_item.rb Outdated
#IVA = 21.freeze

def initialize(name, quantity, imp_unitario)
def initialize(name, quantity, imp_unitario, iva=nil)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

por compatibilidad si esto se va a volver una serie de PRs en el repo original, el default de iva acá debería ser 21

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hecho!

default iva in items
new field in footer: fch_vto_cae
making header dates optional. If they are not passed, they are not shown
Comment thread lib/afip_bill/generator.rb Outdated
'08' => { directory: 'notes', template: 'nota_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' }

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dudo si hará falta tarde o temprano su propio template 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants