salix/modules/agency/front/summary/index.html

51 lines
1.8 KiB
HTML
Raw Normal View History

2019-11-15 06:35:51 +00:00
<vn-crud-model auto-load="true"
url="Zones/{{$ctrl.$params.id}}/warehouses"
include="{relation: 'warehouse'}"
data="zoneWarehouses">
</vn-crud-model>
2018-09-25 07:28:55 +00:00
<vn-card class="summary">
2019-11-15 06:35:51 +00:00
<h5>#{{$ctrl.summary.id}} - {{$ctrl.summary.name}}</h5>
<vn-horizontal class="vn-pa-md">
2019-03-14 14:07:24 +00:00
<vn-one>
<vn-label-value label="Agency"
value="{{$ctrl.summary.agencyMode.name}}">
</vn-label-value>
2019-11-15 06:35:51 +00:00
<vn-label-value label="Price"
value="{{$ctrl.summary.price | currency: 'EUR': 2}}">
</vn-label-value>
<vn-label-value label="Bonus"
value="{{$ctrl.summary.bonus | currency: 'EUR': 2}}">
</vn-label-value>
2019-03-14 14:07:24 +00:00
</vn-one>
<vn-one>
2019-10-14 06:09:13 +00:00
<vn-label-value label="Closing hour (ETD)"
value="{{$ctrl.summary.hour | date: 'HH:mm'}}">
2019-03-14 14:07:24 +00:00
</vn-label-value>
<vn-label-value label="Traveling days"
value="{{$ctrl.summary.travelingDays}}">
</vn-label-value>
<vn-vertical>
<vn-check label="Volumetric" disabled="true"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.summary.isVolumetric">
2019-03-14 14:07:24 +00:00
</vn-check>
</vn-vertical>
</vn-one>
</vn-horizontal>
2019-11-15 06:35:51 +00:00
<vn-horizontal class="vn-pa-md">
<vn-auto>
<h4 translate>Warehouses</h4>
<vn-table model="model">
<vn-thead>
<vn-tr>
<vn-th>Name</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="zoneWarehouse in zoneWarehouses">
<vn-td>{{zoneWarehouse.warehouse.name}}</vn-td>
</vn-tr>
</vn-tbody>
</vn-table>
</vn-auto>
</vn-horizontal>
2018-09-25 07:28:55 +00:00
</vn-card>