diff --git a/webclient/src/Classes.js b/webclient/src/Classes.js index 3a8ef80..97dde37 100644 --- a/webclient/src/Classes.js +++ b/webclient/src/Classes.js @@ -609,9 +609,13 @@ export function ClassDetail(props) { }

- {userTraining.attendance_status === 'Waiting for payment' && + {clazz.cost != '0.00' && !userTraining.paid_date && userTraining.attendance_status !== 'Withdrawn' &&
-

Please pay the course fee of ${clazz.cost} to confirm your attendance.

+ {userTraining.attendance_status === 'Waiting for payment' ? +

Please pay the course fee of ${clazz.cost} to confirm your attendance:

+ : +

In case you haven't paid the course fee of ${clazz.cost} yet, you can do that here:

+ }