diff --git a/src/components/layout/Sidebar.vue b/src/components/layout/Sidebar.vue index b60f15b..70398b7 100644 --- a/src/components/layout/Sidebar.vue +++ b/src/components/layout/Sidebar.vue @@ -39,6 +39,11 @@ const menuItems = ref([ icon: 'pi pi-shopping-cart', to: '/products' }, + { + label: 'Puntos de venta', + icon: 'pi pi-cog', + to: '/stores' + }, { label: 'Configuración', icon: 'pi pi-cog', diff --git a/src/modules/products/components/index.html b/src/modules/products/components/index.html deleted file mode 100644 index fd912e3..0000000 --- a/src/modules/products/components/index.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - - - WMS - Add New Product - - - - - - - -
- -
-
-
-
- - - - -
-

WMS Dashboard

-
-
- -
- - -
-
-
-
-
-
-
-
- Dashboard - / - Inventory - / - Add New - Product -
-
-
-

Add New Product -

-

Fill in the - details below to add a new product to the catalog.

-
-
-
-
-
-

Product Information -

-
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-

Product Attributes

-
-
-
- - -
- - -
- - -
-
- - -
-
- - -
- -
-
-
- - -
- - -
- - -
-
- - -
- -
-
- -
-
-
-
-

Product Image

-
-
- upload_file -
-

Click to upload or drag and drop -

-

SVG, PNG, JPG or GIF (max. - 800x400px)

-
-
-
-

Organization

-
-
- - -
-
- - -
-
-
-
-
-
- - -
-
-
-
-
- - - \ No newline at end of file diff --git a/src/modules/stores/components/StoresIndex.vue b/src/modules/stores/components/StoresIndex.vue new file mode 100644 index 0000000..93216b8 --- /dev/null +++ b/src/modules/stores/components/StoresIndex.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 6ffa073..893da1f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -12,6 +12,7 @@ import UnitOfMeasure from '../modules/catalog/components/UnitOfMeasure.vue'; import ComercialClassification from '../modules/catalog/components/ComercialClassification.vue'; import ProductsIndex from '../modules/products/components/ProductsIndex.vue'; import ProductForm from '../modules/products/components/ProductForm.vue'; +import StoresIndex from '../modules/stores/components/StoresIndex.vue'; const routes: RouteRecordRaw[] = [ { @@ -141,6 +142,15 @@ const routes: RouteRecordRaw[] = [ } }, ] + }, + { + path: 'stores', + name: 'Stores', + component: StoresIndex, + meta: { + title: 'Tiendas', + requiresAuth: true + }, } ] },