Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor changes OrderController.cs

support658d63a1301d
diff --git a/src/Web/Grand.Web.Admin/Controllers/OrderController.cs b/src/Web/Grand.Web.Admin/Controllers/OrderController.cs
index 0a5ceb7a6..e1e4cfeb1 100644
--- a/src/Web/Grand.Web.Admin/Controllers/OrderController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/OrderController.cs
@@ -419,7 +419,7 @@ namespace Grand.Web.Admin.Controllers
byte[] bytes;
using (var stream = new MemoryStream())
{
- await _pdfService.PrintOrdersToPdf(stream, orders, _workContext.WorkingLanguage.Id, "");
+ await _pdfService.PrintOrdersToPdf(stream, orders, _workContext.WorkingLanguage.Id);
bytes = stream.ToArray();
}
return File(bytes, "application/pdf", $"order_{order.Id}.pdf");
@@ -474,7 +474,7 @@ namespace Grand.Web.Admin.Controllers
byte[] bytes;
using (var stream = new MemoryStream())
{
- await _pdfService.PrintOrdersToPdf(stream, orders, _workContext.WorkingLanguage.Id, "");
+ await _pdfService.PrintOrdersToPdf(stream, orders, _workContext.WorkingLanguage.Id);
bytes = stream.ToArray();
}
return File(bytes, "application/pdf", "orders.pdf");