Debug module reception

This commit is contained in:
Laurent Destailleur 2019-05-09 17:26:06 +02:00
parent 1c558c685c
commit 46b0545c4a
2 changed files with 11 additions and 11 deletions

View File

@ -16,8 +16,8 @@
*/
/**
* \file htdocs/admin/confexped.php
* \ingroup produit
* \file htdocs/admin/reception_setup.php
* \ingroup reception
* \brief Page to setup reception module
*/
@ -27,13 +27,10 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/reception.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php';
require_once DOL_DOCUMENT_ROOT.'/reception/class/reception.class.php';
$langs->load("admin");
$langs->load("receptions");
$langs->load('other');
$langs->loadLangs(array("admin", "receptions", 'other'));
if (!$user->admin)
accessforbidden();
if (!$user->admin) accessforbidden();
$action=GETPOST('action', 'alpha');
$value=GETPOST('value', 'alpha');
@ -225,7 +222,7 @@ clearstatcache();
foreach ($dirmodels as $reldir)
{
$dir = dol_buildpath($reldir."core/modules/reception/");
if (is_dir($dir))
{
$handle = opendir($dir);

View File

@ -1,10 +1,11 @@
# Dolibarr language file - Source file is en_US - receptions
ReceptionsSetup=Product Reception setup
RefReception=Ref. reception
Reception=Reception
Receptions=Receptions
AllReceptions=All Receptions
Reception=Reception
Receptions=Receptions
Reception=Product reception
Receptions=Reception
ShowReception=Show Receptions
ReceptionsArea=Receptions area
ListOfReceptions=List of receptions
@ -39,4 +40,6 @@ ReceptionCreationIsDoneFromOrder=For the moment, creation of a new reception is
ReceptionLine=Reception line
ProductQtyInReceptionAlreadySent=Product quantity from open sales order already sent
ProductQtyInSuppliersReceptionAlreadyRecevied=Product quantity from open supplier order already received
ValidateOrderFirstBeforeReception=You must first validate the order before being able to make receptions.
ValidateOrderFirstBeforeReception=You must first validate the order before being able to make receptions.
ReceptionsNumberingModules=Numbering module for receptions
ReceptionsReceiptModel=Document templates for receptions