diff --git a/modules/customer-invoices/templates/alonsoysal/issued-invoice.hbs b/modules/customer-invoices/templates/alonsoysal/issued-invoice.hbs index 58f94866..827033c2 100644 --- a/modules/customer-invoices/templates/alonsoysal/issued-invoice.hbs +++ b/modules/customer-invoices/templates/alonsoysal/issued-invoice.hbs @@ -97,18 +97,8 @@ margin-bottom: 10px; } - /* Anchos por columna */ - .col-concepto { width: 75%; text-align: left; } - .col-cantidad { width: 5%; text-align: center;} - .col-precio { width: 10%; text-align: right;} - .col-total { width: 10%; text-align: right;} - table th, table td { - border-top: 0px solid; - border-left: 1px solid #000; - border-right: 1px solid #000; - border-bottom: 0px solid; padding: 3px 10px; text-align: left; vertical-align: top; @@ -132,11 +122,18 @@ font-weight: bold; } - .resume-table { - width: 100%; - border-collapse: collapse; - font-size: 9pt; - font-family: Tahoma, sans-serif; + /* Anchos por columna */ + .col-concepto { width: auto; text-align: left; } + .col-cantidad { width: 70px; text-align: center; border-right: 1px solid #000;} + .col-precio { width: 110px; text-align: right; border-right: 1px solid #000;} + .col-total { width: 110px; text-align: right; } + + .resume-table td { + background: #f0f0f0; /* gris como en la imagen */ + } + + .resume-table th { + border: transparent; /* gris como en la imagen */ } /* Columna izquierda (notas / forma de pago) */ @@ -171,12 +168,7 @@ border: 1px solid #000; } - .total { - color: #d10000; - font-weight: bold; - text-align: right; - } - + .resume-table .empty { border: 1px solid transparent; } @@ -270,14 +262,48 @@
{{#each items}}| + {{#if discount_percentage}} + | Importe neto | +Dto {{discount_percentage}} | + {{/if}} +Base imponible | + {{#each taxes}} +{{tax_name}} | + {{/each}} +Total | +
|---|---|---|---|---|---|
| + {{#if discount_percentage}} + | {{subtotal_amount}} | +{{discount_amount.value}} | + {{/if}} +{{taxable_amount}} | + {{#each taxes}} +{{taxes_amount}} | + {{/each}} +{{total_amount}} | +
|
@@ -289,37 +315,12 @@
Notas: {{notes}} {{/if}} |
-
- {{#if discount_percentage}}
- Importe neto | -{{subtotal_amount}} | - {{else}} -Base imponible | -{{taxable_amount}} | - {{/if}}||
| Dto {{discount_percentage}} | -{{discount_amount.value}} | -|||||
| Base imponible | -{{taxable_amount}} | -|||||
| {{tax_name}} | -{{taxes_amount}} | -|||||
| Total factura | -{{total_amount}} | +|||||