Skip to content

Commit

Permalink
parametre is_manufactured pour module ER et maj dependances
Browse files Browse the repository at this point in the history
  • Loading branch information
MFrangi committed Sep 4, 2024
1 parent 8caaca3 commit 48d859f
Show file tree
Hide file tree
Showing 4 changed files with 589 additions and 492 deletions.
1 change: 1 addition & 0 deletions controllers/er/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ var erValidators = [
];

var productValidators = erValidators.concat([
check('is_manufactured').optional().isBoolean(),
check('code_ean').optional().isAlphanumeric(),
check('code_article').optional().isString(),
check('name').optional().isString(),
Expand Down
5 changes: 5 additions & 0 deletions doc/er.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ paths:
description: liste des propriétes à afficher séparées par un ;
type: string
require: false

- name: is_manufactured
in: query
type: boolean
require: false



Expand Down
Loading

0 comments on commit 48d859f

Please sign in to comment.