diff --git a/include/class/acc_ledger_purchase.class.php b/include/class/acc_ledger_purchase.class.php index d6bd3ff4e..5b6fe187e 100644 --- a/include/class/acc_ledger_purchase.class.php +++ b/include/class/acc_ledger_purchase.class.php @@ -1079,7 +1079,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger if ($wLedger == null) throw new Exception(_('Pas de journal disponible')); $wLedger->javascript="onChange='update_predef(\"ach\",\"f\",\"".$_REQUEST['ac']."\");$add_js'"; - $wLedger->table=1; + $wLedger->table=0; $f_jrn=$wLedger->input(); // Comment diff --git a/include/class/acc_ledger_sold.class.php b/include/class/acc_ledger_sold.class.php index 4e0e7c55a..1979e7522 100644 --- a/include/class/acc_ledger_sold.class.php +++ b/include/class/acc_ledger_sold.class.php @@ -1097,7 +1097,7 @@ EOF; $wLedger = $this->select_ledger('VEN', 2,FALSE); if ($wLedger == null) throw new Exception(_('Pas de journal disponible')); - $wLedger->table = 1; + $wLedger->table = 0; $wLedger->javascript = "onChange='update_predef(\"ven\",\"f\",\"".$_REQUEST['ac']."\");$add_js'"; $wLedger->label = " Journal " . Icon_Action::infobulle(2); diff --git a/include/lib/idate.class.php b/include/lib/idate.class.php index f61901f71..ea1a105d6 100644 --- a/include/lib/idate.class.php +++ b/include/lib/idate.class.php @@ -56,7 +56,6 @@ class IDate extends HtmlInput if ($this->readOnly==true) return $this->display(); if ($this->id=="") $this->id=self::generate_id($this->name); - $t= 'title="'.$this->title.'" '; $autofocus=($this->autofocus)?" autofocus ":""; $r=sprintf(' @@ -66,7 +65,6 @@ class IDate extends HtmlInput value ="%s" placeholder="%s" title="%s" - %s pattern="[0-9]{1,2}.[0-9]{1,2}.[0-9]{4}" /> - ',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$t,$this->id + ',$this->name,$this->id,$this->value,$this->placeholder,$this->title,$this->id ); $r.=sprintf('