react-version #1

Merged
memartel_loc merged 290 commits from react-version into main 2023-11-04 09:48:15 -04:00
Showing only changes of commit 7176204044 - Show all commits

View File

@ -162,6 +162,8 @@ public class InvoiceController : Controller {
if (prods.Count == 0)
return BadRequest("Vous devez inclure au moins un produit à votre commande.");
inv.Products = new();
foreach (var prod in prods) {
inv.Products.Add(new() {
Product = prod,