';
$texte.= '';
diff --git a/htdocs/core/modules/facture/mod_facture_terre.php b/htdocs/core/modules/facture/mod_facture_terre.php
index 6e588aed098..c01fa9d2e09 100644
--- a/htdocs/core/modules/facture/mod_facture_terre.php
+++ b/htdocs/core/modules/facture/mod_facture_terre.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2005-2015 Regis Houssin
+/* Copyright (C) 2005-2008 Laurent Destailleur
+ * Copyright (C) 2005-2015 Regis Houssin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,33 +18,46 @@
*/
/**
- * \file htdocs/core/modules/facture/mod_facture_terre.php
- * \ingroup facture
- * \brief File containing class for numbering module Terre
+ * \file htdocs/core/modules/facture/mod_facture_terre.php
+ * \ingroup facture
+ * \brief File containing class for numbering module Terre
*/
require_once DOL_DOCUMENT_ROOT .'/core/modules/facture/modules_facture.php';
-/** \class mod_facture_terre
- * \brief Classe du modele de numerotation de reference de facture Terre
+/**
+ * \class mod_facture_terre
+ * \brief Classe du modele de numerotation de reference de facture Terre
*/
class mod_facture_terre extends ModeleNumRefFactures
{
- /**
- * Dolibarr version of the loaded document
- * @public string
+ /**
+ * Dolibarr version of the loaded document 'development', 'experimental', 'dolibarr'
+ * @var string
*/
- public $version = 'dolibarr'; // 'development', 'experimental', 'dolibarr'
+ public $version = 'dolibarr';
- public $prefixinvoice='FA';
+ /**
+ * Prefix for invoices
+ * @var string
+ */
+ public $prefixinvoice='FA';
- public $prefixcreditnote='AV';
+ /**
+ * Prefix for credit note
+ * @var string
+ */
+ public $prefixcreditnote='AV';
- public $prefixdeposit='AC';
+ /**
+ * Prefix for deposit
+ * @var string
+ */
+ public $prefixdeposit='AC';
- /**
- * @var string Error code (or message)
- */
- public $error='';
+ /**
+ * @var string Error code (or message)
+ */
+ public $error='';
/**
@@ -162,7 +175,7 @@ class mod_facture_terre extends ModeleNumRefFactures
/**
* Return next value not used or last value used
*
- * @param Societe $objsoc Object third party
+ * @param Societe $objsoc Object third party
* @param Facture $invoice Object invoice
* @param string $mode 'next' for next value or 'last' for last value
* @return string Value
@@ -234,10 +247,10 @@ class mod_facture_terre extends ModeleNumRefFactures
/**
* Return next free value
*
- * @param Societe $objsoc Object third party
- * @param string $objforref Object for number to search
- * @param string $mode 'next' for next value or 'last' for last value
- * @return string Next free value
+ * @param Societe $objsoc Object third party
+ * @param string $objforref Object for number to search
+ * @param string $mode 'next' for next value or 'last' for last value
+ * @return string Next free value
*/
public function getNumRef($objsoc, $objforref, $mode = 'next')
{
diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php
index e3b31ec7726..9bc181f66d9 100644
--- a/htdocs/holiday/card.php
+++ b/htdocs/holiday/card.php
@@ -1326,7 +1326,7 @@ else
if ($action == 'edit' && $object->statut == Holiday::STATUS_DRAFT)
{
- print '
';
@@ -394,14 +394,14 @@ if ($id && ! GETPOSTISSET('search_employee'))
if (! empty($user->rights->holiday->read_all)) // Can see all
{
if (GETPOSTISSET('search_employee')) $search_employee=GETPOST('search_employee', 'int');
- print '
\n";
$listhalfday=array('morning'=>$langs->trans("Morning"),"afternoon"=>$langs->trans("Afternoon"));
// If we ask a dedicated card and not allow to see it, we forc on user.
-if ($id && empty($user->rights->holiday->read_all) && ! in_array($id, $childids))
-{
+if ($id && empty($user->rights->holiday->read_all) && ! in_array($id, $childids)) {
$langs->load("errors");
print '
';
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
{
$selected=0;
diff --git a/htdocs/holiday/month_report.php b/htdocs/holiday/month_report.php
index 4cfa375fe76..98db1318aa7 100644
--- a/htdocs/holiday/month_report.php
+++ b/htdocs/holiday/month_report.php
@@ -1,7 +1,7 @@
- * Copyright (C) 2011 François Legastelois
- * Copyright (C) 2018 Frédéric France
+/* Copyright (C) 2007-2010 Laurent Destailleur
+ * Copyright (C) 2011 François Legastelois
+ * Copyright (C) 2018-2019 Frédéric France
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -110,12 +110,12 @@ print '