Minor fixes from live site.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user