refs #5056 added fixtures
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-03-15 11:36:10 +01:00
parent 6a2542758b
commit 53bca1e8a3
2 changed files with 25 additions and 14 deletions

View File

@ -2821,4 +2821,15 @@ INSERT INTO `vn`.`deviceProductionUser` (`deviceProductionFk`, `userFk`, `create
(1, 1, util.VN_NOW()), (1, 1, util.VN_NOW()),
(3, 3, util.VN_NOW()); (3, 3, util.VN_NOW());
INSERT INTO `vn`.`wagonConfig` (`id`, `width`, `height`, `trayStep`, `minTrayHeight`, `maxTrays`)
VALUES
(1, 1350, 1900, 50, 200, 6);
INSERT INTO `vn`.`wagonTypeColor` (`id`, `name`, `rgb`)
VALUES
(1, 'red', '#ff0000'),
(2, 'green', '#00ff00'),
(3, 'blue', '#0000ff');

View File

@ -16,15 +16,15 @@
<vn-card class="vn-pa-lg vn-w-lg"> <vn-card class="vn-pa-lg vn-w-lg">
<vn-vertical> <vn-vertical>
<vn-horizontal> <vn-horizontal>
<vn-autocomplete <vn-autocomplete
vn-focus vn-focus
data="warehouses" data="warehouses"
show-field="name" show-field="name"
value-field="id" value-field="id"
initial-data="$ctrl.warehouseFk" initial-data="$ctrl.warehouseFk"
ng-model="$ctrl.warehouseFk" ng-model="$ctrl.warehouseFk"
label="Select warehouse"> label="Select warehouse">
</vn-autocomplete> </vn-autocomplete>
</vn-horizontal> </vn-horizontal>
<vn-table model="model"> <vn-table model="model">
<vn-thead> <vn-thead>
@ -44,7 +44,7 @@
<vn-tr <vn-tr
ng-class="::{ ng-class="::{
'isIn': sale.invalue, 'isIn': sale.invalue,
'balanceNegative': sale.balance < 0}" 'balanceNegative': sale.balance < 0}"
ng-repeat="sale in sales" ng-repeat="sale in sales"
vn-repeat-last vn-repeat-last
on-last="$ctrl.scrollToLine(sale.lastPreparedLineFk)" on-last="$ctrl.scrollToLine(sale.lastPreparedLineFk)"
@ -58,7 +58,7 @@
</a> </a>
</vn-td> </vn-td>
<vn-td expand> <vn-td expand>
<span class="chip" <span class="chip"
ng-class="::{warning: $ctrl.today == sale.shipped}"> ng-class="::{warning: $ctrl.today == sale.shipped}">
{{::sale.shipped | date:'dd/MM/yyyy' }} {{::sale.shipped | date:'dd/MM/yyyy' }}
</span> </span>
@ -99,13 +99,13 @@
</vn-vertical> </vn-vertical>
</vn-card> </vn-card>
</vn-vertical> </vn-vertical>
<vn-ticket-descriptor-popover <vn-ticket-descriptor-popover
vn-id="ticket-descriptor"> vn-id="ticket-descriptor">
</vn-ticket-descriptor-popover> </vn-ticket-descriptor-popover>
<vn-client-descriptor-popover <vn-client-descriptor-popover
vn-id="clientDescriptor"> vn-id="clientDescriptor">
</vn-client-descriptor-popover> </vn-client-descriptor-popover>
<vn-entry-descriptor-popover <vn-entry-descriptor-popover
vn-id="entryDescriptor"> vn-id="entryDescriptor">
</vn-entry-descriptor-popover> </vn-entry-descriptor-popover>