</td> <td><?php echo $row['order_id']; ?> </td> <td><?php echo $row['txn_id']; ?> </td> <td><?php echo $row['payment_status']; ?> </td> <td><?php echo 'ZAR ' . number_format($adminController->currencyConverter($row['currency'], 'ZAR', $row['room_price'] - $row['discount']), 2, '.', ','); ?> </td> <td><?php echo empty($row['firstname']) && empty($row['lastname']) ? $row['user_email'] : sprintf('%s %s', $row['firstname'], $row['lastname']); ?> </td> <td><?php echo $row['listing_email']; ?> </td> <td> <a class="btn btn-primary" href='view_orders.php?q=<?php echo base64_encode($row['order_id']); ?> '>
echo 'D B & B'; break; case '5': echo 'All Meals'; break; case '6': echo 'All Meals and Activities'; break; default: echo '-'; break; } ?> <br /> <strong>Price</strong>: <?php echo !empty($order['room_price']) ? 'ZAR ' . number_format($adminController->currencyConverter($order['currency'], 'ZAR', $order['room_price']), 2, '.', ',') : '-'; ?> <br /> <strong>Discount</strong>: <?php echo !empty($order['discount']) ? 'ZAR ' . number_format($adminController->currencyConverter($order['currency'], 'ZAR', $order['discount'], 2, '.', ',')) : '-'; ?> <br /> <strong>Check In:</strong>: <?php echo !empty($order['check_in_date']) ? mysql_escape_string($order['check_in_date']) : '-'; ?> <br /> <strong>Check Out</strong>: <?php echo !empty($order['check_out_date']) ? mysql_escape_string($order['check_out_date']) : '-'; ?>