fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [13046]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13046]
Date: Tue, 21 Apr 2015 00:01:09 +0000

Revision: 13046
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13046
Author:   nelson224
Date:     2015-04-21 00:01:08 +0000 (Tue, 21 Apr 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.boinvoice.inc.php

Modified: branches/dev-syncromind/property/inc/class.boinvoice.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boinvoice.inc.php        
2015-04-21 00:00:49 UTC (rev 13045)
+++ branches/dev-syncromind/property/inc/class.boinvoice.inc.php        
2015-04-21 00:01:08 UTC (rev 13046)
@@ -212,10 +212,24 @@
                        return $invoice;
                }
 
-               function read_invoice_sub($voucher_id=0,$paid = false)
+               function read_invoice_sub($data)
                {
-                       $invoice = $this->so->read_invoice_sub(array('start' => 
$this->start,'query' => $this->query,'sort' => $this->sort,'order' => 
$this->order,
-                               'user_lid' => $this->user_lid,'cat_id' => 
$this->cat_id,'voucher_id'=>$voucher_id,'paid' => $paid, 'results' => 
$this->results,'allrows'=>$this->allrows));
+                       /*$invoice = $this->so->read_invoice_sub(array('start' 
=> $this->start,'query' => $this->query,'sort' => $this->sort,'order' => 
$this->order,
+                               'user_lid' => $this->user_lid,'cat_id' => 
$this->cat_id,'voucher_id'=>$voucher_id,'paid' => $paid, 'results' => 
$this->results,'allrows'=>$this->allrows));*/
+                       
+                       $invoice = $this->so->read_invoice_sub(array(
+                               'start'         => $data['start'],
+                               'query'         => $data['query'],
+                               'sort'          => $data['sort'],
+                               'order'         => $data['order'],
+                               'user_lid'      => $this->user_lid,
+                               'cat_id'        => $this->cat_id,
+                               'voucher_id' => $data['voucher_id'],
+                               'paid'          => $data['paid'], 
+                               'results'       => $data['results'],
+                               'allrows'       => $data['allrows']
+                       ));
+
                        $this->total_records = $this->so->total_records;
                        return $invoice;
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]