Move numbering invoices files

This commit is contained in:
Laurent Destailleur 2010-05-05 22:21:25 +00:00
parent 7e07d0ec62
commit 4689582826

View File

@ -2222,10 +2222,9 @@ class Facture extends CommonObject
$langs->load("bills"); $langs->load("bills");
// Clean parameters (if not defined or using deprecated value) // Clean parameters (if not defined or using deprecated value)
if (empty($conf->global->FACTURE_ADDON) || $conf->global->FACTURE_ADDON=='terre') if (empty($conf->global->FACTURE_ADDON)) $conf->global->FACTURE_ADDON='mod_facture_terre';
{ else if ($conf->global->FACTURE_ADDON=='terre') $conf->global->FACTURE_ADDON='mod_facture_terre';
$conf->global->FACTURE_ADDON='mod_facture_terre'; else if ($conf->global->FACTURE_ADDON=='mercure') $conf->global->FACTURE_ADDON='mod_mercure_terre';
}
$mybool=false; $mybool=false;