Payment complete flag for manual payments

This commit is contained in:
2014-11-29 11:23:42 +11:00
parent 0509376979
commit 780be0be7e
3 changed files with 43 additions and 28 deletions

View File

@@ -1426,7 +1426,8 @@ function _booking_room_email_summary($node) {
//check that this attendee has had a room allocated
if (! empty($node->rid))
{
$rows[] = t("Room Location: " . _booking_room_location_lookup($node->booking_room_location_id));
//$rows[] = t("Room Location: " . _booking_room_location_lookup($node->booking_room_location_id));
$rows[] = t("Room Location: " . $node->booking_roomlocation_descrip);
$rows[] = t("Room Number: " . $node->booking_room_number);
$rows[] = t("Bed Type: " . _booking_room_bedtype_lookup($node->booking_room_bedtype));
}
@@ -1460,7 +1461,7 @@ function _booking_room_email_summary($node) {
} else {
// If /dev/urandom isn't available (eg: in non-unix systems), use mt_rand().
$pr_bits = "";
for($cnt=0; $cnt < 16; $cnt++){
for($cnt=0; $cnt < 16; $cnt++) {
$pr_bits .= chr(mt_rand(0, 255));
}
}