Minor updatess
This commit is contained in:
@@ -42,7 +42,7 @@ class Payment_Bulk_Ezypay {
|
||||
|
||||
// Field 4 has our account reference
|
||||
if (preg_match('/^'.Company::instance()->site(TRUE).'-/',$array[4]) AND $array[10] == 'Cleared') {
|
||||
$aid = preg_replace('/^'.Compan::instance()->site(TRUE).'-/','',$array[4]);
|
||||
$aid = preg_replace('/^'.Company::instance()->site(TRUE).'-/','',$array[4]);
|
||||
|
||||
$po = ORM::factory('Payment');
|
||||
$po->account_id = $aid;
|
||||
@@ -85,7 +85,7 @@ class Payment_Bulk_Ezypay {
|
||||
}
|
||||
|
||||
$return = '';
|
||||
$return .= View::Factory('Payment/Admin/Addbulk/Ezypay/head');
|
||||
$return .= View::Factory('payment/admin/addbulk/ezypay/head');
|
||||
|
||||
$total = $fees = 0;
|
||||
foreach ($payments as $po) {
|
||||
@@ -94,11 +94,11 @@ class Payment_Bulk_Ezypay {
|
||||
$total += $po->total_amt;
|
||||
$fees += $po->fees_amt;
|
||||
|
||||
$return .= View::Factory('Payment/Admin/Addbulk/Ezypay/body')
|
||||
$return .= View::Factory('payment/admin/addbulk/ezypay/body')
|
||||
->set('o',$po);
|
||||
}
|
||||
|
||||
$return .= View::Factory('Payment/Admin/Addbulk/Ezypay/foot')
|
||||
$return .= View::Factory('payment/admin/addbulk/ezypay/foot')
|
||||
->set('total',$total)
|
||||
->set('fees',$fees);;
|
||||
|
||||
|
Reference in New Issue
Block a user