summaryrefslogtreecommitdiff
path: root/src/sections/1_customer.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/sections/1_customer.php')
-rw-r--r--src/sections/1_customer.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/sections/1_customer.php b/src/sections/1_customer.php
index db5c448..d282af2 100644
--- a/src/sections/1_customer.php
+++ b/src/sections/1_customer.php
@@ -13,23 +13,6 @@ function newCustomer(): array
13 $FinSection1 = new ZenityList(ZenitySetup::$fin_section_1['text'], ZenitySetup::$fin_section_1['entrees']); 13 $FinSection1 = new ZenityList(ZenitySetup::$fin_section_1['text'], ZenitySetup::$fin_section_1['entrees']);
14 14
15 $Customer = new Client; 15 $Customer = new Client;
16
17 // -- partie 1: client ou prospect? --
18 //~ $choix_niv2 = exec($TypeDeClient->get());
19 //~ if($choix_niv2 === ZenitySetup::$type_client['entrees'][0])
20 //~ {
21 //~ echo "choix: " . $choix_niv2 . "\n";
22 //~ $Customer->setType('client');
23 //~ }
24 //~ elseif($choix_niv2 === ZenitySetup::$type_client['entrees'][1])
25 //~ {
26 //~ echo "choix: " . $choix_niv2 . "\n";
27 //~ $Customer->setType('prospect');
28 //~ }
29 //~ else
30 //~ {
31 //~ return [0, null]; // menu principal
32 //~ }
33 16
34 // -- partie 2: saisie des infos -- 17 // -- partie 2: saisie des infos --
35 if($Customer->enterCustomer($NouveauClient)) 18 if($Customer->enterCustomer($NouveauClient))