feat: fix border
This commit is contained in:
@@ -66,6 +66,10 @@
|
|||||||
background-color: #dbdbdb;
|
background-color: #dbdbdb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr {
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
|
|
||||||
td, th {
|
td, th {
|
||||||
padding: 16px 13px;
|
padding: 16px 13px;
|
||||||
}
|
}
|
||||||
@@ -90,6 +94,11 @@
|
|||||||
width: 170px;
|
width: 170px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table tfoot {
|
||||||
|
border-top: 2px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -124,17 +133,20 @@
|
|||||||
<th>Цена</th>
|
<th>Цена</th>
|
||||||
<th>Сумма</th>
|
<th>Сумма</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tfoot>
|
||||||
|
</tfoot>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for service in services %}
|
{% for service in services %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ service.name }}</td>
|
<td>{{ service.name }}</td>
|
||||||
<td>{{ service.amount }}</td>
|
<td>{{ service.amount }}</td>
|
||||||
<td>{{ service.price }}</td>
|
<td>{{ service.price }}</td>
|
||||||
<td>{{ service.price * service.amount }}</td>
|
<td>{{ service.price * service.amount }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|||||||
Reference in New Issue
Block a user