feat: Implement full certificate management with upload, upsert, delete, and new domain models for staff certificates and their statuses.

This commit is contained in:
Achintha Isuru
2026-02-26 23:28:59 -05:00
parent ca0ba258e2
commit 425bf19a9b
27 changed files with 1525 additions and 210 deletions

View File

@@ -1057,7 +1057,8 @@
"select_pdf": "Select PDF File",
"attestation": "I certify that this document is genuine and valid.",
"success": "Document uploaded successfully",
"error": "Failed to upload document"
"error": "Failed to upload document",
"replace": "Replace"
}
},
"staff_certificates": {
@@ -1086,13 +1087,16 @@
},
"upload_modal": {
"title": "Upload Certificate",
"name_label": "Certificate Name",
"issuer_label": "Certificate Issuer",
"expiry_label": "Expiration Date (Optional)",
"select_date": "Select date",
"upload_file": "Upload File",
"drag_drop": "Drag and drop or click to upload",
"supported_formats": "PDF, JPG, PNG up to 10MB",
"cancel": "Cancel",
"save": "Save Certificate"
"save": "Save Certificate",
"success_snackbar": "Certificate successfully uploaded and pending verification"
},
"delete_modal": {
"title": "Remove Certificate?",