feat: Implement Locations management module whit controller, request, validation, model, migrations and routes

This commit is contained in:
raul.velazco 2026-04-01 08:30:21 -06:00
parent 769b35cef2
commit 755bcd6503
2 changed files with 16 additions and 5 deletions

View File

@ -68,7 +68,19 @@ const menuItems = ref<MenuItem[]>([
icon: 'pi pi-book',
to: '/catalog/document-concepts',
permission: 'document_concepts.index'
}
},
{
label: 'Ubicaciones',
icon: 'pi pi-map-marker',
to: '/catalog/companies',
permission: [
'locations.index',
'locations.show',
'locations.store',
'locations.update',
'locations.destroy',
],
},
]
},
{

View File

@ -32,6 +32,9 @@ const pagination = ref({
const loading = ref(false);
const loadingSupplier = ref(false);
const selectedType = ref(null);
const searchName = ref('');
// Modal state and form fields
const showModal = ref(false);
const isEditMode = ref(false);
@ -139,10 +142,6 @@ const supplierTypes = [
{ label: 'Ambos', value: 'Ambos' },
];
const selectedType = ref(null);
const searchName = ref('');
const clearFilters = () => {
searchName.value = '';
selectedType.value = null;