2
0
forked from Wavyzz/dolibarr

On configure le mois de dbut d'exercice dans configuration->socit

This commit is contained in:
Regis Houssin
2007-11-22 17:21:31 +00:00
parent 88d3246be2
commit 00014d910e
17 changed files with 168 additions and 85 deletions

View File

@@ -96,16 +96,6 @@ function info()
$texte.= '<td align="left"><input type="submit" class="button" value="'.$langs->trans("Modify").'" name="Button"></td>';
$texte.= '<td aligne="center">'.$form->textwithhelp('',$langs->trans("OffsetDesc"),1,1).'</td>';
$texte.= '</tr></form>';
// On d<>fini le debut d'ann<6E>e fiscale
$texte.= '<tr><td>D<>but d\'ann<6E>e fiscale</td>';
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
$texte.= '<input type="hidden" name="action" value="setFiscalMonth">';
$texte.= '<td align="right">';
$texte.= $form->select_month($conf->global->SOCIETE_FISCAL_MONTH_START,'fiscalmonth',1);
$texte.= '</td><td align="left"><input type="submit" class="button" value="'.$langs->trans("Modify").'" name="Button"></td>';
$texte.= '<td aligne="center">'.$form->textwithwarning('',$langs->trans("FiscalMonthStartDesc"),1).'</td>';
$texte.= '</tr></form>';
// On d<>fini si le compteur se remet <20> zero en debut d'ann<6E>e
$texte.= '<tr><td>Le compteur se remet <20> z<>ro en d<>but d\'ann<6E>e</td>';
@@ -117,6 +107,10 @@ function info()
$texte.= '<td aligne="center">'.$form->textwithhelp('',$langs->trans("NumRestartDesc"),1,1).'</td>';
$texte.= '</tr></form>';
// On affiche le debut d'ann<6E>e fiscale
$texte.= '<tr><td>D<>but d\'ann<6E>e fiscale : '.monthArrayOrSelected($conf->global->SOCIETE_FISCAL_MONTH_START).'</td>';
$texte.= '</tr>';
$texte.= '</table><br>';
return $texte;