diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-09 15:09:38 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-09 15:09:38 +0200 |
| commit | 39d4558eaf5fa5fd6060a0f202b22bcec5a982dc (patch) | |
| tree | aa3d078c4d9a12fe05602510581f7360e2afa504 /src/sections/1_customer.php | |
| parent | 32f22413786763d4d128ee286cc13700e6b0446f (diff) | |
| download | AppliGestionPHP-39d4558eaf5fa5fd6060a0f202b22bcec5a982dc.tar.gz AppliGestionPHP-39d4558eaf5fa5fd6060a0f202b22bcec5a982dc.tar.bz2 AppliGestionPHP-39d4558eaf5fa5fd6060a0f202b22bcec5a982dc.zip | |
variables déplacées dans Config, suppressions constructeurs Latex.php, ébauche de section 6_advertising, un peu de typage
Diffstat (limited to 'src/sections/1_customer.php')
| -rw-r--r-- | src/sections/1_customer.php | 17 |
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)) |
