From 5795733ab4f4b0f3f9892c8377ff2d60aa2315c7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 30 Jul 2004 07:23:31 +0000 Subject: [PATCH] =?UTF-8?q?Class=20automatiquement=20la=20soci=E9t=E9=20co?= =?UTF-8?q?mme=20client=20lors=20de=20la=20cloture=20comme=20signee=20d'un?= =?UTF-8?q?e=20propale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/propal.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/propal.class.php b/htdocs/propal.class.php index d2c26c08df7..a358f354d46 100644 --- a/htdocs/propal.class.php +++ b/htdocs/propal.class.php @@ -561,6 +561,13 @@ class Propal $this->create_commande($user); + /* Classe la société rattachée comme client */ + + $soc = new Societe($this->db); + $soc->id = $this->socidp; + $soc->set_as_client(); + + return 1; } else