New: Add picto on tab titles
This commit is contained in:
parent
d513030e52
commit
51e13e1568
@ -22,11 +22,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/commande/liste.php
|
* \file htdocs/compta/commande/liste.php
|
||||||
\ingroup commande
|
* \ingroup commande
|
||||||
\brief Page liste des commandes
|
* \brief Page liste des commandes
|
||||||
\version $Revision$
|
* \version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php");
|
||||||
@ -106,7 +106,7 @@ if ($resql)
|
|||||||
{
|
{
|
||||||
$title = $langs->trans("ListOfOrders");
|
$title = $langs->trans("ListOfOrders");
|
||||||
}
|
}
|
||||||
// Si page des commandes <EFBFBD> facturer
|
// Si page des commandes a facturer
|
||||||
$link=DOL_URL_ROOT."/compta/commande/fiche.php";
|
$link=DOL_URL_ROOT."/compta/commande/fiche.php";
|
||||||
$title.=" - ".$langs->trans("StatusOrderToBill");
|
$title.=" - ".$langs->trans("StatusOrderToBill");
|
||||||
$param="&socid=".$socid."&year=".$_GET["year"]."&month=".$_GET["month"];
|
$param="&socid=".$socid."&year=".$_GET["year"]."&month=".$_GET["month"];
|
||||||
@ -139,7 +139,7 @@ if ($resql)
|
|||||||
$generic_commande->ref=$objp->ref;
|
$generic_commande->ref=$objp->ref;
|
||||||
|
|
||||||
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
||||||
print '<td width="90" class="nobordernopadding" nowrap="nowrap">';
|
print '<td class="nobordernopadding" nowrap="nowrap">';
|
||||||
print $generic_commande->getNomUrl(1);
|
print $generic_commande->getNomUrl(1);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
|
|||||||
@ -341,7 +341,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
print '<td align="right" width="80">'.$langs->trans('PriceUHT').'</td>';
|
print '<td align="right" width="80">'.$langs->trans('PriceUHT').'</td>';
|
||||||
print '<td align="right" width="50">'.$langs->trans('Qty').'</td>';
|
print '<td align="right" width="50">'.$langs->trans('Qty').'</td>';
|
||||||
print '<td align="right" width="50">'.$langs->trans('ReductionShort').'</td>';
|
print '<td align="right" width="50">'.$langs->trans('ReductionShort').'</td>';
|
||||||
print '<td align="right" width="50">'.$langs->trans('AmountHT').'</td>';
|
print '<td align="right" nowrap="nowrap">'.$langs->trans('AmountHT').'</td>';
|
||||||
print '<td width="16"> </td>';
|
print '<td width="16"> </td>';
|
||||||
print '<td width="16"> </td>';
|
print '<td width="16"> </td>';
|
||||||
print '<td width="16"> </td>';
|
print '<td width="16"> </td>';
|
||||||
|
|||||||
@ -19,11 +19,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/commande/contact.php
|
* \file htdocs/commande/contact.php
|
||||||
\ingroup commande
|
* \ingroup commande
|
||||||
\brief Onglet de gestion des contacts de commande
|
* \brief Onglet de gestion des contacts de commande
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("./pre.inc.php");
|
require ("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.commande.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.commande.class.php");
|
||||||
@ -176,7 +176,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
|
|
||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
dol_fiche_head($head, 'contact', $langs->trans("SupplierOrder"));
|
dol_fiche_head($head, 'contact', $langs->trans("SupplierOrder"), 0, 'order');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -20,10 +20,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/fourn/commande/fiche.php
|
* \file htdocs/fourn/commande/fiche.php
|
||||||
\ingroup commande
|
* \ingroup commande
|
||||||
\brief Fiche de ventilation des commandes fournisseurs
|
* \brief Fiche de ventilation des commandes fournisseurs
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('./pre.inc.php');
|
require('./pre.inc.php');
|
||||||
@ -45,7 +45,7 @@ $id = isset($_GET["id"])?$_GET["id"]:'';
|
|||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
$result = restrictedArea($user, 'commande_fournisseur', $id,'');
|
$result = restrictedArea($user, 'commande_fournisseur', $id,'');
|
||||||
|
|
||||||
// Récupération de l'id de projet
|
// R<EFBFBD>cup<EFBFBD>ration de l'id de projet
|
||||||
$projetid = 0;
|
$projetid = 0;
|
||||||
if ($_GET["projetid"]) $projetid = $_GET["projetid"];
|
if ($_GET["projetid"]) $projetid = $_GET["projetid"];
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
|
|
||||||
$title=$langs->trans("SupplierOrder");
|
$title=$langs->trans("SupplierOrder");
|
||||||
dol_fiche_head($head, 'dispatch', $title);
|
dol_fiche_head($head, 'dispatch', $title, 0, 'order');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Commande
|
* Commande
|
||||||
@ -218,7 +218,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object($resql);
|
$objp = $db->fetch_object($resql);
|
||||||
// On n'affiche pas les produits personnalisés
|
// On n'affiche pas les produits personnalis<EFBFBD>s
|
||||||
if ($objp->fk_product)
|
if ($objp->fk_product)
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
@ -376,7 +376,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Commande non trouvée
|
// Commande non trouv<EFBFBD>e
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,10 +20,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/fourn/commande/document.php
|
* \file htdocs/fourn/commande/document.php
|
||||||
\ingroup supplier
|
* \ingroup supplier
|
||||||
\brief Page de gestion des documents attachees a une commande fournisseur
|
* \brief Page de gestion des documents attachees a une commande fournisseur
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('./pre.inc.php');
|
require('./pre.inc.php');
|
||||||
@ -128,7 +128,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
|
|
||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
|
|
||||||
dol_fiche_head($head, 'documents', $langs->trans('SupplierOrder'));
|
dol_fiche_head($head, 'documents', $langs->trans('SupplierOrder'), 0, 'order');
|
||||||
|
|
||||||
|
|
||||||
// Construit liste des fichiers
|
// Construit liste des fichiers
|
||||||
|
|||||||
@ -510,7 +510,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
|
|
||||||
$title=$langs->trans("SupplierOrder");
|
$title=$langs->trans("SupplierOrder");
|
||||||
dol_fiche_head($head, 'card', $title);
|
dol_fiche_head($head, 'card', $title, 0, 'order');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Confirmation de la suppression de la commande
|
* Confirmation de la suppression de la commande
|
||||||
|
|||||||
@ -68,7 +68,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
|
|
||||||
$title=$langs->trans("SupplierOrder");
|
$title=$langs->trans("SupplierOrder");
|
||||||
dol_fiche_head($head, 'info', $title);
|
dol_fiche_head($head, 'info', $title, 0, 'order');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -19,11 +19,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/fourn/commande/note.php
|
* \file htdocs/fourn/commande/note.php
|
||||||
\ingroup commande
|
* \ingroup commande
|
||||||
\brief Fiche note commande
|
* \brief Fiche note commande
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/fourn.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/fourn.lib.php");
|
||||||
@ -91,7 +91,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
$head = ordersupplier_prepare_head($commande);
|
$head = ordersupplier_prepare_head($commande);
|
||||||
|
|
||||||
$title=$langs->trans("SupplierOrder");
|
$title=$langs->trans("SupplierOrder");
|
||||||
dol_fiche_head($head, 'note', $title);
|
dol_fiche_head($head, 'note', $title, 0, 'order');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -171,7 +171,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Commande non trouvée */
|
/* Commande non trouv<EFBFBD>e */
|
||||||
print "Commande inexistante";
|
print "Commande inexistante";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user