Skip to content

Commit

Permalink
fix(driving-license): disabled BE for 65 and older (#15873)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and jonnigs committed Sep 12, 2024
1 parent 13ee1f5 commit 4f9da81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export const sectionApplicationFor = (allowBELicense = false) =>
disabled:
!currentLicense ||
age < 18 ||
age >= 65 ||
categories?.some((c) => c.nr.toUpperCase() === 'BE') ||
// validToCode === 8 is temporary license and should not be applicable for BE
!categories?.some(
Expand Down

0 comments on commit 4f9da81

Please sign in to comment.