Merge pull request 'added total price of services' (#324) from 2342_service_charge into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
bd1ea0f8a0
|
@ -166,22 +166,20 @@
|
|||
<vn-table model="model">
|
||||
<vn-thead>
|
||||
<vn-tr>
|
||||
<vn-th shrink></vn-th>
|
||||
<vn-th class="identifier" number shrink>Id</vn-th>
|
||||
<vn-th number shrink>Quantity</vn-th>
|
||||
<vn-th expand>Description</vn-th>
|
||||
<vn-th number shrink>Price</vn-th>
|
||||
<vn-th class="tax-class">Tax class</vn-th>
|
||||
<vn-th number>Amount</vn-th>
|
||||
</vn-tr>
|
||||
</vn-thead>
|
||||
<vn-tbody>
|
||||
<vn-tr ng-repeat="service in $ctrl.summary.services">
|
||||
<vn-td></vn-td>
|
||||
<vn-td class="identifier" number shrink>{{::service.id}}</vn-td>
|
||||
<vn-td number shrink>{{::service.quantity}}</vn-td>
|
||||
<vn-td expand>{{::service.description}}</vn-td>
|
||||
<vn-td number shrink>{{::service.price}}</vn-td>
|
||||
<vn-td class="tax-class">{{::service.taxClass.description}}</vn-td>
|
||||
<vn-td number shrink>{{::service.price | currency: 'EUR':2}}</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-tbody>
|
||||
</vn-table>
|
||||
|
|
|
@ -53,7 +53,7 @@ vn-ticket-summary .summary {
|
|||
|
||||
.vn-table > vn-thead .tax-class,
|
||||
.vn-table > vn-tbody .tax-class {
|
||||
min-width: 176px;
|
||||
min-width: 90px;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue