From a520642d9773964fbe1c9c3ac85a420ce15354e3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 3 Feb 2019 19:54:55 +0100 Subject: [PATCH] FIX Price in combo list of service does not use the correct price level --- htdocs/contrat/card.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index d53413efee0..6362759e6d0 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -1318,6 +1318,8 @@ else { $object->fetch_thirdparty(); + $soc = $object->thirdparty; // $soc is used later + $result=$object->fetch_lines(); // This also init $this->nbofserviceswait, $this->nbofservicesopened, $this->nbofservicesexpired=, $this->nbofservicesclosed if ($result < 0) { dol_print_error($db,$object->error);