V2.0: Refonte système bancaire - DB SQLite, RIB FR, TVA auto, multi-banques
- Remplace JSON par SQLite (aiosqlite) pour atomicité et intégrité - Nouveau format RIB français avec checksum modulo 97 - Chaque banque a son propre rôle Discord (isolation par serveur) - TVA automatique Particulier -> Entreprise, redirection au Fisc - Institutions gouvernementales avec droit d'audit optionnel - Commandes: /gouv, /banque, /audit, /mes-ribs - Supprime: 16 anciens fichiers (entreprises, FBM, URSAFF, etc.) - Reset complet des données, repart de zéro
This commit is contained in:
parent
2e38d05152
commit
c9ad155bf6
38 changed files with 3689 additions and 5106 deletions
|
|
@ -16,7 +16,8 @@ class CardGenerator:
|
|||
|
||||
def create_template(self):
|
||||
try:
|
||||
CI_path = "/home/discord/Bot/Vicy/ressources/assets/CIITAL.png"
|
||||
base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
CI_path = os.path.join(base_dir, "ressources", "assets", "CIITAL.png")
|
||||
|
||||
if not os.path.exists(CI_path):
|
||||
raise FileNotFoundError(f"Image de fond introuvable : {CI_path}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue