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:
@@ -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}
|
||||
Reference in New Issue
Block a user