fix: pdf templates

This commit is contained in:
Ahmed Bouhuolia
2024-09-17 17:46:56 +02:00
parent 2c790427fa
commit bb0d91a9cb
11 changed files with 177 additions and 131 deletions

View File

@@ -41,9 +41,6 @@ block head
.#{prefix}-terms-item__label{
min-width: 120px;
color: #333;
}
.#{prefix}-group{
}
.#{prefix}-addresses{
box-sizing: border-box;
@@ -95,12 +92,6 @@ block head
}
.#{prefix}-table__cell--right {
text-align: right;
}
.#{prefix}-table__column{
}
.#{prefix}-table__column--right{
}
.#{prefix}-totals {
display: flex;
@@ -177,11 +168,11 @@ block content
div(class=`${prefix}-totals`)
if showSubtotal
div(class=`${prefix}-totals__item`)
div(class=`${prefix}-totals__item ${prefix}-totals__item--gray-border`)
div(class=`${prefix}-totals__item-label`) #{subtotalLabel}
div(class=`${prefix}-totals__item-amount`) #{subtotal}
if showTotal
div(class=`${prefix}-totals__item`)
div(class=`${prefix}-totals__item ${prefix}-totals__item--dark-border`)
div(class=`${prefix}-totals__item-label`) #{totalLabel}
div(class=`${prefix}-totals__item-amount`) #{total}