fixed: customer selection is lost when services are added or removed

This commit is contained in:
Amit sharma
2026-02-05 19:26:44 +05:30
parent a27e55c049
commit 9e009178d8
2 changed files with 24 additions and 3 deletions

View File

@@ -437,6 +437,7 @@ class AdminOrdersControllerCore extends AdminController
'advance_payment_amount_without_tax' => $cart->getOrderTotal(false, Cart::ADVANCE_PAYMENT),
'advance_payment_amount_with_tax' => $cart->getOrderTotal(true, Cart::ADVANCE_PAYMENT),
'cart' => $cart,
'customer' => $cart->id_customer ? new Customer($cart->id_customer): null ,
'currencies' => Currency::getCurrenciesByIdShop(Context::getContext()->shop->id),
'langs' => Language::getLanguages(true, Context::getContext()->shop->id),
'payment_modules' => $payment_modules,