mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-19 10:24:50 +02:00
Allow to order and filter by the amount sum of parts.
This commit is contained in:
parent
ec5e956e31
commit
8f94a58c71
8 changed files with 42 additions and 3 deletions
|
@ -173,6 +173,11 @@ class PartFilterType extends AbstractType
|
|||
'step' => 1,
|
||||
]);
|
||||
|
||||
$builder->add('amountSum', NumberConstraintType::class, [
|
||||
'label' => 'part.filter.amount_sum',
|
||||
'min' => 0,
|
||||
]);
|
||||
|
||||
$builder->add('lotNeedsRefill', BooleanConstraintType::class, [
|
||||
'label' => 'part.filter.lotNeedsRefill'
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue