added total price of services
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-06-23 14:53:41 +02:00
parent cd5ec02e42
commit 984e8fd794
2 changed files with 5 additions and 3 deletions

View File

@ -172,6 +172,7 @@
<vn-th expand>Description</vn-th> <vn-th expand>Description</vn-th>
<vn-th number shrink>Price</vn-th> <vn-th number shrink>Price</vn-th>
<vn-th class="tax-class">Tax class</vn-th> <vn-th class="tax-class">Tax class</vn-th>
<vn-th number>Amount</vn-th>
</vn-tr> </vn-tr>
</vn-thead> </vn-thead>
<vn-tbody> <vn-tbody>
@ -180,8 +181,9 @@
<vn-td class="identifier" number shrink>{{::service.id}}</vn-td> <vn-td class="identifier" number shrink>{{::service.id}}</vn-td>
<vn-td number shrink>{{::service.quantity}}</vn-td> <vn-td number shrink>{{::service.quantity}}</vn-td>
<vn-td expand>{{::service.description}}</vn-td> <vn-td expand>{{::service.description}}</vn-td>
<vn-td number shrink>{{::service.price}}</vn-td> <vn-td number shrink>{{::service.price | currency: 'EUR':2}}</vn-td>
<vn-td class="tax-class">{{::service.taxClass.description}}</vn-td> <vn-td class="tax-class"><span title="{{::service.taxClass.description}}">{{::service.taxClass.description}}</span></vn-td>
<vn-td number>{{::service.quantity * service.price | currency: 'EUR':2}}</vn-td>
</vn-tr> </vn-tr>
</vn-tbody> </vn-tbody>
</vn-table> </vn-table>

View File

@ -53,7 +53,7 @@ vn-ticket-summary .summary {
.vn-table > vn-thead .tax-class, .vn-table > vn-thead .tax-class,
.vn-table > vn-tbody .tax-class { .vn-table > vn-tbody .tax-class {
min-width: 176px; min-width: 90px;
width: 1px; width: 1px;
} }