feat: Implement Locations management module whit controller, request, validation, model, migrations and routes
This commit is contained in:
parent
769b35cef2
commit
755bcd6503
@ -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',
|
||||
],
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user