mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 11:54:32 +02:00
Added a filter constraint for parts where instock is "less than desired"
Fixes issue #257
This commit is contained in:
parent
8bccab258a
commit
f91b719542
5 changed files with 69 additions and 0 deletions
|
@ -206,6 +206,10 @@ class PartFilterType extends AbstractType
|
|||
'min' => 0,
|
||||
]);
|
||||
|
||||
$builder->add('lessThanDesired', BooleanConstraintType::class, [
|
||||
'label' => 'part.filter.lessThanDesired'
|
||||
]);
|
||||
|
||||
$builder->add('lotNeedsRefill', BooleanConstraintType::class, [
|
||||
'label' => 'part.filter.lotNeedsRefill'
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue