diff --git a/Entidades/Alquilafacilcontext.cs b/Entidades/Alquilafacilcontext.cs index 9aa070d..5191cf1 100644 --- a/Entidades/Alquilafacilcontext.cs +++ b/Entidades/Alquilafacilcontext.cs @@ -178,6 +178,7 @@ public partial class AlquilaFacilContext : DbContext entity.Property(e => e.Indiceactualizacion) .HasPrecision(8) .HasColumnName("indiceactualizacion"); + entity.Property(e => e.MesesHastaAumento).HasColumnType("int(11)"); entity.Property(e => e.Monto) .HasPrecision(12) .HasColumnName("monto"); @@ -378,7 +379,7 @@ public partial class AlquilaFacilContext : DbContext .HasColumnType("int(11)") .HasColumnName("id"); entity.Property(e => e.Descripcion) - .HasMaxLength(15) + .HasMaxLength(25) .HasColumnName("descripcion"); entity.HasMany(d => d.Idgrupos).WithMany(p => p.Idpermisos) diff --git a/Entidades/Contrato.cs b/Entidades/Contrato.cs index 2f0fdbc..317f17b 100644 --- a/Entidades/Contrato.cs +++ b/Entidades/Contrato.cs @@ -27,6 +27,8 @@ public partial class Contrato public ulong Habilitado { get; set; } + public int MesesHastaAumento { get; set; } + public virtual ICollection Defectos { get; set; } = new List(); public virtual Cliente? DniinquilinoNavigation { get; set; } diff --git a/Front/bun.lockb b/Front/bun.lockb index 14f40ba..502d03b 100755 Binary files a/Front/bun.lockb and b/Front/bun.lockb differ diff --git a/Front/package.json b/Front/package.json index 6a4b9fc..347fd5b 100644 --- a/Front/package.json +++ b/Front/package.json @@ -21,6 +21,7 @@ "dependencies": { "@sveltejs/kit": "^2.7.3", "@sveltestrap/sveltestrap": "^6.2.7", + "chartjs": "^0.3.24", "svelte-routing": "^2.13.0" } } diff --git a/Front/src/Componentes/RutaProtegida.svelte b/Front/src/Componentes/RutaProtegida.svelte index f02ecc8..661ea2c 100644 --- a/Front/src/Componentes/RutaProtegida.svelte +++ b/Front/src/Componentes/RutaProtegida.svelte @@ -1,6 +1,5 @@