Invoice component fixed task parsing
This commit is contained in:
parent
40491b451f
commit
a33132e1d4
1 changed files with 4 additions and 0 deletions
|
|
@ -198,6 +198,10 @@ export default defineComponent({
|
|||
(packageModel: LaravelModel) => packageModel.id === task.package
|
||||
) ?? null;
|
||||
}
|
||||
if (task.type !== this.getTaskTypeEnum("forfait").value) {
|
||||
task.package = null;
|
||||
task.packageModel = null;
|
||||
}
|
||||
});
|
||||
this.tasks = tasks;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue