fecha actual + 30 dias

This commit is contained in:
Felipe
2024-04-29 10:16:53 -05:00
parent 581f0e2d7d
commit 09050275c2
2 changed files with 21 additions and 11 deletions
@@ -13,7 +13,7 @@
}" class="h-full w-full md:my-2">
<div class=" fixed backdrop-blur-sm bg-white/70 left-0 bottom-0 top-0 right-0 h-full z-40" wire:loading
wire:target="noRenovar,siRenovar,ver,openRenovar,confirm_delete_cuenta,saveRenovar,createNewCuenta,createServicio,verObservacion,update,verObservacion1,update_observaciones1,eliminarCuentas,updateTarifas">
wire:target="noRenovar,calcularFechas,siRenovar,ver,openRenovar,confirm_delete_cuenta,saveRenovar,createNewCuenta,createServicio,verObservacion,update,verObservacion1,update_observaciones1,eliminarCuentas,updateTarifas">
<div class="grid h-full place-items-center">
<div class="max-w-xs">
<img src="./img/loading.gif" alt="" class="w-full text-center">
@@ -410,9 +410,14 @@
<option value="pendiente">Cuenta completa</option>
<option value="inactivo">Inactivo</option>
</select>
</div>
<div class="mb-4">
<button wire:click="calcularFechas" type="button" class="inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 text-white bg-[#B221FD] hover:bg-[#7a02b8] focus:shadow-outline-green ease-in-out sm-text-sm sm-leading-5" >
+ 30 dias
</button>
</div>
<div date-rangepicker class="flex items-center gap-2 mb-4">
<div class="relative">
<label for="fecha_inicial_renovar" class="block text-gray-700 text-sm font-bold mb-2">Fecha