Repository navigation
feat(i18n): PDF de cotizacion en el idioma del usuario #77
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "title": "QUOTE", | ||
| "footer": "Page {number}", | ||
| "meta": { | ||
| "number": "Number", | ||
| "title": "Title", | ||
| "status": "Status", | ||
| "validUntil": "Valid until", | ||
| "currency": "Currency" | ||
| }, | ||
| "customer": { | ||
| "label": "CUSTOMER", | ||
| "attention": "Attn: {name}" | ||
| }, | ||
| "items": "LINE ITEMS", | ||
| "table": { | ||
| "description": "Description", | ||
| "quantity": "Qty.", | ||
| "unitPrice": "Unit price", | ||
| "discount": "Disc.%", | ||
| "amount": "Amount" | ||
| }, | ||
| "totals": { | ||
| "subtotal": "Subtotal", | ||
| "discount": "Discount", | ||
| "tax": "Tax ({rate}%)", | ||
| "total": "TOTAL" | ||
| }, | ||
| "notes": "NOTES", | ||
| "terms": "TERMS AND CONDITIONS", | ||
| "status": { | ||
| "draft": "Draft", | ||
| "sent": "Sent", | ||
| "accepted": "Accepted", | ||
| "rejected": "Rejected", | ||
| "expired": "Expired" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "title": "COTIZACIÓN", | ||
| "footer": "Página {number}", | ||
| "meta": { | ||
| "number": "Número", | ||
| "title": "Título", | ||
| "status": "Estado", | ||
| "validUntil": "Válida hasta", | ||
| "currency": "Moneda" | ||
| }, | ||
| "customer": { | ||
| "label": "CLIENTE", | ||
| "attention": "Attn: {name}" | ||
| }, | ||
| "items": "DETALLE DE SERVICIOS / PRODUCTOS", | ||
| "table": { | ||
| "description": "Descripción", | ||
| "quantity": "Cant.", | ||
| "unitPrice": "Precio Unit.", | ||
| "discount": "Desc.%", | ||
| "amount": "Importe" | ||
| }, | ||
| "totals": { | ||
| "subtotal": "Subtotal", | ||
| "discount": "Descuento", | ||
| "tax": "Impuesto ({rate}%)", | ||
| "total": "TOTAL" | ||
| }, | ||
| "notes": "NOTAS", | ||
| "terms": "TÉRMINOS Y CONDICIONES", | ||
| "status": { | ||
| "draft": "Borrador", | ||
| "sent": "Enviada", | ||
| "accepted": "Aceptada", | ||
| "rejected": "Rechazada", | ||
| "expired": "Vencida" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| Acme SA | ||
| COTIZACIÓN | ||
| Número: Q-2026-0001 | ||
| Título: Implementacion CRM | ||
| Estado: ENVIADA | ||
| Válida hasta: 01/09/2026 | ||
| Moneda: USD | ||
| CLIENTE | ||
| Comercial Norte SA | ||
| Attn: Ana | ||
| DETALLE DE SERVICIOS / PRODUCTOS | ||
| Descripción Cant. Precio Unit. Desc.% Importe | ||
| Consultoria 10 USD 100.00 0% 1,000.00 | ||
| Licencia 2.5 USD 250.00 20% 500.00 | ||
| Subtotal: USD 1,500.00 | ||
| Descuento: -USD 50.00 | ||
| Impuesto (16%): USD 232.00 | ||
| TOTAL: USD 1,682.00 | ||
| NOTAS | ||
| Gracias por su preferencia | ||
| TÉRMINOS Y CONDICIONES | ||
| Pago a 30 dias | ||
| Página 1 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
When a quote contains an accepted positive quantity below
0.0000005(the sales schemas impose no minimum precision), formatting with six fixed decimal places rounds it to zero before trimming, so a quantity such as0.0000001is printed as0in the PDF. The previous:grendering retained this value as1e-07; the variable-decimal path should preserve enough significant digits rather than silently changing a nonzero quantity.Useful? React with 👍 / 👎.