[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 15/16: Merge issue : inappropriate rollback
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 15/16: Merge issue : inappropriate rollback |
Date: |
Sun, 3 Feb 2019 14:38:42 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 09227d2cc9d61ba4810bd0496c3e76af1494308e
Author: Dany De Bontridder <address@hidden>
Date: Sun Feb 3 16:15:06 2019 +0100
Merge issue : inappropriate rollback
---
html/style-classic7.css | 2 +-
include/class/fiche.class.php | 18 ++++++++++--------
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/html/style-classic7.css b/html/style-classic7.css
index bfd17be..858fb2e 100644
--- a/html/style-classic7.css
+++ b/html/style-classic7.css
@@ -1410,7 +1410,7 @@ div#preference_div {
div#box_search_card {
position:absolute;
right:15.625%;
- top:115px;
+ top:145px;
}
@media only screen and (max-width:994px)
{
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 21fead6..96b8bce 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -57,6 +57,7 @@ class Fiche
$this->cn=$p_cn;
$this->id=$p_id;
$this->quick_code='';
+ $this->attribut=array();
}
/**
address@hidden used with a usort function, to sort an array of Fiche on
the name
@@ -499,7 +500,7 @@ class Fiche
$w->set_attribute('ipopup', 'ipop_account');
$w->set_attribute('account', "av_text" .
$attr->ad_id);
$w->table = 1;
- $bulle = HtmlInput::infobulle(14);
+ $bulle = Icon_Action::infobulle(14);
break;
case 'select':
$w = new ISelect("av_text" . $attr->ad_id);
@@ -528,7 +529,7 @@ class Fiche
$w->name = "av_text" . $attr->ad_id;
if ($attr->ad_id == 21 ||
$attr->ad_id==22||$attr->ad_id==20||$attr->ad_id==31)
{
- $bulle=HtmlInput::infobulle(21);
+ $bulle=Icon_Action::infobulle(21);
}
if ($attr->ad_id == ATTR_DEF_NAME || $attr->ad_id==
ATTR_DEF_QUICKCODE)
$class=" input_text highlight info";
@@ -597,7 +598,7 @@ class Fiche
$sql="select account_auto($this->fiche_def)";
$ret_sql=$this->cn->exec_sql($sql);
$a=Database::fetch_array($ret_sql, 0);
- $bulle=HtmlInput::infobulle(10);
+ $bulle=Icon_Action::infobulle(10);
if ($a['account_auto']=='t')
$bulle.=HtmlInput::warnbulle(11);
@@ -639,7 +640,7 @@ class Fiche
$w->dbl_click_history();
$w->width=$r->ad_size;
$w->table=0;
- $bulle=HtmlInput::infobulle(14);
+ $bulle=Icon_Action::infobulle(14);
$w->value=$r->av_text;
break;
case 'card':
@@ -711,7 +712,7 @@ class Fiche
if ($r->ad_id==21||$r->ad_id==22||$r->ad_id==20||$r->ad_id==31)
{
- $bulle=HtmlInput::infobulle(21);
+ $bulle=Icon_Action::infobulle(21);
}
if ($r->ad_id == ATTR_DEF_NAME || $r->ad_id==
ATTR_DEF_QUICKCODE||$r->ad_id==ATTR_DEF_ACCOUNT)
$class=" input_text highlight info";
@@ -804,7 +805,7 @@ class Fiche
// account
if ($id==ATTR_DEF_ACCOUNT)
{
- $v=mb_substr(sql_string($value), 0, 40);
+ $v=mb_strtoupper(mb_substr(sql_string($value), 0, 40));
try
{
// Check that the accounting can be used directly
@@ -953,7 +954,8 @@ class Fiche
// account
if ($id==ATTR_DEF_ACCOUNT)
{
- $v=sql_string($value);
+ $v=mb_strtoupper(sql_string($value));
+
if (trim($v)!='')
{
if (strpos($v, ',')!=0)
@@ -1705,7 +1707,7 @@ class Fiche
$r.='<table id="tiers_tb" class="sortable"
style="width:90%;margin-left:5%">
<TR >
- <TH>'._('Quick Code').HtmlInput::infobulle(17).'</TH>'.
+ <TH>'._('Quick Code').Icon_Action::infobulle(17).'</TH>'.
'<th>'._('Poste comptable').'</th>'.
'<th class="sorttable_sorted">'._('Nom').'<span
id="sorttable_sortfwdind"><img src="image/up.gif"></span>'.'</th>
<th>'._('Adresse').'</th>
- [Noalyss-commit] [noalyss] branch master updated (6956783 -> f39d9ca), Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 01/16: translation, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 03/16: Mantis #0001666: Export CSV depuis histo ne filtre pas par journal, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 02/16: Mantis #0001688: Affichage centime dans l'écran de confirmation, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 10/16: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 14/16: CSS : cosmetic, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 08/16: Mantis #1643: Déplacement du "bouton" «retour en-haut/calculatrice», Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 04/16: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 05/16: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 09/16: Mantis #1665: Pouvoir modifier l'ordre dans les listing de compta analytique, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 15/16: Merge issue : inappropriate rollback,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 11/16: Mantis #1596: Dans le plan comptable, fiches non cliquables Les fiches sont cliquable dans Plan Comptable , PCMNCFG et dans la liste des postes, en plus on peut obtenir toutes les fiches d'un poste, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 06/16: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Use base64_decode to protect the string in serialize, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 16/16: Bug merge, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 13/16: Mantis #1611: Problème Plan comptable - mise en évidence poste utilisés, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 07/16: Mantis #1626: AFFICHAGE BALANCE FICHE - soldes nuls au débit, Dany De Bontridder, 2019/02/03
- [Noalyss-commit] [noalyss] 12/16: Mantis #0001614: Problème bilans , changement pour bilan ASBL, Dany De Bontridder, 2019/02/03