forked from Wavyzz/dolibarr
Patch patrick
This commit is contained in:
@@ -6,4 +6,5 @@ OnStandBy=On standby
|
||||
TreatmentInProgress=Treatment in progress
|
||||
LastCustomers=Last customers
|
||||
OSCommerceShop=OSCommerce shop
|
||||
OSCommerce=OSCommerce
|
||||
OSCommerce=OSCommerce
|
||||
AddProd=Sell online
|
||||
@@ -6,4 +6,5 @@ OnStandBy=En attente
|
||||
TreatmentInProgress=Traitement en cours
|
||||
LastCustomers=Dernier clients
|
||||
OSCommerceShop=Boutique OSCommerce
|
||||
OSCommerce=OSCommerce
|
||||
OSCommerce=OSCommerce
|
||||
AddProd=Vendre en ligne
|
||||
@@ -17,12 +17,14 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/societe.class.php");
|
||||
require_once("../includes/configure.php");
|
||||
|
||||
|
||||
|
||||
llxHeader();
|
||||
|
||||
if ($action == '' && !$cancel) {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
/**
|
||||
\file htdocs/oscommerce_ws/clients/osc_customer.class.php
|
||||
\ingroup oscommerce_ws/clients
|
||||
\ingroup oscommerce2
|
||||
\brief Fichier de la classe des clients issus de OsCommerce
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2006 Jean Heimburger <jean@tiaris.info>
|
||||
*
|
||||
*
|
||||
* 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
|
||||
@@ -16,15 +15,18 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id$
|
||||
* $Source$
|
||||
*
|
||||
*/
|
||||
|
||||
require("./pre.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/commande/commande.class.php");
|
||||
require_once("../includes/configure.php");
|
||||
require_once("../clients/osc_customer.class.php");
|
||||
require_once("../produits/osc_product.class.php");
|
||||
|
||||
|
||||
|
||||
llxHeader();
|
||||
|
||||
if ($action == '' && !$cancel) {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/oscommerce_ws/orders/osc_order.class.php
|
||||
\file htdocs/oscommerce_ws/commandes/osc_order.class.php
|
||||
\ingroup oscommerce_ws/orders
|
||||
\brief Fichier de la classe des commandes issus de OsCommerce
|
||||
\version $Revision$
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/oscommerce_ws/clients/pre.inc.php
|
||||
\file htdocs/oscommerce_ws/commandes/pre.inc.php
|
||||
\brief Fichier gestionnaire du menu de gauche
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
@@ -40,10 +40,10 @@ define(OSC_ORDPROCESS,'1'); // code du statut de commande en traitement
|
||||
//
|
||||
|
||||
define(OSC_ENTREPOT, 1); //l'entrepot li<6C> au stock du site web
|
||||
define(TX_CURRENCY, 119.33); // le taux de conversion monnaie site osc - monnaie dolibarr (1 euro = 119.33 XPF)
|
||||
define(NB_DECIMALS, 0);
|
||||
define(TX_CURRENCY, 1); // le taux de conversion monnaie site osc - monnaie dolibarr (1 euro = 119.33 XPF)
|
||||
define(NB_DECIMALS, 2);
|
||||
define(NB_DECIMALSITE, 2); // nb de d<>cimales sur le site
|
||||
define(FK_PORT, 159); // l'id du service frais de port d<>fini.
|
||||
define(FK_PORT, 2); // l'id du service frais de port d<>fini.
|
||||
|
||||
// fonctions
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/boutique/index.php
|
||||
\ingroup boutique
|
||||
\file htdocs/oscommerce_ws/index.php
|
||||
\ingroup oscommerce2
|
||||
\brief Page accueil zone boutique
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
@@ -225,8 +225,9 @@ class Product
|
||||
{
|
||||
if ($this->catid > 0)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT ."/categories/categorie.class.php");
|
||||
$cat = new Categorie ($this->db, $this->catid);
|
||||
$cat->add_product($this);
|
||||
$cat->add_type($this,"product");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user