salix/modules/ticket/front/volume/index.html

69 lines
2.8 KiB
HTML
Raw Normal View History

2018-11-27 14:02:54 +00:00
<vn-crud-model auto-load="false"
2018-07-17 06:44:31 +00:00
vn-id="model"
url="sales"
2018-07-17 06:44:31 +00:00
filter="::$ctrl.filter"
2020-03-18 07:35:59 +00:00
link="{ticketFk: $ctrl.$params.id}"
2019-03-26 08:33:54 +00:00
data="$ctrl.sales"
limit="20">
</vn-crud-model>
<vn-vertical>
<vn-card class="vn-pa-lg">
<vn-horizontal>
<div class="totalBox" ng-repeat="packingType in $ctrl.packingTypeVolume">
<vn-label-value label="Tipo"
value="{{::packingType.description}}">
</vn-label-value>
<vn-label-value label="Volumen"
value="{{::packingType.volume}}">
</vn-label-value>
</div>
</vn-horizontal>
<vn-vertical>
2018-07-17 06:44:31 +00:00
<vn-table model="model">
<vn-thead>
<vn-tr>
<vn-th field="itemFk" number>Item</vn-th>
<vn-th field="concept" default-order="ASC">Description</vn-th>
<vn-th field="itemPackingTypeFk" number>Packing type</vn-th>
2018-07-17 06:44:31 +00:00
<vn-th field="quantity" number>Quantity</vn-th>
<vn-th number>m³ per quantity</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
2019-03-26 08:33:54 +00:00
<vn-tr ng-repeat="sale in $ctrl.sales">
<vn-td number>
<span
ng-click="itemDescriptor.show($event, sale.itemFk, sale.id)"
2019-02-10 21:52:35 +00:00
class="link">
{{sale.itemFk | zeroFill:6}}
</span>
2018-07-17 06:44:31 +00:00
</vn-td>
2021-01-28 14:10:47 +00:00
<vn-td vn-fetched-tags>
<div>
<vn-one title="{{::sale.item.name}}">{{::sale.item.name}}</vn-one>
<vn-one ng-if="::sale.item.subName">
<h3 title="{{::sale.item.subName}}">{{::sale.item.subName}}</h3>
</vn-one>
</div>
2021-01-28 14:10:47 +00:00
<vn-fetched-tags
max-length="6"
2019-03-29 07:01:15 +00:00
item="::sale.item"
2021-01-28 14:10:47 +00:00
tabindex="-1">
</vn-fetched-tags>
2019-03-22 14:05:15 +00:00
</vn-td>
<vn-td number>{{::sale.item.itemPackingTypeFk}}</vn-td>
2018-07-17 06:44:31 +00:00
<vn-td number>{{::sale.quantity}}</vn-td>
2020-06-12 09:26:32 +00:00
<vn-td number>{{::sale.saleVolume.volume | number:3}}</vn-td>
2018-07-17 06:44:31 +00:00
</vn-tr>
</vn-tbody>
</vn-table>
</vn-vertical>
2019-01-20 17:48:03 +00:00
<vn-pagination model="model"></vn-pagination>
</vn-card>
2018-07-17 06:44:31 +00:00
</vn-vertical>
2020-04-25 09:50:04 +00:00
<vn-item-descriptor-popover
vn-id="item-descriptor"
warehouse-fk="$ctrl.ticket.warehouseFk">
2018-09-04 09:49:00 +00:00
</vn-item-descriptor-popover>
2018-05-29 12:33:29 +00:00