Dia41
This commit is contained in:
parent
387b4dc318
commit
958814b055
|
|
@ -194,14 +194,8 @@
|
||||||
setValue('resultado', mensaje);
|
setValue('resultado', mensaje);
|
||||||
}
|
}
|
||||||
|
|
||||||
function difFechasDias(fechaIni, fechaFin) {
|
const difFechasDias = (fechaIni, fechaFin) => Math.ceil((new Date(fechaFin) - new Date(fechaIni)) / (1000 * 60 * 60 * 24));
|
||||||
const dias = Math.ceil((new Date(fechaFin) - new Date(fechaIni)) / (1000 * 60 * 60 * 24));
|
const limpiarForm = ()=> document.getElementById("formAlquiler").reset();
|
||||||
return dias;
|
|
||||||
}
|
|
||||||
|
|
||||||
function limpiarForm() {
|
|
||||||
document.getElementById("formAlquiler").reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user