Merge branch 'dev' into 5642-arreglar-e2e-ticketFuture-ticketAdvance
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-05-29 07:59:22 +00:00
commit 1550716b1a
16 changed files with 99 additions and 15 deletions

View File

@ -2,6 +2,11 @@
vn-id="watcher"
data="$ctrl.dms">
</vn-watcher>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form
name="form"
ng-submit="$ctrl.onSubmit()"
@ -29,7 +34,7 @@
<vn-autocomplete vn-one required="true"
label="Warehouse"
ng-model="$ctrl.dms.warehouseId"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>

View File

@ -5,6 +5,11 @@
form="form"
save="patch">
</vn-watcher>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form name="form" ng-submit="watcher.submit()" class="vn-w-md">
<vn-card class="vn-pa-lg">
<vn-horizontal>
@ -152,14 +157,14 @@
<vn-autocomplete
label="Warehouse Out"
ng-model="$ctrl.travelFilterParams.warehouseOutFk"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete
label="Warehouse In"
ng-model="$ctrl.travelFilterParams.warehouseInFk"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>

View File

@ -1,3 +1,8 @@
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<vn-descriptor-content
module="item"
description="$ctrl.item.name"
@ -108,7 +113,9 @@
<vn-autocomplete
label="Warehouse"
ng-model="$ctrl.warehouseFk"
url="Warehouses">
data="warehouses"
show-field="name"
value="id">>
</vn-autocomplete>
</tpl-body>
<tpl-buttons>

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-textfield
@ -35,7 +40,9 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses">
data="warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-textfield
@ -83,7 +88,7 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses">
data="Warehouses">
</vn-autocomplete>
<vn-autocomplete
vn-one

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Agencies"
data="agencies">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-textfield

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-textfield
@ -79,7 +84,7 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-date-picker
@ -49,7 +54,9 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses"
data="warehouses"
show-field="name"
value-field="id"
required="true">
</vn-autocomplete>
</vn-horizontal>

View File

@ -4,6 +4,11 @@
order="name"
auto-load="true">
</vn-crud-model>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form name="form">
<vn-card class="vn-w-md vn-pa-lg">
<vn-horizontal>
@ -25,7 +30,7 @@
</vn-autocomplete>
<vn-autocomplete vn-one
required="true"
url="Warehouses"
data="Warehouses"
label="Warehouse"
show-field="name"
value-field="id"

View File

@ -2,6 +2,11 @@
vn-id="watcher"
data="$ctrl.dms">
</vn-watcher>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form
name="form"
ng-submit="$ctrl.onSubmit()"
@ -29,7 +34,7 @@
<vn-autocomplete vn-one required="true"
label="Warehouse"
ng-model="$ctrl.dms.warehouseId"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-date-picker
@ -83,7 +88,9 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses"
data="warehouses"
show-field="name"
value-field="id"
required="true">
</vn-autocomplete>
</vn-horizontal>

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-textfield
@ -102,7 +107,7 @@
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses">
data="Warehouses">
</vn-autocomplete>
<vn-autocomplete
vn-one

View File

@ -1,4 +1,9 @@
<div class="search-panel">
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
@ -52,14 +57,14 @@
<vn-autocomplete vn-one
label="Warehouse Out"
ng-model="filter.warehouseOutFk"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete vn-one
label="Warehouse In"
ng-model="filter.warehouseInFk"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>

View File

@ -3,6 +3,11 @@
vn-id="watcher"
data="$ctrl.dms">
</vn-watcher>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form
name="form"
ng-submit="$ctrl.onSubmit()"

View File

@ -17,6 +17,7 @@ describe('Client', () => {
$element = $compile(`<vn-worker-dms-create></vn-worker-dms-create>`)($rootScope);
controller = $element.controller('vnWorkerDmsCreate');
controller._worker = {id: 1101, name: 'Bruce wayne'};
$httpBackend.whenRoute('GET', `Warehouses?filter=%7B%7D`).respond([{$oldData: {}}]);
}));
describe('worker() setter', () => {

View File

@ -2,6 +2,11 @@
vn-id="watcher"
data="$ctrl.dms">
</vn-watcher>
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
<form
name="form"
ng-submit="$ctrl.onSubmit()"
@ -29,7 +34,7 @@
<vn-autocomplete vn-one required="true"
label="Warehouse"
ng-model="$ctrl.dms.warehouseId"
url="Warehouses"
data="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>