Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
289a7ecf
Commit
289a7ecf
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/3.6' into develop
parents
396012f7
ffd27f2d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/langs/en_US/companies.lang
+1
-1
1 addition, 1 deletion
htdocs/langs/en_US/companies.lang
htdocs/langs/en_US/main.lang
+1
-1
1 addition, 1 deletion
htdocs/langs/en_US/main.lang
htdocs/societe/consumption.php
+4
-4
4 additions, 4 deletions
htdocs/societe/consumption.php
with
6 additions
and
6 deletions
htdocs/langs/en_US/companies.lang
+
1
−
1
View file @
289a7ecf
...
...
@@ -400,7 +400,7 @@ UniqueThirdParties=Total of unique third parties
InActivity=Open
ActivityCeased=Closed
ActivityStateFilter=Activity status
ProductsIntoElements=List of products into
ProductsIntoElements=List of products into
%s
CurrentOutstandingBill=Current outstanding bill
OutstandingBill=Max. for outstanding bill
OutstandingBillReached=Reached max. for outstanding bill
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/main.lang
+
1
−
1
View file @
289a7ecf
...
...
@@ -507,7 +507,7 @@ NbOfCustomers=Number of customers
NbOfLines=Number of lines
NbOfObjects=Number of objects
NbOfReferers=Number of referrers
Referers=
Consumption
Referers=
Refering objects
TotalQuantity=Total quantity
DateFromTo=From %s to %s
DateFrom=From %s
...
...
This diff is collapsed.
Click to expand it.
htdocs/societe/consumption.php
+
4
−
4
View file @
289a7ecf
<?php
/* Copyright (C) 2012-2013 Philippe Berthet <berthet@systune.be>
* Copyright (C) 2004-201
3
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004-201
4
Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
*
* Version V1.1 Initial version of Philippe Berthet
...
...
@@ -176,7 +176,7 @@ if ($type_element == 'order')
{
require_once
DOL_DOCUMENT_ROOT
.
'/commande/class/commande.class.php'
;
$documentstatic
=
new
Commande
(
$db
);
$sql_select
=
'SELECT c.rowid as doc_id, c.ref as doc_number,
"1"
as doc_type, c.date_commande as datePrint, '
;
$sql_select
=
'SELECT c.rowid as doc_id, c.ref as doc_number,
\'1\'
as doc_type, c.date_commande as datePrint, '
;
$tables_from
=
MAIN_DB_PREFIX
.
"commande as c,"
.
MAIN_DB_PREFIX
.
"commandedet as d"
;
$where
=
" WHERE c.fk_soc = s.rowid AND s.rowid = "
.
$socid
;
$where
.
=
" AND d.fk_commande = c.rowid"
;
...
...
@@ -189,7 +189,7 @@ if ($type_element == 'supplier_invoice')
{
// Supplier : Show products from invoices.
require_once
DOL_DOCUMENT_ROOT
.
'/fourn/class/fournisseur.facture.class.php'
;
$documentstatic
=
new
FactureFournisseur
(
$db
);
$sql_select
=
'SELECT f.rowid as doc_id, f.ref as doc_number,
"1"
as doc_type, f.datef as datePrint, '
;
$sql_select
=
'SELECT f.rowid as doc_id, f.ref as doc_number,
\'1\'
as doc_type, f.datef as datePrint, '
;
$tables_from
=
MAIN_DB_PREFIX
.
"facture_fourn as f,"
.
MAIN_DB_PREFIX
.
"facture_fourn_det as d"
;
$where
=
" WHERE f.fk_soc = s.rowid AND s.rowid = "
.
$socid
;
$where
.
=
" AND d.fk_facture_fourn = f.rowid"
;
...
...
@@ -201,7 +201,7 @@ if ($type_element == 'supplier_order')
{
// Supplier : Show products from orders.
require_once
DOL_DOCUMENT_ROOT
.
'/fourn/class/fournisseur.commande.class.php'
;
$documentstatic
=
new
CommandeFournisseur
(
$db
);
$sql_select
=
'SELECT c.rowid as doc_id, c.ref as doc_number,
"1"
as doc_type, c.date_valid as datePrint, '
;
$sql_select
=
'SELECT c.rowid as doc_id, c.ref as doc_number,
\'1\'
as doc_type, c.date_valid as datePrint, '
;
$tables_from
=
MAIN_DB_PREFIX
.
"commande_fournisseur as c,"
.
MAIN_DB_PREFIX
.
"commande_fournisseurdet as d"
;
$where
=
" WHERE c.fk_soc = s.rowid AND s.rowid = "
.
$socid
;
$where
.
=
" AND d.fk_commande = c.rowid"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment