Firs fixes like price into PDF

This commit is contained in:
Cristiano
2026-03-26 17:23:09 +01:00
parent 9c723a7a10
commit fe58e5e7e7
26 changed files with 837 additions and 16869 deletions

View File

@@ -695,8 +695,13 @@ namespace PyroFetes.Migrations
.HasMaxLength(300)
.HasColumnType("nvarchar(300)");
b.Property<int>("SupplierId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("SupplierId");
b.ToTable("PurchaseOrders");
});
@@ -1545,6 +1550,17 @@ namespace PyroFetes.Migrations
b.Navigation("Provider");
});
modelBuilder.Entity("PyroFetes.Models.PurchaseOrder", b =>
{
b.HasOne("PyroFetes.Models.Supplier", "Supplier")
.WithMany()
.HasForeignKey("SupplierId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Supplier");
});
modelBuilder.Entity("PyroFetes.Models.PurchaseProduct", b =>
{
b.HasOne("PyroFetes.Models.Product", "Product")