Loading app/Http/Controllers/profesionController.php→app/Http/Controllers/ProfesionController.php +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ class ProfesionController extends Controller public function index() { $profesiones = Profesion::all(); return view('catalogos.profesion.index', compact('profesiones')); return view('adminGen.catalagos.profesion', compact('profesiones')); } public function store(Request $request) Loading app/Models/profesion.php→app/Models/Profesion.php +0 −0 File moved. View file resources/views/adminGen/catalagos/profesion.blade.php +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ </button> </div> <div class="p-5"> <form action="{{ route('catalogos.profesion.update') }}" method="PUT"> <form action="" method=""> @csrf <div class="relative mb-4"> <label for="nombreEditar">Nombre</label> Loading Loading @@ -140,7 +140,7 @@ <script src="/assets/js/highlight.min.js"></script> <script> const profesion = @json($profesion); const profesiones = @json($profesiones); const data = profesion.map(pro => [pro.id, pro.nombre, pro.abreviatura, renderActions(pro.id, pro.nombre, pro.abreviatura)]); window.toggle = function() { Loading Loading
app/Http/Controllers/profesionController.php→app/Http/Controllers/ProfesionController.php +1 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ class ProfesionController extends Controller public function index() { $profesiones = Profesion::all(); return view('catalogos.profesion.index', compact('profesiones')); return view('adminGen.catalagos.profesion', compact('profesiones')); } public function store(Request $request) Loading
resources/views/adminGen/catalagos/profesion.blade.php +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ </button> </div> <div class="p-5"> <form action="{{ route('catalogos.profesion.update') }}" method="PUT"> <form action="" method=""> @csrf <div class="relative mb-4"> <label for="nombreEditar">Nombre</label> Loading Loading @@ -140,7 +140,7 @@ <script src="/assets/js/highlight.min.js"></script> <script> const profesion = @json($profesion); const profesiones = @json($profesiones); const data = profesion.map(pro => [pro.id, pro.nombre, pro.abreviatura, renderActions(pro.id, pro.nombre, pro.abreviatura)]); window.toggle = function() { Loading