mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
Put back. String 'returns'&'noreturns' are used only in one order. Not general.
This commit is contained in:
parent
db763a8a91
commit
cb845f37ae
@ -20,7 +20,7 @@
|
||||
$authstrs = get_strings(array('paymentmanagement','orderid','void','capture','refund','delete',
|
||||
'authcaptured','authorizedpendingcapture','capturedpendingsettle','capturedsettled',
|
||||
'settled','refunded','cancelled','expired','tested',
|
||||
'transid','settlementdate','notsettled','amount','returns','noreturns',
|
||||
'transid','settlementdate','notsettled','amount',
|
||||
'howmuch','captureyes','unenrolstudent'), 'enrol_authorize');
|
||||
|
||||
/// Print header
|
||||
|
@ -425,7 +425,7 @@ function authorize_print_order_details($orderno)
|
||||
$table->data[] = array("<b>$strs->action</b>", $actions);
|
||||
print_table($table);
|
||||
if ($settled) { // show refunds.
|
||||
echo "<h4>" . $authstrs->returns . "</h4>\n";
|
||||
echo "<h4>" . get_string('returns', 'enrol_authorize') . "</h4>\n";
|
||||
$t2->size = array('15%', '15%', '20%', '35%', '15%');
|
||||
$t2->align = array('right', 'right', 'right', 'left', 'right');
|
||||
$t2->head = array($authstrs->transid,
|
||||
@ -455,7 +455,7 @@ function authorize_print_order_details($orderno)
|
||||
}
|
||||
}
|
||||
else {
|
||||
$t2->data[] = $authstrs->noreturns;
|
||||
$t2->data[] = array(get_string('noreturns', 'enrol_authorize'));
|
||||
}
|
||||
print_table($t2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user