1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 17:03:22 -05:00

Amount breakdown now being properly displayed for donations / monetary donation.

* basically, there isn't a breakdown.
This commit is contained in:
Jonathan Rosenbaum 2017-11-12 03:30:04 +00:00
parent 3f870cf60e
commit d065279477

View File

@ -693,11 +693,13 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
if ($history) { if ($history) {
end($history); end($history);
$key = key($history); $key = key($history);
if ( $history[$key]->original_price ) {
$title = "Original Price: " . $history[$key]->original_price . "\r\n" . $title = "Original Price: " . $history[$key]->original_price . "\r\n" .
"Paid: " . $history[$key]->amount . "\r\n" . "Paid: " . $history[$key]->amount . "\r\n" .
"Redeemed Hours: " . $history[$key]->redeemed_hours; "Redeemed Hours: " . $history[$key]->redeemed_hours;
echo "title='" . $title . "'"; echo "title='" . $title . "'";
} }
}
?> ?>
><?php echo $row_Recordset1['format_amount']; ?>&nbsp;</td> ><?php echo $row_Recordset1['format_amount']; ?>&nbsp;</td>