mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Divers
This commit is contained in:
parent
e6d407d418
commit
e469755d29
|
|
@ -19,7 +19,7 @@
|
|||
/**
|
||||
* \file htdocs/boutique/index.php
|
||||
* \ingroup boutique
|
||||
* \brief Page accueil zone boutique
|
||||
* \brief Main page of shop zone
|
||||
*/
|
||||
|
||||
require '../main.inc.php';
|
||||
|
|
@ -39,10 +39,8 @@ print '<tr><td valign="top" width="40%" class="notopnoleft">';
|
|||
|
||||
|
||||
/*
|
||||
/* Chiffre d'affaires
|
||||
* Turnover
|
||||
*/
|
||||
//print_barre_liste("Chiffre d'affaires", $page, "ca.php");
|
||||
|
||||
print_titre($langs->trans('SalesTurnover'));
|
||||
|
||||
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
|
||||
|
|
@ -92,7 +90,7 @@ print '</td><td valign="top" width="60%" class="notopnoleftnoright">';
|
|||
print_titre($langs->trans("Orders"));
|
||||
|
||||
/*
|
||||
* 5 derniees commandes recues
|
||||
* Last 5 successful commands
|
||||
select o.orders_id, o.customers_id, o.customers_name, o.date_purchased, o.payement_method, o.status, t.value
|
||||
from orders_total as t
|
||||
join orders as o on o.orders_id = t.orders_id where t.class = 'ot_subtotal' order by o.date_purchased desc
|
||||
|
|
@ -130,7 +128,7 @@ else
|
|||
}
|
||||
|
||||
/*
|
||||
* 5 derni<EFBFBD>res commandes en attente
|
||||
* Last 5 commands in wait
|
||||
*/
|
||||
$sql = "SELECT o.orders_id, o.customers_name, o.date_purchased, t.value, o.payment_method";
|
||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_total as t JOIN ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders as o on o.orders_id = t.orders_id ";
|
||||
|
|
@ -165,7 +163,7 @@ else
|
|||
}
|
||||
|
||||
/*
|
||||
* Commandes <EFBFBD> traiter
|
||||
* Commands to treat
|
||||
*/
|
||||
$sql = "SELECT o.orders_id, o.customers_name, o.date_purchased, t.value, o.payment_method";
|
||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_total as t JOIN ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders as o on o.orders_id = t.orders_id ";
|
||||
|
|
@ -202,7 +200,7 @@ else
|
|||
|
||||
print '</td></tr><tr>';
|
||||
/*
|
||||
* Derniers clients qui ont command<EFBFBD>
|
||||
* Last customers who commanded
|
||||
*/
|
||||
$sql = "SELECT o.orders_id, o.customers_name, o.delivery_country, o.date_purchased, t.value, s.orders_status_name as statut";
|
||||
$sql .= " FROM ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders_total as t JOIN ".$conf->global->OSC_DB_NAME.".".$conf->global->OSC_DB_TABLE_PREFIX."orders as o on o.orders_id = t.orders_id ";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* \file htdocs/boutique/osc_master.inc.php
|
||||
* \brief Fichier de preparation de l'environnement Dolibarr pour OSCommerce
|
||||
* \brief File of preparation of the environment Dolibarr for OSCommerce
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,8 @@ $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToM
|
|||
|
||||
llxHeader('',$langs->trans("Categories"),$help_url);
|
||||
|
||||
print_fiche_titre($langs->trans("CategoriesSetup"),'','setup');
|
||||
$linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print_fiche_titre($langs->trans("CategoriesSetup"),$linkback,'setup');
|
||||
|
||||
|
||||
$head=categoriesadmin_prepare_head();
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class modLabel extends DolibarrModules
|
|||
$this->requiredby = array();
|
||||
|
||||
// Config pages
|
||||
$this->config_page_url = array("label.php");
|
||||
// $this->config_page_url = array("label.php");
|
||||
|
||||
// Constants
|
||||
$this->const = array();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user