salix/modules/travel/front/extra-community/index.html

50 lines
1.8 KiB
HTML
Raw Normal View History

2020-11-11 11:34:07 +00:00
<vn-crud-model auto-load="true"
vn-id="model"
2020-11-13 08:30:40 +00:00
url="Travels/extraCommunityFilter"
data="travels">
2020-11-11 11:34:07 +00:00
</vn-crud-model>
2020-11-13 08:30:40 +00:00
<vn-portal slot="topbar">
<vn-searchbar
vn-focus
placeholder="Search by travel id"
info="Search by travel id"
auto-state="false"
model="model">
</vn-searchbar>
</vn-portal>
2020-11-11 11:34:07 +00:00
<vn-data-viewer model="model">
<vn-card>
2020-11-13 08:30:40 +00:00
<section ng-repeat="travel in travels" class="vn-pa-md">
2020-11-11 11:34:07 +00:00
<vn-horizontal class="header">
2020-11-13 08:30:40 +00:00
<vn-table>
<vn-thead>
<vn-tr>
<vn-th>{{travel.id}}</vn-th>
<vn-th>{{travel.supplierNickname}}</vn-th>
</vn-tr>
</vn-thead>
</vn-table>
<!-- <h5><span></span></h5> -->
2020-11-11 11:34:07 +00:00
</vn-horizontal>
2020-11-13 08:30:40 +00:00
<!-- <vn-table>
2020-11-11 11:34:07 +00:00
<vn-thead>
<vn-tr>
<vn-th class="waste-family">Family</vn-th>
<vn-th number>Percentage</vn-th>
<vn-th number>Dwindle</vn-th>
<vn-th number>Total</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="waste in detail.lines">
<vn-td class="waste-family">{{::waste.family}}</vn-td>
<vn-td number>{{::(waste.percentage / 100) | percentage: 2}}</vn-td>
<vn-td number>{{::waste.dwindle | currency: 'EUR'}}</vn-td>
<vn-td number>{{::waste.total | currency: 'EUR'}}</vn-td>
</vn-tr>
</vn-tbody>
2020-11-13 08:30:40 +00:00
</vn-table> -->
2020-11-11 11:34:07 +00:00
</section>
</vn-card>
</vn-data-viewer>