refs #5439 campos fecha y salesperson
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2023-03-20 15:11:55 +01:00
parent 40ccc4f409
commit 306573b1bf
3 changed files with 29 additions and 1 deletions

View File

@ -33,7 +33,9 @@ module.exports = function(Self) {
let newConfig = { let newConfig = {
warehouseFk: warehouse.id, warehouseFk: warehouse.id,
companyFk: company.id, companyFk: company.id,
userFk: ctx.req.accessToken.userId userFk: ctx.req.accessToken.userId,
buyed: ticketResquest.buyed,
salesPersonCode: salesPersonNickname
}; };
userConfig = await models.UserConfig.create(newConfig, myOptions); userConfig = await models.UserConfig.create(newConfig, myOptions);

View File

@ -38,6 +38,20 @@
url="Warehouses"> url="Warehouses">
</vn-autocomplete> </vn-autocomplete>
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-autocomplete
vn-one
label="Comercial"
ng-model="filter.ticketRequest"
data="salesPersonCode">
</vn-autocomplete>
<vn-autocomplete
vn-one
label="Fecha"
ng-model="filter.buyed"
data="buyed">
</vn-autocomplete>
</vn-horizontal>
<section class="vn-px-md"> <section class="vn-px-md">
<vn-horizontal class="manifold-panel vn-pa-md"> <vn-horizontal class="manifold-panel vn-pa-md">
<vn-date-picker <vn-date-picker

View File

@ -91,6 +91,18 @@
ng-model="filter.provinceFk" ng-model="filter.provinceFk"
url="Provinces"> url="Provinces">
</vn-autocomplete> </vn-autocomplete>
<vn-autocomplete
vn-one
label="Comercial"
ng-model="filter.salesPersonFk"
data="Workers">
</vn-autocomplete>
<vn-autocomplete
vn-one
label="Fecha"
ng-model="filter.buyed"
data="buyed">
</vn-autocomplete>
</vn-horizontal> </vn-horizontal>
<vn-horizontal class="vn-px-lg"> <vn-horizontal class="vn-px-lg">
<vn-check <vn-check