fix author
This commit is contained in:
@@ -83,8 +83,8 @@
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
|
||||
.text-nowrap {
|
||||
text-wrap: nowrap;
|
||||
.whitespace-nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@@ -177,9 +177,9 @@
|
||||
<tr>
|
||||
<td>Colaborador</td>
|
||||
<td>Curso</td>
|
||||
<td>Matriculado em</td>
|
||||
<td class="whitespace-nowrap">Matriculado em</td>
|
||||
<td>Autor</td>
|
||||
<td>Valor unit.</td>
|
||||
<td class="whitespace-nowrap">Valor unit.</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -187,12 +187,14 @@
|
||||
<tr>
|
||||
<td>{{ x.user.name }}</td>
|
||||
<td>{{ x.course.name }}</td>
|
||||
<td class="text-nowrap">
|
||||
<td class="whitespace-nowrap">
|
||||
{{ x.enrolled_at|datetime_format('%d/%m/%Y, %H:%M')
|
||||
}}
|
||||
</td>
|
||||
<td>{{ x.author.name }}</td>
|
||||
<td class="text-nowrap">{{ x.unit_price|currency }}</td>
|
||||
<td>{{ x.author.name if x.author else 'N/A' }}</td>
|
||||
<td class="whitespace-nowrap">
|
||||
{{ x.unit_price|currency }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -204,7 +206,7 @@
|
||||
>
|
||||
Total
|
||||
</td>
|
||||
<td>
|
||||
<td class="whitespace-nowrap">
|
||||
{{ items|
|
||||
map(attribute='unit_price')|map('float')|sum|currency
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user