noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/09: indent


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/09: indent
Date: Sat, 06 Dec 2014 18:57:37 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 98c392be4d6fa043ffd87dad357cd794e2ec9ace
Author: Dany De Bontridder <address@hidden>
Date:   Fri Dec 5 21:51:08 2014 +0100

    indent
---
 include/class_document.php |   46 ++++++++++++++++++++++----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/include/class_document.php b/include/class_document.php
index bf95e14..48c1bcd 100644
--- a/include/class_document.php
+++ b/include/class_document.php
@@ -1147,29 +1147,29 @@ class Document
                 return $p_array['acompte'];
                        return "0";
             break;
-               case 'STOCK_NAME':
-                       if ( ! isset ($p_array['repo'])) return "";
-                       $ret=$this->db->get_value('select r_name from 
public.stock_repository where r_id=$1',array($p_array['repo']));
-                       return $ret;
-               case 'STOCK_ADRESS':
-                       if ( ! isset ($p_array['repo'])) return "";
-                       $ret=$this->db->get_value('select r_adress from 
public.stock_repository where r_id=$1',array($p_array['repo']));
-                       return $ret;
-               case 'STOCK_COUNTRY':
-                       if ( ! isset ($p_array['repo'])) return "";
-                       $ret=$this->db->get_value('select r_country from 
public.stock_repository where r_id=$1',array($p_array['repo']));
-                       return $ret;
-               case 'STOCK_CITY':
-                       if ( ! isset ($p_array['repo'])) return "";
-                       $ret=$this->db->get_value('select r_city from 
public.stock_repository where r_id=$1',array($p_array['repo']));
-                       return $ret;
-               case 'STOCK_PHONE':
-                       if ( ! isset ($p_array['repo'])) return "";
-                       $ret=$this->db->get_value('select r_phone from 
public.stock_repository where r_id=$1',array($p_array['repo']));
-                       return $ret;
-                case 'TITLE':
-                    $title=HtmlInput::default_value_request("ag_title", "");
-                    return $title;
+        case 'STOCK_NAME':
+                if ( ! isset ($p_array['repo'])) return "";
+                $ret=$this->db->get_value('select r_name from 
public.stock_repository where r_id=$1',array($p_array['repo']));
+                return $ret;
+        case 'STOCK_ADRESS':
+                if ( ! isset ($p_array['repo'])) return "";
+                $ret=$this->db->get_value('select r_adress from 
public.stock_repository where r_id=$1',array($p_array['repo']));
+                return $ret;
+        case 'STOCK_COUNTRY':
+                if ( ! isset ($p_array['repo'])) return "";
+                $ret=$this->db->get_value('select r_country from 
public.stock_repository where r_id=$1',array($p_array['repo']));
+                return $ret;
+        case 'STOCK_CITY':
+                if ( ! isset ($p_array['repo'])) return "";
+                $ret=$this->db->get_value('select r_city from 
public.stock_repository where r_id=$1',array($p_array['repo']));
+                return $ret;
+        case 'STOCK_PHONE':
+                if ( ! isset ($p_array['repo'])) return "";
+                $ret=$this->db->get_value('select r_phone from 
public.stock_repository where r_id=$1',array($p_array['repo']));
+                return $ret;
+        case 'TITLE':
+            $title=HtmlInput::default_value_request("ag_title", "");
+            return $title;
 
                }
         /*



reply via email to

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