From 2a34ae4ba70097cc2b99364ca39c37cd01613beb Mon Sep 17 00:00:00 2001 From: Loretta Date: Sat, 25 Oct 2025 09:49:02 +0200 Subject: [PATCH] Add Customer fullname to OrderList --- Nop.Plugin.Misc.AIPlugin/Factories/CustomOrderModelFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nop.Plugin.Misc.AIPlugin/Factories/CustomOrderModelFactory.cs b/Nop.Plugin.Misc.AIPlugin/Factories/CustomOrderModelFactory.cs index 1645a56..d80d3c0 100644 --- a/Nop.Plugin.Misc.AIPlugin/Factories/CustomOrderModelFactory.cs +++ b/Nop.Plugin.Misc.AIPlugin/Factories/CustomOrderModelFactory.cs @@ -179,7 +179,7 @@ namespace Nop.Plugin.Misc.FruitBankPlugin.Factories orderModelExtended.IsMeasurable = orderDto.IsMeasurable; orderModelExtended.DateOfReceipt = orderDto.DateOfReceipt; orderModelExtended.OrderTotal = !orderDto.IsComplete && orderDto.IsMeasurable ? "kalkuláció alatt..." : orderModelExtended.OrderTotal; - orderModelExtended.CustomerCompany = orderDto.Customer.Company; + orderModelExtended.CustomerCompany = $"{orderDto.Customer.Company} {orderDto.Customer.FirstName}_{orderDto.Customer.LastName}"; } public override async Task PrepareOrderModelAsync(OrderModel model, Order order, bool excludeProperties = false)