echo $user->first_name . " " . $user->last_name; ?> </span></h2> <table width="100%"> <tr> <th class="date">Date</th> <th class="description">Description</th> <th class="amount">Amount</th> <th class="invoice">Invoice Number</th> </tr> <?php foreach ($charges as $charge) { ?> <tr> <td class="date"><?php echo utilities::grind_date_format($charge->date); ?> </td> <td class="description"><?php echo $charge->description; ?> </td> <td class="amount"><?php echo number_format($charge->amount, 2); ?> </td> <td class="invoice"><?php echo $charge->invoice == "" ? "Not yet invoiced" : $charge->invoice; ?> </td> </tr>
echo "<sup>*</sup>"; } ?> <?php if ($user->company != "") { echo "<br><span class=\"company\">" . $user->company . "</span>"; } ?> </td> <td class="contactinfo"><?php echo $user->email_address; ?> <br /><?php echo $user->phone_number; ?> </td> <!-- TODO: Need password reset email trigger method --> <td class="lastcheckin"><?php echo $user->last_sign_in == "" ? "Never" : utilities::grind_date_format($user->last_sign_in); ?> </td> </tr> <?php } ?> </tbody> </table> <p><sup>*</sup> Denotes an administrator</p> </section> </div><!-- end #waitlist -->