[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;
}
/*
- [Noalyss-commit] [noalyss] branch master updated (6dec324 -> 585b1c5), Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 01/09: Ajout du code stock, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 02/09: indent,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 04/09: Task #1065 - si autoliquidation montant incorrect : génération de documents, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 05/09: Task #1067 - Bilan : vérification Link to complete verification, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 06/09: bug if accounting is not given, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 09/09: Task #1069 - PDF : saut de page non voulu quand une ligne est trop longue, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 07/09: Task #1045 - Amélioration apparence : cosmetic, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 08/09: Task #1070 - Recherche action : filtre date devrait être les premiers champs Change search box, Dany De Bontridder, 2014/12/06
- [Noalyss-commit] [noalyss] 03/09: Task #1045 - Amélioration apparence :, Dany De Bontridder, 2014/12/06