Qual: Uniformise doxygen headers
This commit is contained in:
parent
cca3b041a5
commit
1ba947aef4
@ -14,16 +14,13 @@
|
|||||||
* 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/admin/osc-languages.php
|
/**
|
||||||
\ingroup boutique
|
* \file htdocs/admin/osc-languages.php
|
||||||
\brief Page d'administration/configuration du module Boutique
|
* \ingroup boutique
|
||||||
\version $Revision$
|
* \brief Page d'administration/configuration du module Boutique
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -16,15 +16,12 @@
|
|||||||
* 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/admin/system/constall.php
|
* \file htdocs/admin/system/constall.php
|
||||||
* \brief Page d'info de toutes les constantes
|
* \brief Page d'info de toutes les constantes
|
||||||
* \version $Revision$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -14,16 +14,13 @@
|
|||||||
* 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/bookmarks/bookmark.class.php
|
\file htdocs/bookmarks/bookmark.class.php
|
||||||
\ingroup bookmark
|
\ingroup bookmark
|
||||||
\brief Fichier de la classe des bookmark
|
\brief Fichier de la classe des bookmark
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +44,7 @@ class Bookmark
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Constructeur
|
* \brief Constructeur
|
||||||
* \param db Handler d'accès base de données
|
* \param db Handler d'acc<EFBFBD>s base de donn<EFBFBD>es
|
||||||
* \param id Id du bookmark
|
* \param id Id du bookmark
|
||||||
*/
|
*/
|
||||||
function Bookmark($db, $id=-1)
|
function Bookmark($db, $id=-1)
|
||||||
@ -58,7 +55,7 @@ class Bookmark
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge le bookmark
|
* \brief Charge le bookmark
|
||||||
* \param id Id du bookmark à charger
|
* \param id Id du bookmark <EFBFBD> charger
|
||||||
*/
|
*/
|
||||||
function fetch($id)
|
function fetch($id)
|
||||||
{
|
{
|
||||||
@ -95,7 +92,7 @@ class Bookmark
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Insere bookmark en base
|
* \brief Insere bookmark en base
|
||||||
* \return int <0 si ko, rowid du bookmark créé si ok
|
* \return int <0 si ko, rowid du bookmark cr<EFBFBD><EFBFBD> si ok
|
||||||
*/
|
*/
|
||||||
function create()
|
function create()
|
||||||
{
|
{
|
||||||
@ -145,7 +142,7 @@ class Bookmark
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Mise à jour du bookmark
|
* \brief Mise <EFBFBD> jour du bookmark
|
||||||
* \return int <0 si ko, >0 si ok
|
* \return int <0 si ko, >0 si ok
|
||||||
*/
|
*/
|
||||||
function update()
|
function update()
|
||||||
@ -177,7 +174,7 @@ class Bookmark
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Supprime le bookmark
|
* \brief Supprime le bookmark
|
||||||
* \param id Id bookmark à supprimer
|
* \param id Id bookmark <EFBFBD> supprimer
|
||||||
* \return int <0 si ko, >0 si ok
|
* \return int <0 si ko, >0 si ok
|
||||||
*/
|
*/
|
||||||
function remove($id)
|
function remove($id)
|
||||||
|
|||||||
@ -63,8 +63,9 @@ if ($_GET['id'])
|
|||||||
*/
|
*/
|
||||||
$sql = "SELECT o.orders_id, o.customers_id,".$dbosc->pdate("date_purchased")." as date_purchased, t.value as total";
|
$sql = "SELECT o.orders_id, o.customers_id,".$dbosc->pdate("date_purchased")." as date_purchased, t.value as total";
|
||||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders as o, ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_total as t";
|
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders as o, ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_total as t";
|
||||||
$sql .= " WHERE o.customers_id = " . $client->id;
|
$sql .= " WHERE o.customers_id = " . $_GET['id'];
|
||||||
$sql .= " AND o.orders_id = t.orders_id AND t.class = 'ot_total'";
|
$sql .= " AND o.orders_id = t.orders_id AND t.class = 'ot_total'";
|
||||||
|
//echo $sql;
|
||||||
if ( $dbosc->query($sql) )
|
if ( $dbosc->query($sql) )
|
||||||
{
|
{
|
||||||
$num = $dbosc->num_rows();
|
$num = $dbosc->num_rows();
|
||||||
|
|||||||
@ -15,15 +15,12 @@
|
|||||||
* 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/boutique/client/pre.inc.php
|
\file htdocs/boutique/client/pre.inc.php
|
||||||
\brief Fichier gestionnaire du menu de gauche de l'espace boutique client
|
\brief Fichier gestionnaire du menu de gauche de l'espace boutique client
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -35,19 +32,20 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,7 +39,6 @@ if ($_GET['id'])
|
|||||||
{
|
{
|
||||||
$commande = new Commande($db);
|
$commande = new Commande($db);
|
||||||
$result = $commande->fetch($_GET['id']);
|
$result = $commande->fetch($_GET['id']);
|
||||||
|
|
||||||
if ( $result )
|
if ( $result )
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -67,8 +66,9 @@ if ($_GET['id'])
|
|||||||
*/
|
*/
|
||||||
$sql = "SELECT orders_id, products_id, products_model, products_name, products_price, final_price, products_quantity";
|
$sql = "SELECT orders_id, products_id, products_model, products_name, products_price, final_price, products_quantity";
|
||||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_products";
|
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_products";
|
||||||
$sql .= " WHERE orders_id = " . $commande->id;
|
$sql .= " WHERE orders_id = " . $_GET['id'];
|
||||||
|
//$commande->id;
|
||||||
|
// echo $sql;
|
||||||
if ( $dbosc->query($sql) )
|
if ( $dbosc->query($sql) )
|
||||||
{
|
{
|
||||||
$num = $dbosc->num_rows();
|
$num = $dbosc->num_rows();
|
||||||
@ -112,7 +112,7 @@ if ($_GET['id'])
|
|||||||
|
|
||||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print '<td width="20%">Frais d\'expéditions</td><td width="80%">'.price($commande->total_ot_shipping).' EUR</td></tr>';
|
print '<td width="20%">Frais d\'expeditions</td><td width="80%">'.price($commande->total_ot_shipping).' EUR</td></tr>';
|
||||||
print '<td width="20%">'.$langs->trans("Lastname").'</td><td width="80%">'.price($commande->total_ot_total).' EUR</td></tr>';
|
print '<td width="20%">'.$langs->trans("Lastname").'</td><td width="80%">'.price($commande->total_ot_total).' EUR</td></tr>';
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
|
|||||||
@ -15,19 +15,16 @@
|
|||||||
* 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/boutique/commande/pre.inc.php
|
\file htdocs/boutique/commande/pre.inc.php
|
||||||
\brief Fichier gestionnaire du menu de gauche
|
\brief Fichier gestionnaire du menu de gauche
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/commande/commande.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/boutique/commande/commande.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php');
|
require_once(DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php');
|
||||||
|
|
||||||
|
|
||||||
@ -35,6 +32,7 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
@ -47,7 +45,7 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -45,7 +45,7 @@ $limit = $conf->liste_limit;
|
|||||||
$offset = $limit * $page ;
|
$offset = $limit * $page ;
|
||||||
|
|
||||||
|
|
||||||
print_barre_liste("Liste des produits classés pas critiques", $page, "bestproduct.php");
|
print_barre_liste("Liste des produits classes par critiques", $page, "bestproduct.php");
|
||||||
|
|
||||||
$sql = "SELECT sum(r.reviews_rating)/count(r.reviews_rating) as rat, r.products_id, p.products_model, p.products_quantity, p.products_status";
|
$sql = "SELECT sum(r.reviews_rating)/count(r.reviews_rating) as rat, r.products_id, p.products_model, p.products_quantity, p.products_status";
|
||||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."reviews as r,".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."products as p ";
|
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."reviews as r,".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."products as p ";
|
||||||
@ -58,7 +58,7 @@ $sql .= $dbosc->plimit( $limit ,$offset);
|
|||||||
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||||
print "<TR class=\"liste_titre\"><td>".$langs->trans("Ref");
|
print "<TR class=\"liste_titre\"><td>".$langs->trans("Ref");
|
||||||
print '</td><TD align="center">Indice critiques</TD>';
|
print '</td><TD align="center">Indice critiques</TD>';
|
||||||
print '</td><td align="center">Quantité';
|
print '</td><td align="center">Quantite';
|
||||||
print '</td><td align="center">Status</TD>';
|
print '</td><td align="center">Status</TD>';
|
||||||
print "</TR>\n";
|
print "</TR>\n";
|
||||||
|
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/boutique/critiques/pre.inc.php
|
\file htdocs/boutique/critiques/pre.inc.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Fichier gestionnaire du menu gauche des critiques OSCommerce
|
\brief Fichier gestionnaire du menu gauche des critiques OSCommerce
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -36,19 +33,20 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,21 +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$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/boutique/index.php
|
\file htdocs/boutique/index.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Page accueil zone boutique
|
\brief Page accueil zone boutique
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
$langs->load("boutique");
|
$langs->load("boutique");
|
||||||
|
$langs->load("orders");
|
||||||
|
|
||||||
|
|
||||||
llxHeader("",$langs->trans("OSCommerceShop"),"");
|
llxHeader("",$langs->trans("OSCommerceShop"),"");
|
||||||
@ -140,7 +138,7 @@ if ( $dbosc->query($sql) )
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td colspan="4">'.$langs->trans("Dernières commandes").'</td></tr>';
|
print '<td colspan="4">'.$langs->trans("LastOrders").'</td></tr>';
|
||||||
|
|
||||||
$num = min($num,OSC_MAXNBCOM);
|
$num = min($num,OSC_MAXNBCOM);
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/boutique/notification/fiche.php
|
\file htdocs/boutique/notification/fiche.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Page fiche notification OS Commerce
|
\brief Page fiche notification OS Commerce
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -16,7 +16,12 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
\file htdocs/boutique/notification/pre.inc.php
|
||||||
|
\brief Fichier gestionnaire du menu de gauche
|
||||||
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -28,19 +33,20 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,15 +15,12 @@
|
|||||||
* 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/boutique/pre.inc.php
|
\file htdocs/boutique/pre.inc.php
|
||||||
\brief Fichier gestionnaire du menu de gauche
|
\brief Fichier gestionnaire du menu de gauche
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
@ -36,19 +33,20 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,15 +15,12 @@
|
|||||||
* 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/boutique/produits/pre.inc.php
|
\file htdocs/boutique/produits/pre.inc.php
|
||||||
\brief Fichier gestionnaire du menu de gauche
|
\brief Fichier gestionnaire du menu de gauche
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -40,13 +37,13 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/boutique/promotions/index.php
|
\file htdocs/boutique/promotions/index.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Page gestion promotions OSCommerce
|
\brief Page gestion promotions OSCommerce
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -77,7 +74,7 @@ if ($resql)
|
|||||||
print_liste_field_titre("Titre","index.php", "pd.products_name");
|
print_liste_field_titre("Titre","index.php", "pd.products_name");
|
||||||
print "<td> </td><td> </td><td>Fin</td>";
|
print "<td> </td><td> </td><td>Fin</td>";
|
||||||
print '<td align="right">Prix initial</td>';
|
print '<td align="right">Prix initial</td>';
|
||||||
print '<td align="right">Prix remisé</td>';
|
print '<td align="right">Prix remise</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
$var=True;
|
$var=True;
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/boutique/promotion/pre.inc.php
|
\file htdocs/boutique/promotion/pre.inc.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Fichier gestionnaire du menu gauche des promotions OSCommerce
|
\brief Fichier gestionnaire du menu gauche des promotions OSCommerce
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -36,19 +33,20 @@ function llxHeader($head = "", $urlp = "")
|
|||||||
{
|
{
|
||||||
global $user,$conf, $langs;
|
global $user,$conf, $langs;
|
||||||
$langs->load("shop");
|
$langs->load("shop");
|
||||||
|
$langs->load("products");
|
||||||
|
|
||||||
top_menu($head);
|
top_menu($head);
|
||||||
|
|
||||||
$menu = new Menu();
|
$menu = new Menu();
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
$menu->add(DOL_URL_ROOT."/boutique/index.php", $langs->trans("OSCommerceShop"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Products"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/produits/osc-liste.php", $langs->trans("Produits"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/index.php", $langs->trans("Critiques"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/critiques/bestproduct.php", "Meilleurs produits",2);
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/promotion/index.php", $langs->trans("Promotion"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/notification/", $langs->trans("Notifications"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/client/", $langs->trans("Customers"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Orders"));
|
$menu->add_submenu(DOL_URL_ROOT."/boutique/commande/", $langs->trans("Commandes"));
|
||||||
|
|
||||||
left_menu($menu->liste);
|
left_menu($menu->liste);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Promotion {
|
class Promotion {
|
||||||
|
|||||||
@ -16,16 +16,13 @@
|
|||||||
* 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/comm/adresse_livraison.class.php
|
\file htdocs/comm/adresse_livraison.class.php
|
||||||
\ingroup societe, expedition
|
\ingroup societe, expedition
|
||||||
\brief Fichier de la classe des adresses de livraison
|
\brief Fichier de la classe des adresses de livraison
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -14,16 +14,12 @@
|
|||||||
* 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/comm/bookmark.php
|
\file htdocs/comm/bookmark.php
|
||||||
\brief Page affichage des bookmarks
|
\brief Page affichage des bookmarks
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/comm/propal/pre.inc.php
|
\file htdocs/comm/propal/pre.inc.php
|
||||||
\ingroup propale
|
\ingroup propale
|
||||||
\brief Fichier de gestion du menu gauche du module propale
|
\brief Fichier de gestion du menu gauche du module propale
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/comm/propal/stats/pre.inc.php
|
\file htdocs/comm/propal/stats/pre.inc.php
|
||||||
\ingroup propale
|
\ingroup propale
|
||||||
\brief Fichier de gestion du menu gauche du module propale stats
|
\brief Fichier de gestion du menu gauche du module propale stats
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../../main.inc.php");
|
require("../../../main.inc.php");
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/comm/prospect/pre.inc.php
|
\file htdocs/comm/prospect/pre.inc.php
|
||||||
\ingroup commercial
|
\ingroup commercial
|
||||||
\brief Fichier de gestion du menu gauche de l'espace commercial
|
\brief Fichier de gestion du menu gauche de l'espace commercial
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/commande/pre.inc.php
|
\file htdocs/commande/pre.inc.php
|
||||||
\ingroup commandes
|
\ingroup commandes
|
||||||
\brief Gestionnaire du menu commandes
|
\brief Gestionnaire du menu commandes
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/commande/stats/pre.inc.php
|
\file htdocs/commande/stats/pre.inc.php
|
||||||
\ingroup commandes
|
\ingroup commandes
|
||||||
\brief Gestionnaire du menu commandes
|
\brief Gestionnaire du menu commandes
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/contrat/pre.inc.php
|
\file htdocs/contrat/pre.inc.php
|
||||||
\ingroup contrat
|
\ingroup contrat
|
||||||
\brief Fichier de gestion du menu gauche de l'espace contrat
|
\brief Fichier de gestion du menu gauche de l'espace contrat
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|||||||
@ -14,16 +14,13 @@
|
|||||||
* 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/docs/document.class.php
|
* \file htdocs/docs/document.class.php
|
||||||
\ingroup editeurs
|
* \ingroup editeurs
|
||||||
\brief Classe de generation des courriers pour les editeurs
|
* \brief Classe de generation des courriers pour les editeurs
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -31,7 +28,7 @@ class Document
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
\brief Constructeur
|
\brief Constructeur
|
||||||
\param db Handler accès base de donnée
|
\param db Handler acc<EFBFBD>s base de donn<EFBFBD>e
|
||||||
*/
|
*/
|
||||||
function Document ($db)
|
function Document ($db)
|
||||||
{
|
{
|
||||||
@ -41,7 +38,7 @@ class Document
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief Génère le document
|
\brief G<EFBFBD>n<EFBFBD>re le document
|
||||||
\return int 0= ok, <> 0 = ko
|
\return int 0= ok, <> 0 = ko
|
||||||
*/
|
*/
|
||||||
function Generate ($id)
|
function Generate ($id)
|
||||||
|
|||||||
@ -14,17 +14,13 @@
|
|||||||
* 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$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/docs/pre.inc.php
|
* \file htdocs/docs/pre.inc.php
|
||||||
* \brief Fichier gestionnaire du menu de gauche de l'accueil
|
* \brief Fichier gestionnaire du menu de gauche de l'accueil
|
||||||
* \version $Source$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
require ("../main.inc.php");
|
|
||||||
|
|
||||||
|
|
||||||
require_once("../main.inc.php");
|
require_once("../main.inc.php");
|
||||||
|
|
||||||
|
|||||||
@ -2,9 +2,6 @@
|
|||||||
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
@ -18,6 +15,8 @@
|
|||||||
* 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$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
@ -47,7 +46,7 @@ if ($result)
|
|||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
print '<td>Date</td><td>'.$langs->trans("Description").'</td>';
|
print '<td>Date</td><td>'.$langs->trans("Description").'</td>';
|
||||||
print '<td align="right">'.$langs->trans("Amount").'</td>';
|
print '<td align="right">'.$langs->trans("Amount").'</td>';
|
||||||
print "<td align=\"right\">Réduction</td>";
|
print "<td align=\"right\">R<EFBFBD>duction</td>";
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -17,6 +14,8 @@
|
|||||||
* 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$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../main.inc.php");
|
require_once("../main.inc.php");
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/expedition/pre.inc.php
|
\file htdocs/expedition/pre.inc.php
|
||||||
\ingroup expedition
|
\ingroup expedition
|
||||||
\brief Fichier de gestion du menu gauche du module expedition
|
\brief Fichier de gestion du menu gauche du module expedition
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|||||||
@ -17,8 +17,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class ExpeditionStats
|
class ExpeditionStats
|
||||||
@ -30,7 +28,7 @@ class ExpeditionStats
|
|||||||
$this->db = $DB;
|
$this->db = $DB;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Renvoie le nombre de expedition par année
|
* Renvoie le nombre de expedition par ann<EFBFBD>e
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function getNbExpeditionByYear()
|
function getNbExpeditionByYear()
|
||||||
@ -62,7 +60,7 @@ class ExpeditionStats
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Renvoie le nombre de expedition par mois pour une année donnée
|
* Renvoie le nombre de expedition par mois pour une ann<EFBFBD>e donn<EFBFBD>e
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function getNbExpeditionByMonth($year)
|
function getNbExpeditionByMonth($year)
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/stats/pre.inc.php
|
\file htdocs/product/stats/pre.inc.php
|
||||||
\ingroup expedition
|
\ingroup expedition
|
||||||
\brief Fichier gestionnaire du menu gauche des statistiques expedition
|
\brief Fichier gestionnaire du menu gauche des statistiques expedition
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -16,16 +16,13 @@
|
|||||||
* 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/fichinter/apercu.php
|
\file htdocs/fichinter/apercu.php
|
||||||
\ingroup fichinter
|
\ingroup fichinter
|
||||||
\brief Page de l'onglet aper<65>u d'une fiche d'intervention
|
\brief Page de l'onglet aper<65>u d'une fiche d'intervention
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/fourn/commande/pre.inc.php
|
* \file htdocs/fourn/commande/pre.inc.php
|
||||||
\ingroup compta
|
* \ingroup compta
|
||||||
\brief Fichier gestionnaire du menu commandes fournisseurs
|
* \brief Fichier gestionnaire du menu commandes fournisseurs
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -15,15 +15,13 @@
|
|||||||
* 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/fourn/facture/pre.inc.php
|
\file htdocs/fourn/facture/pre.inc.php
|
||||||
\ingroup fournisseur,facture
|
\ingroup fournisseur,facture
|
||||||
\brief Fichier gestionnaire du menu factures fournisseurs
|
\brief Fichier gestionnaire du menu factures fournisseurs
|
||||||
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -49,7 +47,7 @@ function llxHeader($head = '', $title = '', $help_url='')
|
|||||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sécurité accés client
|
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
||||||
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
||||||
@ -107,7 +105,7 @@ function llxHeader($head = '', $title = '', $help_url='')
|
|||||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sécurité accés client
|
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
||||||
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
||||||
|
|||||||
@ -14,16 +14,13 @@
|
|||||||
* 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/fourn/paiement/pre.inc.php
|
\file htdocs/fourn/paiement/pre.inc.php
|
||||||
\ingroup fournisseur,facture
|
\ingroup fournisseur,facture
|
||||||
\brief Fichier gestionnaire du menu paiements factures fournisseurs
|
\brief Fichier gestionnaire du menu paiements factures fournisseurs
|
||||||
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
@ -56,7 +53,7 @@ function llxHeader($head = "", $title = "", $addons='') {
|
|||||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sécurité accés client
|
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
||||||
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
if ($user->societe_id == 0 && $user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=f",$langs->trans("NewSupplier"));
|
||||||
|
|||||||
@ -14,17 +14,13 @@
|
|||||||
* 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/fourn/product/fourn.php
|
\file htdocs/fourn/product/fourn.php
|
||||||
\ingroup product
|
\ingroup product
|
||||||
\brief Page de la fiche produit fournisseur
|
\brief Page de la fiche produit fournisseur
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -15,17 +15,13 @@
|
|||||||
* 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/index.php
|
\file htdocs/product/index.php
|
||||||
\ingroup product
|
\ingroup product
|
||||||
\brief Page accueil des produits et services
|
\brief Page accueil des produits et services
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/fourn/product/pre.inc.php
|
\file htdocs/fourn/product/pre.inc.php
|
||||||
\ingroup product,service
|
\ingroup product,service
|
||||||
\brief Fichier gestionnaire du menu gauche des produits et services fournisseurs
|
\brief Fichier gestionnaire du menu gauche des produits et services fournisseurs
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
||||||
@ -48,8 +47,8 @@ class box_energie_graph extends ModeleBoxes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge les données en mémoire pour affichage ultérieur
|
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
||||||
* \param $max Nombre maximum d'enregistrements à charger
|
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
||||||
*/
|
*/
|
||||||
function loadBox($max=5)
|
function loadBox($max=5)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
include_once(DOL_DOCUMENT_ROOT."/includes/boxes/modules_boxes.php");
|
||||||
@ -47,8 +45,8 @@ class box_energie_releve extends ModeleBoxes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge les données en mémoire pour affichage ultérieur
|
* \brief Charge les donn<EFBFBD>es en m<EFBFBD>moire pour affichage ult<EFBFBD>rieur
|
||||||
* \param $max Nombre maximum d'enregistrements à charger
|
* \param $max Nombre maximum d'enregistrements <EFBFBD> charger
|
||||||
*/
|
*/
|
||||||
function loadBox($max=5)
|
function loadBox($max=5)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
--
|
--
|
||||||
-- $Id$
|
-- $Id$
|
||||||
-- $Source$
|
|
||||||
-- $Revision$
|
-- $Revision$
|
||||||
--
|
--
|
||||||
-- Menu auguria entries
|
-- Menu auguria entries
|
||||||
|
|||||||
@ -16,16 +16,13 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/societe/mod_codecompta_digitaria.class.php
|
\file htdocs/includes/modules/societe/mod_codecompta_digitaria.class.php
|
||||||
\ingroup societe
|
\ingroup societe
|
||||||
\brief Fichier de la classe des gestion digitaria des codes compta des societes clientes
|
\brief Fichier de la classe des gestion digitaria des codes compta des societes clientes
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/includes/modules/societe/modules_societe.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/includes/modules/societe/modules_societe.class.php");
|
||||||
@ -53,7 +50,7 @@ class mod_codecompta_digitaria extends ModeleAccountancyCode
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Renvoi code
|
* \brief Renvoi code
|
||||||
* \param DB Handler d'accès base
|
* \param DB Handler d'acc<EFBFBD>s base
|
||||||
* \param societe Objet societe
|
* \param societe Objet societe
|
||||||
*/
|
*/
|
||||||
function get_code($DB, $societe)
|
function get_code($DB, $societe)
|
||||||
|
|||||||
@ -16,16 +16,13 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/societe/mod_codecompta_panicum.class.php
|
\file htdocs/includes/modules/societe/mod_codecompta_panicum.class.php
|
||||||
\ingroup societe
|
\ingroup societe
|
||||||
\brief Fichier de la classe des gestion panicum des codes compta des societes clientes
|
\brief Fichier de la classe des gestion panicum des codes compta des societes clientes
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/includes/modules/societe/modules_societe.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/includes/modules/societe/modules_societe.class.php");
|
||||||
@ -54,7 +51,7 @@ class mod_codecompta_panicum extends ModeleAccountancyCode
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Renvoi code
|
* \brief Renvoi code
|
||||||
* \param DB Handler d'accès base
|
* \param DB Handler d'acc<EFBFBD>s base
|
||||||
* \param societe Objet societe
|
* \param societe Objet societe
|
||||||
*/
|
*/
|
||||||
function get_code($DB, $societe)
|
function get_code($DB, $societe)
|
||||||
|
|||||||
@ -15,15 +15,12 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/lib/invoice.lib.php
|
\file htdocs/lib/invoice.lib.php
|
||||||
\brief Ensemble de fonctions de base pour le module factures
|
\brief Ensemble de fonctions de base pour le module factures
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
|
|
||||||
Ensemble de fonctions de base de dolibarr sous forme d'include
|
Ensemble de fonctions de base de dolibarr sous forme d'include
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/lib/ldap.lib.php
|
\file htdocs/lib/ldap.lib.php
|
||||||
\brief Ensemble de fonctions de base pour le module LDAP
|
\brief Ensemble de fonctions de base pour le module LDAP
|
||||||
\ingroup ldap
|
\ingroup ldap
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
|
|
||||||
Ensemble de fonctions de base de dolibarr sous forme d'include
|
Ensemble de fonctions de base de dolibarr sous forme d'include
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -14,17 +14,13 @@
|
|||||||
* 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/mantis/mantistop.php
|
\file htdocs/mantis/mantistop.php
|
||||||
\ingroup mantis
|
\ingroup mantis
|
||||||
\brief Frame du haut Dolibarr pour l'affichage de mantis
|
\brief Top frame to show mantis application
|
||||||
\author Laurent Destailleur
|
\version $Id$
|
||||||
\version $Revision$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../main.inc.php");
|
require ("../main.inc.php");
|
||||||
|
|||||||
@ -17,7 +17,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -14,9 +14,6 @@
|
|||||||
* 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$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -24,7 +21,7 @@
|
|||||||
\ingroup phenix
|
\ingroup phenix
|
||||||
\brief Frame du haut Dolibarr pour l'affichage du calendrier
|
\brief Frame du haut Dolibarr pour l'affichage du calendrier
|
||||||
\author Laurent Destailleur
|
\author Laurent Destailleur
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../main.inc.php");
|
require ("../main.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/droitpret/droitpret.class.php
|
\file htdocs/product/droitpret/droitpret.class.php
|
||||||
\ingroup pret
|
\ingroup pret
|
||||||
\brief Fichier de la classe ddes droits de prêts
|
\brief Fichier de la classe ddes droits de pr<EFBFBD>ts
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -15,22 +15,19 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/product/droitpret/modules_droipret.php
|
\file htdocs/product/droitpret/modules_droipret.php
|
||||||
\ingroup droitpret
|
\ingroup droitpret
|
||||||
\brief Fichier contenant la classe mère de generation des exports de droits de prets
|
\brief Fichier contenant la classe m<EFBFBD>re de generation des exports de droits de prets
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\class ModeleDroitPret
|
\class ModeleDroitPret
|
||||||
\brief Classe mère des modèles de format d'export de droits de prêts
|
\brief Classe m<EFBFBD>re des mod<EFBFBD>les de format d'export de droits de pr<EFBFBD>ts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class ModeleDroitPret
|
class ModeleDroitPret
|
||||||
@ -45,7 +42,7 @@ class ModeleDroitPret
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge en memoire et renvoie la liste des modèles actifs
|
* \brief Charge en memoire et renvoie la liste des mod<EFBFBD>les actifs
|
||||||
* \param db Handler de base
|
* \param db Handler de base
|
||||||
*/
|
*/
|
||||||
function liste_rapport($db)
|
function liste_rapport($db)
|
||||||
|
|||||||
@ -14,16 +14,13 @@
|
|||||||
* 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/compta/droitpret/pre.inc.php
|
\file htdocs/compta/droitpret/pre.inc.php
|
||||||
\ingroup pret
|
\ingroup pret
|
||||||
\brief Fichier gestionnaire du menu de gauche de l'espace droitpret
|
\brief Fichier gestionnaire du menu de gauche de l'espace droitpret
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -16,16 +16,12 @@
|
|||||||
* 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/stats/index.php
|
\file htdocs/product/stats/index.php
|
||||||
\brief Page accueil statistiques produits
|
\brief Page accueil statistiques produits
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/stats/pre.inc.php
|
\file htdocs/product/stats/pre.inc.php
|
||||||
\ingroup product,service
|
\ingroup product,service
|
||||||
\brief Fichier gestionnaire du menu gauche des statistiques de produits et services
|
\brief Fichier gestionnaire du menu gauche des statistiques de produits et services
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -16,16 +16,13 @@
|
|||||||
* 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.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/product/traduction.php
|
* \file htdocs/product/traduction.php
|
||||||
* \ingroup product
|
* \ingroup product
|
||||||
* \brief Page de traduction des produits
|
* \brief Page de traduction des produits
|
||||||
* \version $Revision$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/rapport/Atome.class.php');
|
include_once(DOL_DOCUMENT_ROOT.'/rapport/Atome.class.php');
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/rapport/Atome.class.php');
|
include_once(DOL_DOCUMENT_ROOT.'/rapport/Atome.class.php');
|
||||||
|
|||||||
@ -16,9 +16,8 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
require("./AtomeFactureValidee.class.php");
|
require("./AtomeFactureValidee.class.php");
|
||||||
@ -34,21 +33,21 @@ print_fiche_titre("Rapports");
|
|||||||
* Initialisation d'un atome
|
* Initialisation d'un atome
|
||||||
*
|
*
|
||||||
* Parametre
|
* Parametre
|
||||||
* - id de connexion à la bdd
|
* - id de connexion <EFBFBD> la bdd
|
||||||
* - période 'year' ou 'month' (Reste à faire les hebdo)
|
* - p<EFBFBD>riode 'year' ou 'month' (Reste <EFBFBD> faire les hebdo)
|
||||||
* - une date dans la période voulue
|
* - une date dans la p<EFBFBD>riode voulue
|
||||||
* -> retourne un objet
|
* -> retourne un objet
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$x = new AtomeFactureValidee($db,'year', time());
|
$x = new AtomeFactureValidee($db,'year', time());
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lecture des données
|
* Lecture des donn<EFBFBD>es
|
||||||
* -> retourne un tableau
|
* -> retourne un tableau
|
||||||
*/
|
*/
|
||||||
$arr = $x->fetch();
|
$arr = $x->fetch();
|
||||||
/*
|
/*
|
||||||
* Création du graph
|
* Cr<EFBFBD>ation du graph
|
||||||
* -> retounre le nom du fichier
|
* -> retounre le nom du fichier
|
||||||
*/
|
*/
|
||||||
$img = $x->ShowGraph();
|
$img = $x->ShowGraph();
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../main.inc.php");
|
require ("../main.inc.php");
|
||||||
|
|||||||
@ -14,16 +14,13 @@
|
|||||||
* 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/societe/checkvat/checkVatPopup.php
|
* \file htdocs/societe/checkvat/checkVatPopup.php
|
||||||
* \ingroup societe
|
* \ingroup societe
|
||||||
* \brief Onglet societe d'une societe
|
* \brief Popup screen to validate VAT
|
||||||
* \version $Revision$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../../main.inc.php");
|
require ("../../main.inc.php");
|
||||||
|
|||||||
@ -15,23 +15,20 @@
|
|||||||
* 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/societe/notify.index.php
|
\file htdocs/societe/notify/index.php
|
||||||
\ingroup notification
|
\ingroup notification
|
||||||
\brief Liste des notifications réalisées
|
\brief List of done notifications
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
$langs->load("banks");
|
$langs->load("banks");
|
||||||
|
|
||||||
// Sécurité accés client
|
// S<EFBFBD>curit<EFBFBD> acc<63>s client
|
||||||
if ($user->societe_id > 0)
|
if ($user->societe_id > 0)
|
||||||
{
|
{
|
||||||
$action = '';
|
$action = '';
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/societe/notify/pre.inc.php
|
\file htdocs/societe/notify/pre.inc.php
|
||||||
\ingroup product,service
|
\ingroup product,service
|
||||||
\brief Fichier gestionnaire du menu gauche des notifications
|
\brief Fichier gestionnaire du menu gauche des notifications
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
require ("../../main.inc.php");
|
require ("../../main.inc.php");
|
||||||
|
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/societe/pre.inc.php
|
\file htdocs/societe/pre.inc.php
|
||||||
\ingroup company
|
\ingroup company
|
||||||
\brief Fichier gestionnaire du menu gauche des notifications
|
\brief Fichier gestionnaire du menu gauche des notifications
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../main.inc.php");
|
require ("../main.inc.php");
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/theme/auguria/graph-color.php
|
\file htdocs/theme/auguria/graph-color.php
|
||||||
\brief Fichier de déclaration des couleurs pour les graphiques
|
\brief Fichier de d<EFBFBD>claration des couleurs pour les graphiques
|
||||||
\ingroup core
|
\ingroup core
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
|
|||||||
@ -15,16 +15,13 @@
|
|||||||
* 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/theme/freelug/graph-color.php
|
\file htdocs/theme/freelug/graph-color.php
|
||||||
\brief Fichier de déclaration des couleurs pour les graphiques
|
\brief Fichier de declaration des couleurs pour les graphiques
|
||||||
\ingroup core
|
\ingroup core
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
|
||||||
|
|||||||
@ -15,15 +15,12 @@
|
|||||||
* 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/user/group/pre.inc.php
|
\file htdocs/user/group/pre.inc.php
|
||||||
\brief Fichier gestionnaire du menu groupe d'utilisateurs
|
\brief Fichier gestionnaire du menu groupe d'utilisateurs
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -14,17 +15,13 @@
|
|||||||
* 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/webcal/webcaltop.php
|
\file htdocs/webcal/webcaltop.php
|
||||||
\ingroup webcalendar
|
\ingroup webcalendar
|
||||||
\brief Frame du haut Dolibarr pour l'affichage du calendrier
|
\brief Top frame to show calendar
|
||||||
\author Laurent Destailleur
|
\version $Id$
|
||||||
\version $Revision$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require ("../main.inc.php");
|
require ("../main.inc.php");
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*
|
*
|
||||||
* Export simple des contacts
|
* Export simple des contacts
|
||||||
*/
|
*/
|
||||||
@ -49,13 +47,13 @@ if ($db->query($sql))
|
|||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
|
|
||||||
print "Lignes traitées $num\n";
|
print "Lignes trait<EFBFBD>es $num\n";
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$j = 1;
|
$j = 1;
|
||||||
|
|
||||||
$page->write_string(0, 0, "Société");
|
$page->write_string(0, 0, "Soci<EFBFBD>t<EFBFBD>");
|
||||||
$page->write_string(0, 1, "Prénom");
|
$page->write_string(0, 1, "Pr<EFBFBD>nom");
|
||||||
$page->write_string(0, 2, "Nom");
|
$page->write_string(0, 2, "Nom");
|
||||||
$page->write_string(0, 3, "Email");
|
$page->write_string(0, 3, "Email");
|
||||||
|
|
||||||
|
|||||||
@ -16,8 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../../htdocs/master.inc.php");
|
require_once("../../htdocs/master.inc.php");
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
* 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$
|
* $Id$
|
||||||
* $Source$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../../htdocs/master.inc.php");
|
require_once("../../htdocs/master.inc.php");
|
||||||
|
|||||||
@ -15,15 +15,13 @@
|
|||||||
* 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 scripts/prelevement/prelevement-verif.php
|
* \file scripts/prelevement/prelevement-verif.php
|
||||||
* \ingroup prelevement
|
* \ingroup prelevement
|
||||||
* \brief Vérifie que les sociétés qui doivent être prélevées ont bien un RIB correct
|
* \brief Verifie que les societes qui doivent etre prelevees ont bien un RIB correct
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Test si mode CLI
|
// Test si mode CLI
|
||||||
@ -48,10 +46,10 @@ $error = 0;
|
|||||||
|
|
||||||
$puser = new user($db, PRELEVEMENT_USER);
|
$puser = new user($db, PRELEVEMENT_USER);
|
||||||
$puser->fetch();
|
$puser->fetch();
|
||||||
dol_syslog("Prélèvements effectués par ".$puser->fullname." [".PRELEVEMENT_USER."]");
|
dol_syslog("Pr<EFBFBD>l<EFBFBD>vements effectu<74>s par ".$puser->fullname." [".PRELEVEMENT_USER."]");
|
||||||
|
|
||||||
dol_syslog("Raison sociale : ".PRELEVEMENT_RAISON_SOCIALE);
|
dol_syslog("Raison sociale : ".PRELEVEMENT_RAISON_SOCIALE);
|
||||||
dol_syslog("Numéro Nation Emetteur : ".PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR);
|
dol_syslog("Num<EFBFBD>ro Nation Emetteur : ".PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR);
|
||||||
|
|
||||||
dol_syslog("Code etablissement : ".PRELEVEMENT_CODE_BANQUE);
|
dol_syslog("Code etablissement : ".PRELEVEMENT_CODE_BANQUE);
|
||||||
dol_syslog("Code guichet : ". PRELEVEMENT_CODE_GUICHET);
|
dol_syslog("Code guichet : ". PRELEVEMENT_CODE_GUICHET);
|
||||||
@ -59,7 +57,7 @@ dol_syslog("Numero compte : ".PRELEVEMENT_NUMERO_COMPTE);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Lectures des factures a prélever
|
* Lectures des factures a pr<EFBFBD>lever
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -95,7 +93,7 @@ if (!$error)
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$db->free();
|
$db->free();
|
||||||
dol_syslog("$i factures à prélever");
|
dol_syslog("$i factures <EFBFBD> pr<70>lever");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -107,18 +105,18 @@ if (!$error)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Vérification des clients
|
* V<EFBFBD>rification des clients
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!$error)
|
if (!$error)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Vérification des RIB
|
* V<EFBFBD>rification des RIB
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$i = 0;
|
$i = 0;
|
||||||
dol_syslog("Début vérification des RIB");
|
dol_syslog("D<EFBFBD>but v<>rification des RIB");
|
||||||
|
|
||||||
if (sizeof($factures) > 0)
|
if (sizeof($factures) > 0)
|
||||||
{
|
{
|
||||||
@ -146,7 +144,7 @@ if (!$error)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_syslog("Impossible de lire la société");
|
dol_syslog("Impossible de lire la soci<EFBFBD>t<EFBFBD>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -161,7 +159,7 @@ if (!$error)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dol_syslog(sizeof($factures_prev)." factures sur ".sizeof($factures)." seront prélevées");
|
dol_syslog(sizeof($factures_prev)." factures sur ".sizeof($factures)." seront pr<EFBFBD>lev<EFBFBD>es");
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
|
|||||||
@ -15,15 +15,13 @@
|
|||||||
* 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 scripts/prelevement/prelevement.php
|
* \file scripts/prelevement/prelevement.php
|
||||||
* \ingroup prelevement
|
* \ingroup prelevement
|
||||||
* \brief Script de prelevement
|
* \brief Script de prelevement
|
||||||
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Test si mode CLI
|
// Test si mode CLI
|
||||||
@ -97,7 +95,7 @@ if (!$error)
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$db->free();
|
$db->free();
|
||||||
dol_syslog("$i factures à prelever");
|
dol_syslog("$i factures <EFBFBD> prelever");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -116,7 +114,7 @@ if (!$error)
|
|||||||
if (!$error)
|
if (!$error)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Vérification des RIB
|
* V<EFBFBD>rification des RIB
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -266,7 +264,7 @@ if (sizeof($factures_prev) > 0)
|
|||||||
$pai->amounts = array();
|
$pai->amounts = array();
|
||||||
$pai->amounts[$fac[0]] = $fact->total_ttc;
|
$pai->amounts[$fac[0]] = $fact->total_ttc;
|
||||||
$pai->datepaye = $db->idate($datetimeprev);
|
$pai->datepaye = $db->idate($datetimeprev);
|
||||||
$pai->paiementid = 3; // prélèvement
|
$pai->paiementid = 3; // pr<EFBFBD>l<EFBFBD>vement
|
||||||
$pai->num_paiement = $ref;
|
$pai->num_paiement = $ref;
|
||||||
|
|
||||||
if ($pai->create($user, 1) == -1) // on appelle en no_commit
|
if ($pai->create($user, 1) == -1) // on appelle en no_commit
|
||||||
@ -282,7 +280,7 @@ if (sizeof($factures_prev) > 0)
|
|||||||
$pai->valide();
|
$pai->valide();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ajout d'une ligne de prélèvement
|
* Ajout d'une ligne de pr<EFBFBD>l<EFBFBD>vement
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $fac[3] : banque
|
* $fac[3] : banque
|
||||||
@ -302,7 +300,7 @@ if (sizeof($factures_prev) > 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mise à jour des demandes
|
* Mise <EFBFBD> jour des demandes
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."prelevement_facture_demande";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."prelevement_facture_demande";
|
||||||
@ -363,7 +361,7 @@ if (sizeof($factures_prev) > 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mise à jour du total
|
* Mise <EFBFBD> jour du total
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -375,7 +373,7 @@ if (sizeof($factures_prev) > 0)
|
|||||||
if (!$db->query($sql))
|
if (!$db->query($sql))
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
dol_syslog("Erreur mise à jour du total");
|
dol_syslog("Erreur mise <EFBFBD> jour du total");
|
||||||
dol_syslog($sql);
|
dol_syslog($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user