Merged the AssetAssignment collection with the Asset collection; Updated views for assigning assets; Added view to find asset assignments by assetId.

This commit is contained in:
2022-08-14 17:07:14 -07:00
parent f3b1b38e82
commit cf51200393
13 changed files with 3897 additions and 53 deletions

View File

@@ -5,12 +5,13 @@
import Sites from "/imports/ui/Admin/Sites.svelte";
import Students from "/imports/ui/Admin/Students.svelte";
import Staff from "/imports/ui/Admin/Staff.svelte";
import Functions from "/imports/ui/Admin/Functions.svelte";
let activeTab = "Sites";
</script>
<div class="container">
<TabBar tabs={['Sites','Students','Staff','Asset Types']} minWidth let:tab bind:active={activeTab}>
<TabBar tabs={['Sites','Students','Staff','Asset Types', 'Functions']} minWidth let:tab bind:active={activeTab}>
<Tab {tab}>
<Label>{tab}</Label>
</Tab>
@@ -23,6 +24,8 @@
<Staff></Staff>
{:else if activeTab === 'Asset Types'}
<AssetTypes></AssetTypes>
{:else if activeTab === 'Functions'}
<Functions></Functions>
{/if}
</div>