diff --git a/ChangeLog b/ChangeLog
index d93f5199c40..e0b84526493 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -93,6 +93,7 @@ For users, new experimental module:
Hydroflex 120 euros
Asysteo 120 euros
Fournisseur médical 120 euros
+- Removed: unmaintained OScommerce module
For translators:
- Update language files.
diff --git a/build/rpm/dolibarr_fedora.spec b/build/rpm/dolibarr_fedora.spec
index 439a09b8266..156f34bc066 100755
--- a/build/rpm/dolibarr_fedora.spec
+++ b/build/rpm/dolibarr_fedora.spec
@@ -162,7 +162,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
-%_datadir/dolibarr/htdocs/boutique
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/comm
diff --git a/build/rpm/dolibarr_generic.spec b/build/rpm/dolibarr_generic.spec
index 945e8f4812c..176cb07975d 100755
--- a/build/rpm/dolibarr_generic.spec
+++ b/build/rpm/dolibarr_generic.spec
@@ -242,7 +242,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
-%_datadir/dolibarr/htdocs/boutique
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/comm
diff --git a/build/rpm/dolibarr_mandriva.spec b/build/rpm/dolibarr_mandriva.spec
index 17b46c3c143..d75c9a84dca 100755
--- a/build/rpm/dolibarr_mandriva.spec
+++ b/build/rpm/dolibarr_mandriva.spec
@@ -159,7 +159,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
-%_datadir/dolibarr/htdocs/boutique
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/comm
diff --git a/build/rpm/dolibarr_opensuse.spec b/build/rpm/dolibarr_opensuse.spec
index f6192c87c9b..41ea838f3fb 100755
--- a/build/rpm/dolibarr_opensuse.spec
+++ b/build/rpm/dolibarr_opensuse.spec
@@ -170,7 +170,6 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
-%_datadir/dolibarr/htdocs/boutique
%_datadir/dolibarr/htdocs/cashdesk
%_datadir/dolibarr/htdocs/categories
%_datadir/dolibarr/htdocs/comm
diff --git a/htdocs/admin/osc-languages.php b/htdocs/admin/osc-languages.php
deleted file mode 100644
index 804c72f2850..00000000000
--- a/htdocs/admin/osc-languages.php
+++ /dev/null
@@ -1,90 +0,0 @@
-
- *
- * 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
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see
| id | "; -print "Name | "; -print "Code | "; -print "
| $objp->languages_id | \n"; - print "$objp->name | \n"; - print "$objp->code | \n"; - print "
| Nom | '.$client->name.' |
| Commandes | "; - print "
';
-
- print dol_print_date($dbosc->jdate($objp->date_purchased),'dayhour')."\n";
- print $objp->total . " | \n";
- print "
ERROR 1
\n"; - dol_print_error($dbosc); - } - - } - else - { - print "ERROR 1
\n"; - dol_print_error($dbosc); - } -} -else -{ - print "ERROR 1
\n"; - print "Error"; -} - - -/* ************************************************************************** */ -/* */ -/* Barre d'action */ -/* */ -/* ************************************************************************** */ - -// Pas d'action - - -$dbosc->close(); - -llxFooter(); diff --git a/htdocs/boutique/client/class/boutiqueclient.class.php b/htdocs/boutique/client/class/boutiqueclient.class.php deleted file mode 100644 index fdf393043b0..00000000000 --- a/htdocs/boutique/client/class/boutiqueclient.class.php +++ /dev/null @@ -1,77 +0,0 @@ - - * - * 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 - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see| '.$langs->trans("EMail").' | '.$langs->trans("Newsletter").' | '; - print "||
| '.$objp->customers_firstname." | \n"; - print ''.$objp->customers_lastname." | \n"; - print "$objp->customers_email_address | \n"; - print "$objp->customers_newsletter | \n"; - print "
| '.$langs->trans("Description").' | '; -print ''.$langs->trans("Lastname").' |
| Somme des commandes | '; - print ''.price($objp->value).' | '; - - print "
| Somme des frais de port | '; - print ''.price($objp->value).' |
| Date | '.$commande->date.' | Client | '.$commande->client_name.' | '; - - print 'Paiement | '.$commande->payment_method.' | '; - - print "
| ".$langs->trans("Address")." | ".$langs->trans("Delivery")." | ".$langs->trans("Invoice")." | ".$commande->delivery_adr->name." ".$commande->delivery_adr->street." ".$commande->delivery_adr->zip." ".$commande->delivery_adr->city." ".$commande->delivery_adr->country." | ";
- print "".$commande->billing_adr->name." ".$commande->billing_adr->street." ".$commande->billing_adr->zip." ".$commande->billing_adr->city." ".$commande->billing_adr->country." | ";
- print "";
-
- print "
| '.$langs->trans("Products").' | '; - print ''.$langs->trans("Number").' | '.$langs->trans("Price").' | Prix final | '; - print "
| ';
- print ' | ";
-
- print '$objp->products_quantity | \n"; - print "rowid\">".price($objp->products_price)." | \n"; - print "rowid\">".price($objp->final_price)." | \n"; - - print "
| Frais d\'expeditions | '.price($commande->total_ot_shipping).' EUR | '.$langs->trans("Lastname").' | '.price($commande->total_ot_total).' EUR | '; - print "
| - | '; -print '- | '; -print '- | '; -print '- | '; -print '- | '; -print '
| ".$langs->trans("Ref")." | "; - print "".$langs->trans("Date")." | "; - print_liste_field_titre("Client","commande.php", "customers_name"); - print ''.$langs->trans("Total").' | '; - print "|
';
- print $objp->orders_id ." | "; - print dol_print_date($dbosc->jdate($objp->date_purchased),'dayhour').' | '; - print ''.$objp->customers_name." | \n"; - print ''.price($objp->value).' | '; - print "
| ".$langs->trans("Ref"); -print ' | Indice critiques | '; -print 'Quantite'; -print ' | Status | '; -print "
| '.$objp->products_model.' | '; - print ''.$objp->rat." | \n"; - print ''.$objp->products_quantity." | \n"; - print ''.$objp->products_status." | \n"; - print "
| Produit | '.$critique->product_name.' |
| Texte | '.nl2br($critique->text).' |
| - | '; -print '- | '; -print '- | '; -print '- | '; -print '- | '; -print '
| Produit | "; -print "Critique | "; -print "Note | "; -print ""; -print " |
| ".substr($objp->products_name, 0, 30)." | \n"; - print ''.substr($objp->reviews_text, 0, 40)." ... | \n"; - print "$objp->reviews_rating | \n"; - print "
';
-
-
-/*
- * Turnover
- */
-
-print_titre($langs->trans('SalesTurnover'));
-
-print '
| ';
-print_titre($langs->trans("Orders"));
-
-/*
- * 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
- */
-$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 ";
-$sql .= " WHERE t.class = 'ot_subtotal' ORDER BY o.date_purchased desc";
-
-$resql=$dbosc->query($sql);
-if ($resql)
-{
- $langs->load("orders");
- $num = $dbosc->num_rows($resql);
- if ($num > 0)
- {
- $i = 0;
- print '
"; - } -} -else -{ - dol_print_error($dbosc); -} - -/* - * Last 5 orders on hold - */ -$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 "; -$sql .= " WHERE t.class = 'ot_subtotal' and o.orders_status = 5 order by o.date_purchased desc"; - -$resql=$dbosc->query($sql); -if ($resql) -{ - $langs->load("orders"); - $num = $dbosc->num_rows($resql); - if ($num > 0) - { - $i = 0; - print '
"; - } -} -else -{ - dol_print_error($dbosc); -} - -/* - * 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 "; -$sql .= " WHERE t.class = 'ot_subtotal' and o.orders_status = 2 order by o.date_purchased desc"; - -$resql=$dbosc->query($sql); -if ($resql) -{ - $langs->load("orders"); - $num = $dbosc->num_rows($resql); - if ($num > 0) - { - $i = 0; - print '
"; - } -} -else -{ - dol_print_error($dbosc); -} - - -print ' | ||||||||||||||||||||||||||||
| '.$langs->trans("Derniers clients").' | ||||||
| $obj->date_purchased | $obj->customers_name | $obj->delivery_country | ".price($obj->value)." | $obj->payment_method | $obj->orders_id | $obj->statut |
| '.$langs->trans("Product").' | '; - print "|
| rowid\">$objp->customers_firstname $objp->customers_lastname | \n"; - print ''.$objp->products_name." | "; - print "
| Produit | Nb. | '; - print ""; - print " | "; - print " |
| '.$objp->products_name." | "; - print ''.$objp->nb.' | '; - - print 'Voir les clients | '; - print 'Envoyer une news | '; - - print "
| '.$langs->trans("EMail").' | '.$langs->trans("Newsletter").' | '; - print "||
| '.$objp->customers_firstname." | \n"; - print ''.$objp->customers_lastname." | \n"; - print "$objp->customers_email_address | \n"; - print "$objp->customers_newsletter | \n"; - print "
| id | "; -print "Ref | "; -print "Titre | "; -print "Groupe | "; -print 'Stock | '; -print 'Status | '; -print '
| $objp->products_id | \n"; - print "$objp->products_model | \n"; - print "$objp->products_name | \n"; - print "$objp->manufacturers_name | \n"; - print ''.$objp->products_quantity." | \n"; - print ''.$objp->products_status." | \n"; - print "
| Fin | "; - print 'Prix initial | '; - print 'Prix remise | '; - print "||||||
| '.$objp->products_model." | "; - print ''.$objp->products_name." | "; - - if ($objp->status == 1) - { - print '';
- print '';
- print ' | ';
- }
- else
- {
- print '';
- print '';
- print ' | ';
- print '".dol_print_date($dbosc->jdate($objp->fin),'day')." | "; - print ''.price($objp->products_price)." | "; - print ''.price($objp->specials_new_products_price)." | "; - print "