Skip to content
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

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

[WIP] #1

wants to merge 36 commits into from

Conversation

ceneon
Copy link
Member

@ceneon ceneon commented Nov 9, 2018

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
'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
Copy link
Member Author

@ceneon ceneon Nov 9, 2018

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% 😱


def initialize(name, quantity, imp_unitario)
def initialize(name, quantity, imp_unitario, iva=nil)
Copy link
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
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
'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
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