<?php if (isset($_POST['form'])) { ?> <div class="alert alert-danger"> There was a problem processing your credit card. Please try again. </div> <?php } ?> <?php if ($entry->getId() !== NULL && $entry->getCreatedAt() == $timestamp) { ?> <?php if ($entry->getPaidAt() !== NULL && $entry->getAmountDue() == 0) { ?> <div class="alert alert-success"> Thank you for your payment! </div> <?php } ?> <table class="table"> <tr> <th>Order Date:</th> <td><?php echo $entry->getCreatedAt('n/j/Y'); ?> </td>
<th>Corner Booth:</th> <td><?php echo $entry->isCornerBooth() ? 'Yes' : 'No'; ?> </td> </tr> <tr> <th>Comments:</th> <td> <?php echo $entry->getDescription(); ?> </td> </tr> <?php if ($entry->getAmountDue() > 0) { ?> <tr> <th>Amount Due:</th> <td>$<?php echo number_format($entry->getAmountDue(), 2); ?> </td> </tr> <?php } ?> <?php if ($entry->getPaymentAmount() > 0) { ?> <tr>