bdecentgmbh / moodle-availability_credit

Pay with credits for course contents
GNU General Public License v3.0
1 stars 4 forks source link

Code references "payment_status" which does no seem to exist #7

Open rjnl opened 8 months ago

rjnl commented 8 months ago

This code in view.php refers to payment_status.

if ($paymenttnx && ($paymenttnx->payment_status == 'Pending')) {
    echo get_string('paymentpending', 'availability_credit');
} else {

But there is no payment_status field in the availability_credit_tnx table.