Merge branch 'dev' into 6921_addFromDelivery
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
commit
279c300fbf
|
@ -0,0 +1,8 @@
|
||||||
|
REVOKE UPDATE ON vn.entry FROM entryEditor;
|
||||||
|
GRANT UPDATE ON vn.entry TO administrative;
|
||||||
|
GRANT UPDATE (id, supplierFk, dated, invoiceNumber, isExcludedFromAvailable,
|
||||||
|
isConfirmed, isOrdered, isRaid,commission, created, evaNotes, travelFk,
|
||||||
|
currencyFk,companyFk, gestDocFk, invoiceInFk, loadPriority,
|
||||||
|
kop, sub, pro, auction, invoiceAmount, buyerFk, typeFk, reference,
|
||||||
|
observationEditorFk, clonedFrom, editorFk, lockerUserFk, locked
|
||||||
|
) ON vn.entry TO entryEditor;
|
|
@ -123,7 +123,9 @@
|
||||||
</vn-check>
|
</vn-check>
|
||||||
<vn-check
|
<vn-check
|
||||||
label="Booked"
|
label="Booked"
|
||||||
ng-model="$ctrl.entry.isBooked">
|
ng-model="$ctrl.entry.isBooked"
|
||||||
|
vn-acl="administrative"
|
||||||
|
>
|
||||||
</vn-check>
|
</vn-check>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
|
|
|
@ -67,6 +67,12 @@ module.exports = Self => {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
description: 'The description filter',
|
description: 'The description filter',
|
||||||
http: {source: 'query'}
|
http: {source: 'query'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
arg: 'isOk',
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'The isOk filter',
|
||||||
|
http: {source: 'query'}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
returns: {
|
returns: {
|
||||||
|
@ -102,6 +108,8 @@ module.exports = Self => {
|
||||||
case 'agencyModeFk':
|
case 'agencyModeFk':
|
||||||
param = `r.${param}`;
|
param = `r.${param}`;
|
||||||
return {[param]: value};
|
return {[param]: value};
|
||||||
|
case 'isOk':
|
||||||
|
return {'r.isOk': value};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue