mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 08:53:23 -05:00
Amount breakdown now being properly displayed for donations / monetary donation.
* basically, there isn't a breakdown.
This commit is contained in:
parent
3f870cf60e
commit
d065279477
@ -693,10 +693,12 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
|
||||
if ($history) {
|
||||
end($history);
|
||||
$key = key($history);
|
||||
$title = "Original Price: " . $history[$key]->original_price . "\r\n" .
|
||||
"Paid: " . $history[$key]->amount . "\r\n" .
|
||||
"Redeemed Hours: " . $history[$key]->redeemed_hours;
|
||||
echo "title='" . $title . "'";
|
||||
if ( $history[$key]->original_price ) {
|
||||
$title = "Original Price: " . $history[$key]->original_price . "\r\n" .
|
||||
"Paid: " . $history[$key]->amount . "\r\n" .
|
||||
"Redeemed Hours: " . $history[$key]->redeemed_hours;
|
||||
echo "title='" . $title . "'";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user