Delete Feature: - Added deleteDeclaration() method to DeclarationTVA class - Only allows deletion of draft declarations (safety check) - Deletes CA-3 lines first, then declaration record - Added delete button to main interface for draft declarations - Added confirmation dialog before deletion - Added success/error messages for delete operations - Added translations in both English and French Security: - Only draft declarations can be deleted - Confirmation dialog prevents accidental deletion - Proper error handling and user feedback The interface now shows a delete button for each draft declaration! |
||
|---|---|---|
| .. | ||
| declarationtva_config.class.php | ||
| declarationtva_period.class.php | ||
| declarationtva.class.php | ||