Added User email viewing
Improved Table::
This commit is contained in:
@@ -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);
|
||||
?>
|
Reference in New Issue
Block a user