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