Index: htdocs/fourn/facture/fiche.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/fourn/facture/fiche.php,v
retrieving revision 1.66
diff -r1.66 fiche.php
119c119
<
---
> $date_echeance = $db->idate(mktime(12,0,0,$_POST["echmonth"],$_POST["echday"],$_POST["echyear"]));
293c293
< print '
'.$langs->trans("DateEcheance").' | ';
---
> print ' |
'.$langs->trans("DateDue").' | ';
390c390
< print ' |
'.$langs->trans("Date").' | ';
---
> print ' |
'.$langs->trans("DateDue").' | ';
547c547
< print ' | '.$langs->trans("DateEcheance")." : ";
---
> print ' | '.$langs->trans("DateDue")." : ";
Index: htdocs/fourn/fournisseur.facture.class.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/fourn/fournisseur.facture.class.php,v
retrieving revision 1.4
diff -r1.4 fournisseur.facture.class.php
48a49
> var $date_echeance;
106c107
< $sql = "INSERT INTO ".MAIN_DB_PREFIX."facture_fourn (facnumber, libelle, fk_soc, datec, datef, note, fk_user_author) ";
---
> $sql = "INSERT INTO ".MAIN_DB_PREFIX."facture_fourn (facnumber, libelle, fk_soc, datec, datef, date_lim_reglement, note, fk_user_author) ";
108c109
< $sql .= $this->socid.", now(),".$this->db->idate($this->date).",'".addslashes($this->note)."', ".$user->id.");";
---
> $sql .= $this->socid.", now(),".$this->db->idate($this->date).", ".$this->db->idate($this->date_echeance).",'".addslashes($this->note)."', ".$user->id.");";
170c171
< $sql .= ", s.nom as socnom, s.idp as socidp";
---
> $sql .= ", s.nom as socnom, s.idp as socidp, f.date_lim_reglement";
199a201
> $this->date_echeance = $obj->date_lim_reglement;
Index: mysql/migration/1.1.0-2.0.0.sql
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/mysql/migration/1.1.0-2.0.0.sql,v
retrieving revision 1.29
diff -r1.29 1.1.0-2.0.0.sql
395a396
> alter table llx_facture_fourn add date_lim_reglement date ;
|