Minor fixes from live site.

This commit is contained in:
Deon George
2013-06-05 13:42:55 +10:00
parent 3ba7eea48d
commit 2322a802de
8 changed files with 17 additions and 14 deletions

View File

@@ -91,9 +91,9 @@ class Controller_Admin_Payment extends Controller_Payment {
foreach ($_POST['payment_item'] as $k=>$v) {
$pio = $po->payment_item;
$pio->invoice_id = $k;
$pio->alloc_amt = is_numeric($v) ? $v : 0;
$pio = $po->add_item($pio);
$po->add_item($pio);
$pio->alloc_amt = is_numeric($v) ? $v : 0;
}
// Entry updated

View File

@@ -104,7 +104,7 @@ class Payment_Bulk_Ezypay {
'account->name()'=>'Customer',
))
->prepend(array(
'id'=>array('url'=>URL::link('admin','payment/view/')),
'id'=>array('url'=>URL::link('admin','payment/edit/')),
));
return View::factory('payment/admin/addbulk/ezypay_processed')