ajout de la constante PROPALE_VALIDITY_DURATION pour dfinir une dure de validit
des propales par dfaut lors de la cration
This commit is contained in:
parent
b277d6f357
commit
0ba39f417d
@ -124,7 +124,7 @@ if ($_GET["action"] == 'create')
|
||||
$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">';
|
||||
|
||||
@ -187,6 +187,11 @@ insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SET
|
||||
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
|
||||
|
||||
@ -294,6 +294,6 @@ update llx_societe_remise_except set description='Remise sans description' where
|
||||
alter table llx_societe_remise_except modify description varchar(255) NOT NULL;
|
||||
|
||||
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'
|
||||
update llx_actioncomm set fk_action = '8' where fk_action = '3' and label = 'Envoi commande par mail';
|
||||
|
||||
insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 1, 'Durée de validitée des propales');
|
||||
Loading…
Reference in New Issue
Block a user