Opravena chyba v zakládání požadavků- pokud se zakládal požadavek, který
by překročil limit a následně se upravila částka, aby šel uložit, došlo k rozjetí pořadí schvalovatelů. refs #137
This commit is contained in:
+2
-2
@@ -56,14 +56,14 @@ public abstract class RequirementBaseServiceImpl<T extends RequirementBase> exte
|
||||
}
|
||||
|
||||
entity.setWorkgroup(reqWorkgroup);
|
||||
this.addWorkflow(entity);
|
||||
|
||||
|
||||
checkEnable();
|
||||
|
||||
if (!canAdd(entity)) {
|
||||
throw new AddRequirementException();
|
||||
}
|
||||
|
||||
this.addWorkflow(entity);
|
||||
entity.setNumser(this.getNumberSerie());
|
||||
|
||||
super.add(entity);
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</template>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
<hbox vflex="1">
|
||||
<hbox vflex="1" hflex="1">
|
||||
<groupbox
|
||||
vflex="1"
|
||||
hflex="1"
|
||||
|
||||
Reference in New Issue
Block a user