Minor fixes to payment, host manage and plesk

This commit is contained in:
Deon George
2012-04-17 20:50:06 +10:00
parent d2bc1bd451
commit 01d7f09a68
13 changed files with 360 additions and 108 deletions

View File

@@ -67,6 +67,10 @@ class Payment_Bulk_Ezypay {
$line = preg_replace("/\s+$/",'',$line);
$array = explode("\t",$line);
// If we dont have a payment item for this fee, we'll continue.
if (! isset($payments[$array[3]]))
continue;
// Our commission fees
// @todo This should be in a config file
if (in_array($array[9],array(1,15)))

View File

@@ -1,5 +1,5 @@
<tr>
<td><?php echo $o->display('id'); ?></td>
<td><?php echo HTML::anchor('admin/payment/view/'.$o->id,$o->display('id')); ?></td>
<td><?php echo $o->display('date_payment'); ?></td>
<td><?php echo $o->display('total_amt'); ?></td>
<td><?php echo $o->display('fees_amt'); ?></td>