arreglo eliminacion plan
This commit is contained in:
parent
1d614acb12
commit
8f7d4a52d8
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
/public/hot
|
||||
/public/storage
|
||||
/vendor
|
||||
/storage/*.key
|
||||
.env
|
||||
.env.backup
|
||||
.phpunit.result.cache
|
||||
|
@ -420,7 +420,7 @@ public function deletePlan($id)
|
||||
{
|
||||
$id_user = auth()->user();
|
||||
if ($id_user->isCreadorPlan($id) or $id_user->isAdmin()) {
|
||||
$plan = plan::where(["id" => $id, "id_user" => $id_user])->first();
|
||||
$plan = plan::where(["id" => $id, "id_user" => $id_user->id])->first();
|
||||
$plan->delete();
|
||||
return response([
|
||||
"status" => 1,
|
||||
@ -486,9 +486,9 @@ public function listPlanUser()
|
||||
}
|
||||
}
|
||||
|
||||
public function pdfPlan($id)
|
||||
/* public function pdfPlan($id)
|
||||
{
|
||||
/* $id_user = auth()->user()->id;
|
||||
$id_user = auth()->user()->id;
|
||||
if (plan::where("id", $id)->exists()) {
|
||||
$plan = plan::find($id);
|
||||
$plan->fuentes = Fuentes::where("id_plan", $id)->get(['id', 'descripcion as value']);
|
||||
@ -501,12 +501,13 @@ public function pdfPlan($id)
|
||||
$plan->responsables = Responsables::where("id_plan", $id)->get(['id', 'nombre as value']);
|
||||
$plan->evidencias = Evidencias::where("id_plan", $id)->get();
|
||||
$pdf = PDF::loadView('planPDF', compact('plan'));
|
||||
return $pdf->download('plan.pdf');
|
||||
$pdf->setPaper('A4', 'landscape');
|
||||
return $pdf->stream('plan.pdf');
|
||||
} else {
|
||||
return response([
|
||||
"status" => 0,
|
||||
"message" => "!No se encontro el plan de mejora",
|
||||
], 404);
|
||||
} */
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 4.2 KiB |
BIN
public/fonts/calibri.ttf
Normal file
BIN
public/fonts/calibri.ttf
Normal file
Binary file not shown.
BIN
public/fonts/calibrib.ttf
Normal file
BIN
public/fonts/calibrib.ttf
Normal file
Binary file not shown.
BIN
public/fonts/calibrii.ttf
Normal file
BIN
public/fonts/calibrii.ttf
Normal file
Binary file not shown.
BIN
public/fonts/calibril.ttf
Normal file
BIN
public/fonts/calibril.ttf
Normal file
Binary file not shown.
BIN
public/fonts/calibrili.ttf
Normal file
BIN
public/fonts/calibrili.ttf
Normal file
Binary file not shown.
BIN
public/fonts/calibriz.ttf
Normal file
BIN
public/fonts/calibriz.ttf
Normal file
Binary file not shown.
BIN
public/img/logo_unsa.png
Normal file
BIN
public/img/logo_unsa.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
BIN
resources/fonts/calibri.ttf
Normal file
BIN
resources/fonts/calibri.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/calibrib.ttf
Normal file
BIN
resources/fonts/calibrib.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/calibrii.ttf
Normal file
BIN
resources/fonts/calibrii.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/calibril.ttf
Normal file
BIN
resources/fonts/calibril.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/calibrili.ttf
Normal file
BIN
resources/fonts/calibrili.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/calibriz.ttf
Normal file
BIN
resources/fonts/calibriz.ttf
Normal file
Binary file not shown.
BIN
resources/img/logo_unsa.png
Normal file
BIN
resources/img/logo_unsa.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
@ -0,0 +1,162 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Calibri';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
src: url('fonts/calibri.ttf') format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Calibri';
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
src: url('fonts/calibrib.ttf') format("truetype");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@font-face {
|
||||
font-family: 'Calibri';
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-variant: normal;
|
||||
src: url('fonts/calibrii.ttf') format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Calibri';
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-variant: normal;
|
||||
src: url('fonts/calibriz.ttf') format("truetype");
|
||||
} */
|
||||
|
||||
.encabezado {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border: 0.5px solid black;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.encabezado-columna-1 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.encabezado-columna-2 {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.encabezado-columna-3 {
|
||||
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.encabezado-columna-4 {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.encabezado tbody tr td {
|
||||
border: 0.5px solid black;
|
||||
|
||||
}
|
||||
|
||||
.encabezado tbody tr {
|
||||
border: 0.5px solid black;
|
||||
}
|
||||
|
||||
.lista {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.lista ol {
|
||||
padding-inline-start: 0;
|
||||
list-style: none;
|
||||
counter-reset: contador;
|
||||
}
|
||||
|
||||
.lista ol .op {
|
||||
counter-increment: contador;
|
||||
}
|
||||
|
||||
.lista ol .op::before {
|
||||
content: "("counter(contador) ") ";
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Calibri';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<table class="encabezado">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="encabezado-columna-1" rowspan="3">
|
||||
<img src='img/logo_unsa.png' width="100%" alt="logo">
|
||||
</td>
|
||||
<td class="encabezado-columna-2"> <b>FORMATO</b> </td>
|
||||
<td class="encabezado-columna-3"> <b>Código</b></td>
|
||||
<td class="encabezado-columna-4">F-PE01.04-05</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2"> <b>PLAN DE MEJORA</b></td>
|
||||
<td> <b>Versión</b></td>
|
||||
<td>1.0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <b>Página</b></td>
|
||||
<td>Página 1 de 72</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="lista">
|
||||
<ol>
|
||||
<li class="op"> Registrar en la columna el código de la acción de la mejora
|
||||
continua, por ejemplo: OM
|
||||
– 01:2020, que refiere
|
||||
a la oportunidad de mejora 01 correspondiente al año 2020.</li>
|
||||
<li class="op">
|
||||
Registrar si la fuente de la Mejora proviene de:
|
||||
<ul style="list-style-type: disc">
|
||||
<li>Solicitudes de acción correctiva. </li>
|
||||
<li>Servicios no conformes. </li>
|
||||
<li>Quejas. </li>
|
||||
<li>Evaluación de competencias. </li>
|
||||
<li>Evaluación de los objetivos Educacionales. </li>
|
||||
<li> Actividades diarias. </li>
|
||||
<li> Lineamientos institucionales. </li>
|
||||
<li>Acuerdos de Consejo de Facultad y Asamblea Docente. </li>
|
||||
<li>Buenas prácticas de otras organizaciones. </li>
|
||||
<li>Otros. </li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li class="op">Registre el problema / oportunidad que genera la mejora</li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
<li class="op"> </li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -36,8 +36,12 @@
|
||||
//Estandares valores
|
||||
Route::get('estandares', [EstandarController::class, 'listEstandarValores']);
|
||||
|
||||
|
||||
//CAMBIAR ESTO
|
||||
Route::get('user', [UserController::class, 'listUser']);
|
||||
|
||||
/* Route::get('plan/pdf/{id}', [PlanController::class, 'pdfPlan'])->where('id', '[0-9]+'); */
|
||||
|
||||
Route::middleware("auth:sanctum")->group(function () {
|
||||
//rutas auth
|
||||
Route::get('user-profile', [UserController::class, 'userProfile']);
|
||||
@ -62,6 +66,8 @@
|
||||
Route::post('plan/asignar', [PlanController::class, 'assignPlan']);
|
||||
//Route::put('plan',[PlanController::class,'updatePlan']);
|
||||
|
||||
|
||||
|
||||
//rutas metas
|
||||
Route::post('meta', [MetasController::class, 'create']);
|
||||
Route::put('meta', [MetasController::class, 'update']);
|
||||
|
BIN
storage/fonts/calibri.ttf
Normal file
BIN
storage/fonts/calibri.ttf
Normal file
Binary file not shown.
BIN
storage/fonts/calibrib.ttf
Normal file
BIN
storage/fonts/calibrib.ttf
Normal file
Binary file not shown.
BIN
storage/fonts/calibrii.ttf
Normal file
BIN
storage/fonts/calibrii.ttf
Normal file
Binary file not shown.
BIN
storage/fonts/calibril.ttf
Normal file
BIN
storage/fonts/calibril.ttf
Normal file
Binary file not shown.
BIN
storage/fonts/calibrili.ttf
Normal file
BIN
storage/fonts/calibrili.ttf
Normal file
Binary file not shown.
BIN
storage/fonts/calibriz.ttf
Normal file
BIN
storage/fonts/calibriz.ttf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user