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

58 lines
2.1 KiB
HTML
Raw Normal View History

2018-09-25 07:28:55 +00:00
<vn-card class="summary">
2020-11-23 12:41:51 +00:00
<h5>
<a ng-if="::$ctrl.summary.id"
vn-tooltip="Go to the zone"
ui-sref="zone.card.summary({id: {{::$ctrl.summary.id}}})"
name="goToSummary">
<vn-icon-button icon="launch"></vn-icon-button>
</a>
<span>#{{$ctrl.summary.id}} - {{$ctrl.summary.name}}</span>
</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>
<vn-label-value label="Closing hour"
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>
2021-01-08 14:43:33 +00:00
<h4>
<a ui-sref="zone.card.warehouses">
<span translate vn-tooltip="Edit warehouse">Warehouse</span>
</a>
</h4>
2019-11-25 07:35:34 +00:00
<vn-table model="model" auto-load="false">
2019-11-15 06:35:51 +00:00
<vn-thead>
<vn-tr>
<vn-th>Name</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
2019-11-25 07:35:34 +00:00
<vn-tr ng-repeat="zoneWarehouse in $ctrl.zoneWarehouses">
2019-11-15 06:35:51 +00:00
<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>