Update mod_takepos_ref_simple.php

This commit is contained in:
UT from dolibit 2022-08-30 22:43:19 +02:00 committed by GitHub
parent e0b1ad308b
commit ed4ed8705d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* or see http://www.gnu.org/ * or see https://www.gnu.org/
*/ */
/** /**
@ -24,6 +24,7 @@
* \ingroup takepos * \ingroup takepos
* \brief File with Simple ref numbering module for takepos * \brief File with Simple ref numbering module for takepos
*/ */
dol_include_once('/core/modules/takepos/modules_takepos.php'); dol_include_once('/core/modules/takepos/modules_takepos.php');
/** /**
@ -80,10 +81,10 @@ class mod_takepos_ref_simple extends ModeleNumRefTakepos
} }
/** /**
* Test si les numeros deja en vigueur dans la base ne provoquent pas de * Test if the numbers already in the database do not cause any conflicts that will prevent this
* de conflits qui empechera cette numerotation de fonctionner. * of conflicts that will prevent this numbering from working.
* *
* @return boolean false si conflit, true si ok * @return boolean false if KO (there is a conflict), true if OK
*/ */
public function canBeActivated() public function canBeActivated()
{ {