fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15811] rental: correct type


From: sigurdne
Subject: [Fmsystem-commits] [15811] rental: correct type
Date: Tue, 11 Oct 2016 18:47:47 +0000 (UTC)

Revision: 15811
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15811
Author:   sigurdne
Date:     2016-10-11 18:47:47 +0000 (Tue, 11 Oct 2016)
Log Message:
-----------
rental: correct type

Modified Paths:
--------------
    trunk/rental/inc/class.soinvoice_price_item.inc.php

Modified: trunk/rental/inc/class.soinvoice_price_item.inc.php
===================================================================
--- trunk/rental/inc/class.soinvoice_price_item.inc.php 2016-10-11 18:18:56 UTC 
(rev 15810)
+++ trunk/rental/inc/class.soinvoice_price_item.inc.php 2016-10-11 18:47:47 UTC 
(rev 15811)
@@ -74,9 +74,10 @@
                                        $this->db->f('is_area', true),
                                        $this->db->f('price', true),
                                        $this->db->f('area', true),
-                                       $this->db->f('count', true),
+                               (int)$this->db->f('count'),
                                        strtotime($this->db->f('date_start', 
true)),
-                                       strtotime($this->db->f('date_end', 
true))
+                                       strtotime($this->db->f('date_end', 
true)),
+                                       0 // price_type_id
                                );
        
                                
$price_item->set_total_price($this->db->f('total_price', true));




reply via email to

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