25require
'../../main.inc.php';
26require_once DOL_DOCUMENT_ROOT.
'/core/lib/fiscalyear.lib.php';
27require_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
28require_once DOL_DOCUMENT_ROOT.
'/core/class/fiscalyear.class.php';
31$langs->loadLangs(array(
"admin",
"compta"));
34if ($user->socid > 0) {
37if (!$user->hasRight(
'accounting',
'fiscalyear',
'write')) {
46$title = $langs->trans(
"Fiscalyear").
" - ".$langs->trans(
"Info");
48$help_url =
'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_en_Partie_Double#Configuration';
61 print
'<table width="100%"><tr><td>';
63 print
'</td></tr></table>';
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader()
Empty header.
Class to manage fiscal year.
fiscalyear_prepare_head(Fiscalyear $object)
Prepare array with list of tabs.
dol_print_object_info($object, $usetable=0)
Show informations on an object TODO Move this into html.formother.
dol_get_fiche_head($links=array(), $active='', $title='', $notab=0, $picto='', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limittoshow=0, $moretabssuffix='', $dragdropfile=0)
Show tabs of a record.
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.