[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-cvs] dolibarr htdocs/commaddpropal.php mysql/data/da...
From: |
Regis Houssin |
Subject: |
[Dolibarr-cvs] dolibarr htdocs/commaddpropal.php mysql/data/da... |
Date: |
Mon, 12 Jun 2006 15:48:54 +0000 |
CVSROOT: /cvsroot/dolibarr
Module name: dolibarr
Changes by: Regis Houssin <hregis> 06/06/12 15:48:54
Modified files:
htdocs/comm : addpropal.php
mysql/data : data.sql
mysql/migration: 2.0.0-2.1.0.sql
Log message:
ajout de la constante PROPALE_VALIDITY_DURATION pour définir une durée
de validité
des propales par défaut lors de la création
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/comm/addpropal.php?cvsroot=dolibarr&r1=1.66&r2=1.67
http://cvs.savannah.gnu.org/viewcvs/dolibarr/mysql/data/data.sql?cvsroot=dolibarr&r1=1.198&r2=1.199
http://cvs.savannah.gnu.org/viewcvs/dolibarr/mysql/migration/2.0.0-2.1.0.sql?cvsroot=dolibarr&r1=1.98&r2=1.99
Patches:
Index: htdocs/comm/addpropal.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/comm/addpropal.php,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- htdocs/comm/addpropal.php 3 Jun 2006 14:47:06 -0000 1.66
+++ htdocs/comm/addpropal.php 12 Jun 2006 15:48:54 -0000 1.67
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: addpropal.php,v 1.66 2006/06/03 14:47:06 eldy Exp $
+ * $Id: addpropal.php,v 1.67 2006/06/12 15:48:54 hregis Exp $
* $Source: /cvsroot/dolibarr/dolibarr/htdocs/comm/addpropal.php,v $
*/
@@ -26,7 +26,7 @@
\file htdocs/comm/addpropal.php
\ingroup propal
\brief Page d'ajout d'une proposition commmercial
- \version $Revision: 1.66 $
+ \version $Revision: 1.67 $
*/
require("./pre.inc.php");
@@ -124,7 +124,7 @@
$html->select_date('','','','','',"addprop");
print '</td></tr>';
- print '<tr><td>'.$langs->trans("ValidityDuration").'</td><td
colspan="2"><input name="duree_validite" size="5" value="15">
'.$langs->trans("days").'</td></tr>';
+ print '<tr><td>'.$langs->trans("ValidityDuration").'</td><td
colspan="2"><input name="duree_validite" size="5"
value="'.$conf->global->PROPALE_VALIDITY_DURATION.'">
'.$langs->trans("days").'</td></tr>';
// Conditions de réglement
print '<tr><td
nowrap>'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">';
@@ -365,5 +365,5 @@
$db->close();
-llxFooter('$Date: 2006/06/03 14:47:06 $ - $Revision: 1.66 $');
+llxFooter('$Date: 2006/06/12 15:48:54 $ - $Revision: 1.67 $');
?>
Index: mysql/data/data.sql
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/mysql/data/data.sql,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -b -r1.198 -r1.199
--- mysql/data/data.sql 9 Jun 2006 16:19:14 -0000 1.198
+++ mysql/data/data.sql 12 Jun 2006 15:48:54 -0000 1.199
@@ -19,7 +19,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--
--- $Id: data.sql,v 1.198 2006/06/09 16:19:14 hregis Exp $
+-- $Id: data.sql,v 1.199 2006/06/12 15:48:54 hregis Exp $
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/data/data.sql,v $
--
@@ -187,6 +187,11 @@
insert into llx_const (name, value, type, visible, note) VALUES
('MAIN_FORCE_SETLOCALE_LC_MONETARY', 'MAIN_FORCE_SETLOCALE_LC_MONETARY',
'chaine', 1, 'Pour forcer LC_MONETARY si pb de locale');
insert into llx_const (name, value, type, visible, note) VALUES
('MAIN_FORCE_SETLOCALE_LC_NUMERIC', 'MAIN_FORCE_SETLOCALE_LC_NUMERIC',
'chaine', 1, 'Mettre la valeur C si problème de centimes');
+--
+-- Duree de validite des propales
+--
+insert into llx_const (name, value, type, visible, note) VALUES
('PROPALE_VALIDITY_DURATION', '15', 'chaine', 1, 'Durée de validitée des
propales');
+
--
-- Descriptif des plans comptables FR PCG99-ABREGE
Index: mysql/migration/2.0.0-2.1.0.sql
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/mysql/migration/2.0.0-2.1.0.sql,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -b -r1.98 -r1.99
--- mysql/migration/2.0.0-2.1.0.sql 10 Jun 2006 11:09:58 -0000 1.98
+++ mysql/migration/2.0.0-2.1.0.sql 12 Jun 2006 15:48:54 -0000 1.99
@@ -1,4 +1,4 @@
--- $Revision: 1.98 $
+-- $Revision: 1.99 $
--
-- Attention à l ordre des requetes
-- ce fichier doit être chargé sur une version 2.0.0
@@ -295,3 +295,5 @@
insert into llx_c_actioncomm (id, code, type, libelle) values ( 8, 'AC_COM',
'system', 'Envoi Commande');
update llx_actioncomm set fk_action = '8' where fk_action = '3' and label =
'Envoi commande par mail'
\ No newline at end of file
+
+insert into llx_const (name, value, type, visible, note) VALUES
('PROPALE_VALIDITY_DURATION', '15', 'chaine', 1, 'Durée de validitée des
propales');
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-cvs] dolibarr htdocs/commaddpropal.php mysql/data/da...,
Regis Houssin <=