implemented function to return estimated times of company.

Therefore task and project module had to be created and partially implemented
This commit is contained in:
2025-07-13 23:45:18 +02:00
parent ea888c2be4
commit bac04ac047
39 changed files with 642 additions and 61 deletions

View File

@@ -63,6 +63,12 @@
}
}
function addPosition(selected){
let newPos = {};
if (selected.item) newPos['item']=selected.item.id;
console.log(JSON.stringify({newPos:newPos}));
}
onMount(loadDoc);
</script>
@@ -186,5 +192,5 @@
{/if}
{#if position_select}
<PositionSelector close={() => position_select=false} {doc} />
<PositionSelector close={() => position_select=false} {doc} onSelect={addPosition} />
{/if}