Allow manually-added students to still pay
This commit is contained in:
parent
edcc8d2ce0
commit
0ed69e36e7
|
@ -609,9 +609,13 @@ export function ClassDetail(props) {
|
|||
}
|
||||
</p>
|
||||
|
||||
{userTraining.attendance_status === 'Waiting for payment' &&
|
||||
{clazz.cost != '0.00' && !userTraining.paid_date && userTraining.attendance_status !== 'Withdrawn' &&
|
||||
<div>
|
||||
<p>Please pay the course fee of ${clazz.cost} to confirm your attendance.</p>
|
||||
{userTraining.attendance_status === 'Waiting for payment' ?
|
||||
<p>Please pay the course fee of ${clazz.cost} to confirm your attendance:</p>
|
||||
:
|
||||
<p>In case you haven't paid the course fee of ${clazz.cost} yet, you can do that here:</p>
|
||||
}
|
||||
<PayPalPayNow
|
||||
amount={clazz.cost}
|
||||
name={clazz.course_data.name}
|
||||
|
|
Loading…
Reference in New Issue
Block a user