fix: code comptable client avec préfixe 411 (norme comptable)

- Customer::generateCodeComptable() : préfixe changé de 'EC' vers '411'
  (compte client 411 du plan comptable général)
- Format : 411_XXXX_XXXXX (ex: 411_0001_SITEC)
- Template : placeholder mis à jour
- Test : assertStringStartsWith('411_')

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-04-03 20:20:51 +02:00
parent 8b6c10b842
commit a2a6e7f4af
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ class CustomerTest extends TestCase
$c = $this->createCustomer();
$code = $c->generateCodeComptable();
$this->assertNotEmpty($code);
$this->assertStringStartsWith('EC_', $code);
$this->assertStringStartsWith('411_', $code);
}
public function testGenerateCodeComptableWithRaisonSociale(): void