Skip to content

Commit 50b96c1

Browse files
authored
Merge pull request #5 from Leviakc/master
practicas profesionales feature add
2 parents c71b91d + 774121f commit 50b96c1

File tree

12 files changed

+1701
-36
lines changed

12 files changed

+1701
-36
lines changed

src/app/app.routes.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,21 @@ import { Routes } from '@angular/router';
33
export const routes: Routes = [
44
{
55
path: 'home',
6-
loadComponent: () => import('./pages/home/home')
7-
.then(m => m.Home)
6+
loadComponent: () => import('./pages/home/home').then((m) => m.Home),
87
},
98
{
109
path: 'configuracion',
11-
loadComponent: () => import('./pages/configuracion/configuracion')
12-
.then(m => m.Configuracion)
10+
loadComponent: () => import('./pages/configuracion/configuracion').then((m) => m.Configuracion),
11+
},
12+
{
13+
path: 'configuracion-practicas',
14+
loadComponent: () =>
15+
import('./pages/configuracion-practicas/configuracion-practicas').then(
16+
(m) => m.ConfiguracionPracticas,
17+
),
1318
},
1419
{
1520
path: '**',
16-
redirectTo: 'home'
17-
}
21+
redirectTo: 'home',
22+
},
1823
];
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
export const PDF_COORDINATES = {
2+
page1: {
3+
startDay: { x: 67, y: 614, size: 15 },
4+
startMonth: { x: 127, y: 614, size: 15 },
5+
startYear: { x: 189, y: 614, size: 15 },
6+
endDay: { x: 373, y: 614, size: 15 },
7+
endMonth: { x: 435, y: 614, size: 15 },
8+
endYear: { x: 495, y: 614, size: 15 },
9+
studentName: { x: 175, y: 550 },
10+
boleta: { x: 175, y: 505 },
11+
carrera: { x: 175, y: 476 },
12+
email: { x: 175, y: 448 },
13+
nombreResponsable: { x: 90, y: 287 }, // for length -> 15 130, for length 20 -> 120 for lenght for more than 25 let's put 90
14+
puestoResponsable: { x: 350, y: 287 }, // 320
15+
fechaEntrega: { x: 315, y: 245 },
16+
},
17+
page2: {
18+
studentName: { x: 150, y: 653, size: 10 },
19+
month: { x: 280, y: 637, size: 10 },
20+
totalHoras: { x: 362, y: 216, size: 10 },
21+
totalHorasAcumuladas: { x: 362, y: 201, size: 10 },
22+
table: {
23+
startY: 579.5,
24+
rowStep: 14.5,
25+
fontSize: 10,
26+
columns: {
27+
fecha: { x: 100 },
28+
horaEntrada: { x: 192 },
29+
horaSalida: { x: 277 },
30+
horasPorDia: { x: 365 },
31+
},
32+
},
33+
},
34+
};

src/app/pages/configuracion/step-indicator/step-indicator.scss renamed to src/app/pages/configuracion-practicas/configuracion-practicas.css

File renamed without changes.

src/app/pages/configuracion-practicas/configuracion-practicas.html

Lines changed: 656 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)