Add link to wiki
This commit is contained in:
parent
bd0f3667a1
commit
74254cb64a
@ -40,7 +40,8 @@ $mesg = '';
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
llxHeader("","",$langs->trans("WarehouseCard"));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("WarehouseCard"),$help_url);
|
||||
|
||||
if ($_GET["id"])
|
||||
{
|
||||
|
||||
@ -129,7 +129,8 @@ if ($_POST["cancel"] == $langs->trans("Cancel"))
|
||||
$productstatic=new Product($db);
|
||||
$form=new Form($db);
|
||||
|
||||
llxHeader("","",$langs->trans("WarehouseCard"));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("WarehouseCard"),$help_url);
|
||||
|
||||
|
||||
if ($_GET["action"] == 'create')
|
||||
|
||||
@ -21,11 +21,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/product/stock/index.php
|
||||
\ingroup stock
|
||||
\brief Page accueil stocks produits
|
||||
\version $Revision$
|
||||
*/
|
||||
* \file htdocs/product/stock/index.php
|
||||
* \ingroup stock
|
||||
* \brief Page accueil stocks produits
|
||||
* \version $Revision$
|
||||
*/
|
||||
|
||||
require_once("./pre.inc.php");
|
||||
require_once("./entrepot.class.php");
|
||||
@ -35,7 +35,13 @@ $langs->load("stocks");
|
||||
if (!$user->rights->stock->lire)
|
||||
accessforbidden();
|
||||
|
||||
llxHeader("","",$langs->trans("Stocks"));
|
||||
|
||||
/*
|
||||
* View
|
||||
*/
|
||||
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("Stocks"),$help_url);
|
||||
|
||||
print_fiche_titre($langs->trans("StocksArea"));
|
||||
|
||||
|
||||
@ -33,7 +33,8 @@ $langs->load("stocks");
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("Stocks"),$help_url);
|
||||
|
||||
$entrepot = new Entrepot($db);
|
||||
$entrepot->fetch($_GET["id"]);
|
||||
|
||||
@ -68,7 +68,8 @@ if ($result)
|
||||
|
||||
$i = 0;
|
||||
|
||||
llxHeader("","",$langs->trans("ListOfWarehouses"));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("ListOfWarehouses"),$help_url);
|
||||
|
||||
print_barre_liste($langs->trans("ListOfWarehouses"), $page, "liste.php", "", $sortfield, $sortorder,'',$num);
|
||||
|
||||
|
||||
@ -119,8 +119,9 @@ if ($resql)
|
||||
|
||||
$i = 0;
|
||||
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
$texte = $langs->trans("ListOfStockMovements");
|
||||
llxHeader("","",$texte);
|
||||
llxHeader("",$texte,$help_url);
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@ -15,23 +15,19 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/product/stock/pre.inc.php
|
||||
\ingroup stock
|
||||
\brief Fichier gestionnaire du menu gauche de stocks
|
||||
\version $Revision$
|
||||
*/
|
||||
* \file htdocs/product/stock/pre.inc.php
|
||||
* \ingroup stock
|
||||
* \brief Fichier gestionnaire du menu gauche de stocks
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("../../main.inc.php");
|
||||
require("./entrepot.class.php");
|
||||
|
||||
function llxHeader($head = "", $urlp = "", $title="")
|
||||
function llxHeader($head="", $title="", $help_url="")
|
||||
{
|
||||
global $langs,$conf,$user;
|
||||
|
||||
@ -49,7 +45,6 @@ function llxHeader($head = "", $urlp = "", $title="")
|
||||
$menu->add_submenu(DOL_URL_ROOT."/product/reassort.php?type=0", $langs->trans("Restock"));
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/product/stock/mouvement.php", $langs->trans("Movements"));
|
||||
|
||||
left_menu($menu->liste);
|
||||
left_menu($menu->liste, $help_url);
|
||||
}
|
||||
?>
|
||||
|
||||
@ -119,7 +119,8 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
|
||||
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
|
||||
|
||||
llxHeader("","",$langs->trans("CardProduct".$product->type));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("CardProduct".$product->type),$help_url);
|
||||
|
||||
if ($result > 0)
|
||||
{
|
||||
|
||||
@ -54,7 +54,8 @@ $mesg = '';
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader("","",$langs->trans("WarehouseCard"));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("WarehouseCard"),$help_url);
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
|
||||
@ -81,7 +81,8 @@ if ($result)
|
||||
|
||||
$i = 0;
|
||||
|
||||
llxHeader("","",$langs->trans("EnhancedValueOfWarehouses"));
|
||||
$help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks';
|
||||
llxHeader("",$langs->trans("EnhancedValueOfWarehouses"),$help_url);
|
||||
|
||||
print_barre_liste($langs->trans("EnhancedValueOfWarehouses"), $page, "valo.php", "", $sortfield, $sortorder,'',$num);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user