-
Notifications
You must be signed in to change notification settings - Fork 1
/
entregaRegistrar.html
552 lines (515 loc) · 38.3 KB
/
entregaRegistrar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon.png">
<title>Orden de entrega</title>
<!-- Custom CSS -->
<link href="assets/libs/fullcalendar/dist/fullcalendar.min.css" rel="stylesheet" />
<link href="assets/extra-libs/calendar/calendar.css" rel="stylesheet" />
<link href="dist/css/style.min.css" rel="stylesheet">
<!--link sweetalert-->
<link rel="stylesheet" href="sweetalert/dist/sweetalert2.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class="preloader">
<div class="lds-ripple">
<div class="lds-pos"></div>
<div class="lds-pos"></div>
</div>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<div id="main-wrapper">
<!-- ============================================================== -->
<!-- Topbar header - style you can find in pages.scss -->
<!-- ============================================================== -->
<header class="topbar" data-navbarbg="skin5">
<nav class="navbar top-navbar navbar-expand-md navbar-dark">
<div class="navbar-header" data-logobg="skin5">
<!-- This is for the sidebar toggle which is visible on mobile only -->
<a class="nav-toggler waves-effect waves-light d-block d-md-none" href="javascript:void(0)"><i class="ti-menu ti-close"></i></a>
<!-- ============================================================== -->
<!-- Logo -->
<!-- ============================================================== -->
<a class="navbar-brand" href="index.html">
<!-- Logo icon -->
<!--You can put here icon as well // <i class="wi wi-sunset"></i> //-->
<!-- Dark Logo icon -->
<img src="img-icon/Logo-ST.jpg" alt="homepage" width="" height="68" class="light-logo" />
<!--End Logo icon -->
<!-- Logo icon -->
<!-- <b class="logo-icon"> -->
<!--You can put here icon as well // <i class="wi wi-sunset"></i> //-->
<!-- Dark Logo icon -->
<!-- <img src="assets/images/logo-text.png" alt="homepage" class="light-logo" /> -->
<!-- </b> -->
<!--End Logo icon -->
</a>
<!-- ============================================================== -->
<!-- End Logo -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Toggle which is visible on mobile only -->
<!-- ============================================================== -->
<a class="topbartoggler d-block d-md-none waves-effect waves-light" href="javascript:void(0)" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><i class="ti-more"></i></a>
</div>
<!-- ============================================================== -->
<!-- End Logo -->
<!-- ============================================================== -->
<div class="navbar-collapse collapse" id="navbarSupportedContent" data-navbarbg="skin5">
<!-- ============================================================== -->
<!-- toggle and nav items -->
<!-- ============================================================== -->
<ul class="navbar-nav float-left mr-auto">
<li class="nav-item d-none d-md-block"><a class="nav-link sidebartoggler waves-effect waves-light" href="javascript:void(0)" data-sidebartype="mini-sidebar"><i class="mdi mdi-menu font-24"></i></a></li>
<!-- ============================================================== -->
<!-- create new -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Search -->
<!-- ============================================================== -->
<li class="nav-item search-box"> <a class="nav-link waves-effect waves-dark" href="javascript:void(0)"><i class="ti-search"></i></a>
<form class="app-search position-absolute">
<input type="text" class="form-control" placeholder="Search & enter"> <a class="srh-btn"><i class="ti-close"></i></a>
</form>
</li>
</ul>
<!-- ============================================================== -->
<!-- Right side toggle and nav items -->
<!-- ============================================================== -->
<ul class="navbar-nav float-right">
<!-- ============================================================== -->
<!-- Comment -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- End Comment -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Messages -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- End Messages -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- User profile and search -->
<!-- ============================================================== -->
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-muted waves-effect waves-dark pro-pic" href="" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img src="assets/images/users/1.jpg" alt="user" class="rounded-circle" width="31"></a>
<div class="dropdown-menu dropdown-menu-right user-dd animated">
<a class="dropdown-item" href="javascript:void(0)"><i class="ti-user m-r-5 m-l-5"></i> Mi Perfil</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="javascript:void(0)"><i class="ti-settings m-r-5 m-l-5"></i> Configuración</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="javascript:void(0)"><i class="fa fa-power-off m-r-5 m-l-5"></i> Cerrar Sesión</a>
</div>
</li>
<!-- ============================================================== -->
<!-- User profile and search -->
<!-- ============================================================== -->
</ul>
</div>
</nav>
</header>
<!-- ============================================================== -->
<!-- End Topbar header -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<aside class="left-sidebar" data-sidebarbg="skin5">
<!-- Sidebar scroll-->
<div class="scroll-sidebar">
<!-- Sidebar navigation-->
<nav class="sidebar-nav">
<ul id="sidebarnav" class="p-t-30">
<li class="sidebar-item"> <a class="sidebar-link waves-effect waves-dark sidebar-link" href="index.html" aria-expanded="false"><i class="mdi mdi-view-dashboard"></i><span class="hide-menu">Pagina Inicio</span></a></li>
<li class="sidebar-item"> <a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-blur-linear"></i><span class="hide-menu">Inventario </span></a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item"><a href="ProductoRegistrar.html" class="sidebar-link"><i class="mdi mdi-emoticon"></i><span class="hide-menu"> Registrar producto </span></a></li>
<li class="sidebar-item"><a href="ProductoConsultar.html" class="sidebar-link"><i class="mdi mdi-emoticon-cool"></i><span class="hide-menu"> Consultar producto </span></a></li>
<li class="sidebar-item"><a href="ProductoOrdenCompra.html" class="sidebar-link"><i class="mdi mdi-emoticon-cool"></i><span class="hide-menu"> Orden de compra </span></a></li>
<li class="sidebar-item"><a href="ProductoStock.html" class="sidebar-link"><i class="mdi mdi-emoticon-cool"></i><span class="hide-menu"> Stock </span></a></li>
</ul>
</li>
<li class="sidebar-item"> <a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-receipt"></i><span class="hide-menu">Ventas </span></a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item"><a href="facturaRegistrar.html" class="sidebar-link"><i class="mdi mdi-note-outline"></i><span class="hide-menu"> Factura </span></a></li>
<li class="sidebar-item"><a href="facturaConsultar.html" class="sidebar-link"><i class="mdi mdi-note-plus"></i><span class="hide-menu"> Consultar factura</span></a></li>
</ul>
</li>
<li class="sidebar-item"> <a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-calendar-check"></i><span class="hide-menu">Despacho </span></a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item"><a href="entregaRegistrar.html" class="sidebar-link"><i class="mdi mdi-calendar-check"></i><span class="hide-menu"> Orden de entrega </span></a></li>
<li class="sidebar-item"><a href="entregaConsultar.html" class="sidebar-link"><i class="mdi mdi-bulletin-board"></i><span class="hide-menu"> Consultar orden de entrega </span></a></li>
</ul>
</li>
<li class="sidebar-item"> <a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false"><i class="mdi mdi-relative-scale"></i><span class="hide-menu">Novedades </span></a>
<ul aria-expanded="false" class="collapse first-level">
<li class="sidebar-item"><a href="novProductoRegistrar.html" class="sidebar-link"><i class="mdi mdi-pencil"></i><span class="hide-menu"> Novedad de producto </span></a></li>
<li class="sidebar-item"><a href="novFacturaRegistrar.html" class="sidebar-link"><i class="mdi mdi-pencil"></i><span class="hide-menu"> Novedad de factura </span></a></li>
<li class="sidebar-item"><a href="novEntregaRegistrar.html" class="sidebar-link"><i class="mdi mdi-pencil"></i><span class="hide-menu"> Novedad de orden de entrega </span></a></li>
</ul>
</li>
</ul>
</nav>
<!-- End Sidebar navigation -->
</div>
<!-- End Sidebar scroll-->
</aside>
<!-- ============================================================== -->
<!-- End Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper">
<!-- ============================================================== -->
<!-- Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<div class="page-breadcrumb">
<div class="row">
<div class="col-12 d-flex no-block align-items-center">
<h4 class="page-title">Despacho</h4>
<div class="ml-auto text-right">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Library</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End Bread crumb and right sidebar toggle -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
<div class="container-fluid">
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<div class="col-12 grid-margin">
<div class="card">
<div class="card-body">
<h4 class="card-title">Orden de entrega</h4>
<form class="form-control needs-validation" novalidate action="#" method="post">
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="id_ordenEntrega">Id Orden de Entrega:</label>
<div class="col-sm-9">
<input type="text" name="id_ordenEntrega" class="form-control" placeholder="Ingrese Id Orden de Entrega" required="true"/>
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="id_factura">Id Factura:</label>
<div class="col-sm-9">
<input type="text" name="id_factura" class="form-control" placeholder="Ingrese Id Factura" required="true"/>
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="nombre">Nombre Cliente: </label>
<div class="col-sm-9">
<input type="text" name="nombre" class="form-control" placeholder="Ingrese nombres del cliente" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="apellido">Apellidos Cliente: </label>
<div class="col-sm-9">
<input type="text" name="apellido" class="form-control" placeholder="Ingrese apellidos del cliente" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="cedula">No. documento Cliente: </label>
<div class="col-sm-9">
<input type="text" name="cedula" class="form-control" placeholder="Ingrese numero de documento del cliente" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="correo">Correo: </label>
<div class="col-sm-9">
<input type="email" name="correo" class="form-control" placeholder="Ingrese el correo" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="celular">Número Celular: </label>
<div class="col-sm-9">
<input type="text" name="celular" class="form-control" placeholder="Ingrese el numero de celular" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="barrio">Barrio: </label>
<div class="col-sm-9">
<input type="text" name="barrio" class="form-control" placeholder="Ingrese el barrio" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="direccion">Dirección: </label>
<div class="col-sm-9">
<input type="text" name="direccion" class="form-control" placeholder="Ingrese la dirección de entrega" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="fechaEntrega">Fecha de Entrega: </label>
<div class="col-sm-9">
<input type="date" name="fechaEntrega" class="form-control" placeholder="Ingrese la fecha de entrega" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="jornada">Jornada: </label>
<div class="col-sm-9">
<select class="form-control">
<option>Mañana</option>
<option>Tarde</option>
</select>
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="idProducto">Id Producto: </label>
<div class="col-sm-9">
<input type="text" name="idProducto" class="form-control" placeholder="Ingrese Id Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="cantidad">Cantidad: </label>
<div class="col-sm-9">
<input type="text" name="cantidad" class="form-control" placeholder="Ingrese la cantidad del Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="idProducto">Id Producto: </label>
<div class="col-sm-9">
<input type="text" name="idProducto" class="form-control" placeholder="Ingrese Id Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="cantidad">Cantidad: </label>
<div class="col-sm-9">
<input type="text" name="cantidad" class="form-control" placeholder="Ingrese la cantidad del Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="idProducto">Id Producto: </label>
<div class="col-sm-9">
<input type="text" name="idProducto" class="form-control" placeholder="Ingrese Id Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="cantidad">Cantidad: </label>
<div class="col-sm-9">
<input type="text" name="cantidad" class="form-control" placeholder="Ingrese la cantidad del Producto" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="valorRecibido">Valor Recibido: </label>
<div class="col-sm-9">
<input type="text" name="valorRecibido" class="form-control" placeholder="Ingrese el valor recibido" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group row">
<label class="col-sm-3 col-form-label form-control-label" id="valorTotal">Valor Total: </label>
<div class="col-sm-9">
<input type="text" name="valorTotal" class="form-control" placeholder="Ingrese el valor total" required="true">
<div class="valid-feedback">Validado ok</div>
<div class="invalid-feedback">Debe completar este campo</div>
</div>
</div>
</div>
</div>
<div class="vstack gap-2 col-md-3 mx-auto">
<button onclick="registrarEntrega()" class="btn btn-info">Registrar</button>
<button type="button" class="btn btn-danger">Cancelar</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- ============================================================== -->
<!-- End PAge Content -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Container fluid -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- footer -->
<!-- ============================================================== -->
<footer class="footer text-center">
© 2022 Textiles <a href="paginaWeb.html">Emanuel</a>.
</footer>
<!-- ============================================================== -->
<!-- End footer -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Page wrapper -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- All Jquery -->
<!-- ============================================================== -->
<script src="assets/libs/jquery/dist/jquery.min.js"></script>
<script src="dist/js/jquery.ui.touch-punch-improved.js"></script>
<script src="dist/js/jquery-ui.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="assets/libs/popper.js/dist/umd/popper.min.js"></script>
<script src="assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="assets/libs/perfect-scrollbar/dist/perfect-scrollbar.jquery.min.js"></script>
<script src="assets/extra-libs/sparkline/sparkline.js"></script>
<!--Wave Effects -->
<script src="dist/js/waves.js"></script>
<!--Menu sidebar -->
<script src="dist/js/sidebarmenu.js"></script>
<!--Custom JavaScript -->
<script src="dist/js/custom.min.js"></script>
<!-- this page js -->
<script src="assets/libs/moment/min/moment.min.js"></script>
<script src="assets/libs/fullcalendar/dist/fullcalendar.min.js"></script>
<script src="dist/js/pages/calendar/cal-init.js"></script>
<!-- Validadción formulario JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function () {
'use strict'
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.querySelectorAll('.needs-validation')
// Loop over them and prevent submission
Array.prototype.slice.call(forms)
.forEach(function (form) {
form.addEventListener('submit', function (event) {
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
} else {
alert('registro exitoso')
}
form.classList.add('was-validated')
}, false)
})
})()
</script>
<!-- link sweetalert -->
<script src="sweetalert/dist/sweetalert2.all.min.js"></script>
<script src="alertas.js"></script>
</body>
</html>