JYZ FACTURE — M4B ERP SUITE
B2B Timesheet ("Pointages"), Automated Invoicing, AI Revenue Forecasting & OAuth2 Cloud Backup Suite (tachouchejyz.rf.gd)
Tachouche JYZ (Genay / Lyon, France)
Lead Full-Stack Developer & Architect
2026
CodeIgniter 4 · PHP 8.2 · MySQL · Tailwind CSS v4
Live B2B ERP (JYZ Facture v1.1)
Weekly Pointages → PDF Invoice
AI Revenue Forecast (Chart.js)
OAuth2 Dropbox & GDrive Backup
PROBLEM STATEMENT
French B2B contractors and micro-entrepreneurs (Art. 293 B du CGI, operating for industrial clients like SICMA AUTOBERNARD) lose hours tracking morning/afternoon shift hours, computing bi-monthly ("quinzaine") or monthly invoices, following up on unpaid balances, and manually backing up accounting data.
SYSTEM DESIGN
Engineered JYZ Facture v1.1.0 on CodeIgniter 4 and MySQL with a glassmorphic Tailwind CSS v4 + Alpine.js interface: built a weekly shift calendar (Matin / Après-midi with automatic hour calculation and locked "Facturé" states), a multi-cadence PDF invoice engine (Mois, Quinzaine, Semaine, Jour), a Chart.js AI revenue forecast curve, and an autonomous background backup daemon (OAuth2 Dropbox, Google Drive & email ZIP archives).
PRODUCTION EXECUTION
Deployed live at tachouchejyz.rf.gd with real-time financial KPIs (CA ce mois, CA Global, Heures travaillées, 73% collection rate), partial/full payment & credit-note ("Avoirs") recording, 1-click email dunning ("Relances"), monthly CSV/PDF accountant registry export, full activity audit logs (/history), and macOS Sonoma PWA installation.
ENGINEERING & QA BLUEPRINT
CRM & Weekly Pointages
B2B client profiles (SIRET, hourly rate, cadence) paired with a weekly Matin/Après-midi timesheet grid that auto-computes shift hours.
Multi-Cadence Billing
1-click invoice generation (/invoices) by Month, Quinzaine (1–15 / 16–end), Week, or Day with automatic "Facturé" shift locking & PDF output.
AI Revenue Forecast & KPIs
Executive dashboard tracking CA ce mois, CA Global, 73% collection rate, partial/full payments, email dunning (Relances), and Chart.js AI projections.
OAuth2 Cloud Backup Daemon
Autonomous Alpine.js backupManager syncing encrypted SQL/ZIP backups to Dropbox OAuth2, Google Drive OAuth2, email, and local iMac folders.
MySQL Schema: `users`, `clients` (SIRET, rate, cadence), `timesheets` (date, morning/afternoon shifts, billed lock), `invoices` (`FAC-2026-*`), `payments`, `activity_logs`, `settings`.
GET `/` (KPIs & AI Chart) · GET `/clients/{id}/timesheet/{year}/w{week}` · POST `/invoices/generate` · GET `/invoices/{id}/pdf` · POST `/backup/run` (`OAuth2` Dropbox/GDrive).
Session authentication, CSRF protection, Art. 293 B CGI legal compliance, immutable `Facturé` timesheet locks, and full IP/user audit trail (`/history`).
End-to-end verification of shift hour math, Quinzaine date-range filtering, partial payment state transitions, and CSV/PDF accountant registry exports.
Automated tests validating invoice numbering (`FAC-YYYY-XXXX`), balance-due calculations, credit notes (`Avoirs`), and role-protected routes.
Real-time `/history` activity audit log tracking every generated invoice, recorded payment, dunning email, and automated Dropbox/Email backup (`backup.success`).
// COMPLETE TECHNOLOGY STACK & TAGS
SCENE EXHIBITS
CLICK FRAME TO INSPECT IN LIGHTBOX