Added User email viewing

Improved Table::
This commit is contained in:
Deon George
2011-08-27 16:33:46 +10:00
parent 495da41e0d
commit 6d44e7d5b2
51 changed files with 701 additions and 273 deletions

View File

@@ -1,28 +0,0 @@
<?php
echo '<b>'.__FILE__.'</b><br/>';
echo Form::open();
echo Form::select('plugin',$plugins);
echo '<table>';
echo '<tr>';
printf('<td class="heading">%s</td>','Date');
printf('<td class="heading">%s</td>','Invoice');
printf('<td class="heading">%s</td>','Customer');
printf('<td class="heading">%s</td>','Method');
printf('<td class="heading">%s</td>','Export');
echo '</tr>';
$c = 0;
foreach ($invoices as $invoice) {
printf('<tr class="%s">',(++$c%2==0?'even':'odd'));
printf('<td>%s</td><td>%s</td><td>%s %s (%s)</td><td>%s [%s/%s]</td><td><input type="checkbox" name="invoiceid[]" value="%s" /></td>',
$invoice->date_orig,$invoice->id,
$invoice->account->first_name,$invoice->account->last_name,$invoice->account->company,'paymentmethod',$invoice->total_amt,$invoice->due_date,
$invoice->id);
echo '</tr>';
}
echo '</table>';
echo Form::close();
echo '<PRE>';print_r($invoice);
?>