-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] #1
base: master
Are you sure you want to change the base?
Conversation
1. New header attribute: logo 2. Dynamic document code in header
Alineación y que si es muy largo no se superponga
'08' => { directory: 'notes', template: 'nota_b', doc_name: 'Nota de crédito', doc_type: 'b' }, | ||
'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 |
There was a problem hiding this comment.
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% 😱
width adjustments in invoices header
lib/afip_bill/line_item.rb
Outdated
|
||
def initialize(name, quantity, imp_unitario) | ||
def initialize(name, quantity, imp_unitario, iva=nil) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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' } |
There was a problem hiding this comment.
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 🤔
No description provided.