[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15143] Syncromind: Merge 14936:15027 from trunk
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [15143] Syncromind: Merge 14936:15027 from trunk |
Date: |
Fri, 13 May 2016 12:25:28 +0000 (UTC) |
Revision: 15143
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15143
Author: sigurdne
Date: 2016-05-13 12:25:28 +0000 (Fri, 13 May 2016)
Log Message:
-----------
Syncromind: Merge 14936:15027 from trunk
Modified Paths:
--------------
branches/dev-syncromind-2/rental/inc/model/class.agresso_gl07.inc.php
Modified: branches/dev-syncromind-2/rental/inc/model/class.agresso_gl07.inc.php
===================================================================
--- branches/dev-syncromind-2/rental/inc/model/class.agresso_gl07.inc.php
2016-05-13 12:25:25 UTC (rev 15142)
+++ branches/dev-syncromind-2/rental/inc/model/class.agresso_gl07.inc.php
2016-05-13 12:25:28 UTC (rev 15143)
@@ -139,7 +139,7 @@
{
$missing_billing_info[] = 'Project id can not
be more than 6 characters.';
}
- $price_items =
rental_socontract_price_item::get_instance()->get(null, null, null, null, null,
null, array(
+ $price_items =
rental_socontract_price_item::get_instance()->get(0, 0, '', false, '', '',
array(
'contract_id' => $contract->get_id()));
foreach ($price_items as $price_item) // Runs through
all items
{
@@ -168,12 +168,12 @@
$decimal_separator =
isset($GLOBALS['phpgw_info']['user']['preferences']['rental']['decimal_separator'])
? $GLOBALS['phpgw_info']['user']['preferences']['rental']['decimal_separator']
: ',';
$thousands_separator =
isset($GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator'])
?
$GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator']
: '.';
// We need all invoices for this billing
- $invoices = rental_soinvoice::get_instance()->get(null,
null, 'id', true, null, null, array(
+ $invoices = rental_soinvoice::get_instance()->get(0, 0,
'id', true, '', '', array(
'billing_id' => $this->billing_job->get_id()));
foreach ($invoices as $invoice) // Runs through all
invoices
{
// We need all price items in the invoice
- $price_items =
rental_soinvoice_price_item::get_instance()->get(null, null, null, null, null,
null, array(
+ $price_items =
rental_soinvoice_price_item::get_instance()->get(0, 0, '', false, '', '', array(
'invoice_id' => $invoice->get_id()));
// HACK to get the needed location code for the
building
$building_location_code =
rental_socomposite::get_instance()->get_building_location_code($invoice->get_contract_id());
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15143] Syncromind: Merge 14936:15027 from trunk,
sigurdne <=