fix: resolve all QA/UAT report issues (P0-P3)

Made-with: Cursor
This commit is contained in:
Yamen Ahmad
2026-04-12 01:34:00 +04:00
parent 982d4bca30
commit 69d8a7c52f
202 changed files with 364 additions and 8902 deletions

View File

@@ -71,9 +71,9 @@ class PdfGenerator:
score_header = ['Skill', 'Band Score']
score_rows = [score_header]
for score in scores:
skill_name = getattr(score, 'skill_name', '') or getattr(score, 'name', 'N/A')
band = getattr(score, 'band_score', '') or getattr(score, 'score', 'N/A')
score_rows.append([str(skill_name), str(band)])
skill_name = score.skill or 'N/A'
band = score.band_score if score.band_score else 'N/A'
score_rows.append([str(skill_name).capitalize(), str(band)])
if len(score_rows) > 1:
score_table = Table(score_rows, colWidths=[8 * cm, 8 * cm])