From: ethem Date: Mon, 13 Mar 2006 17:57:12 +0000 (+0000) Subject: Students can view their payments. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a6c656065c9ea3651e7a28e7679936a40de6e9ea;p=moodle.git Students can view their payments. --- diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index 83de133447..67b3bd7d07 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -545,6 +545,7 @@ class enrolment_plugin_authorize if ($rec=get_record('enrol_authorize','userid',$USER->id,'courseid',$course->id,'status',$status,'id')) { $a->orderid = $rec->id; + $a->url = "$CFG->wwwroot/enrol/authorize/index.php?order=$a->orderid"; redirect($CFG->wwwroot, get_string("paymentpending", "enrol_authorize", $a), '20'); return; } diff --git a/lang/en_utf8/enrol_authorize.php b/lang/en_utf8/enrol_authorize.php index 7cfd4bf05a..cbbf4d7e25 100644 --- a/lang/en_utf8/enrol_authorize.php +++ b/lang/en_utf8/enrol_authorize.php @@ -104,7 +104,7 @@ $string['noreturns'] = 'No returns!'; $string['notsettled'] = 'Not settled'; $string['orderid'] = 'Order ID'; $string['paymentmanagement'] = 'Payment Management'; -$string['paymentpending'] = 'Your payment is pending for this course with this order number $a->orderid.'; +$string['paymentpending'] = 'Your payment is pending for this course with this order number $a->orderid. See url\'>Order Details.'; $string['pendingordersemail'] = ' Dear admin, $a->pending transactions will be expired unless you accept payment with in $a->days days.