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