Deprecated following as non standardEntity checks, inventoryitems, spaces
This commit is contained in:
27
deprecated/entitys/products/index.vue
Normal file
27
deprecated/entitys/products/index.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<EntityList
|
||||
:items="items"
|
||||
type="products"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
definePageMeta({
|
||||
middleware: "auth"
|
||||
})
|
||||
|
||||
const items = ref([])
|
||||
const productcategories = ref([])
|
||||
|
||||
const setupPage = async () => {
|
||||
items.value = await useSupabaseSelect("products","*, unit(name)")
|
||||
productcategories.value = await useSupabaseSelect("productcategories", "*")
|
||||
}
|
||||
|
||||
setupPage()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user