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
a3becead
Commit
a3becead
authored
7 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 4.0
parents
d81fcd5f
d345b950
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/compta/bank/treso.php
+2
-0
2 additions, 0 deletions
htdocs/compta/bank/treso.php
htdocs/core/lib/date.lib.php
+2
-1
2 additions, 1 deletion
htdocs/core/lib/date.lib.php
with
4 additions
and
1 deletion
htdocs/compta/bank/treso.php
+
2
−
0
View file @
a3becead
...
...
@@ -282,6 +282,8 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
$refcomp
=
$societestatic
->
getNomUrl
(
1
,
''
,
24
);
$paiement
=
$facturestatic
->
getSommePaiement
();
// Payment already done
$paiement
+=
$facturestatic
->
getSumDepositsUsed
();
$paiement
+=
$facturestatic
->
getSumCreditNotesUsed
();
}
if
(
$obj
->
family
==
'social_contribution'
)
{
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/lib/date.lib.php
+
2
−
1
View file @
a3becead
...
...
@@ -2,6 +2,7 @@
/* Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2011-2015 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2017 Ferran Marcet <fmarcet@2byte.es>
*
* 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
...
...
@@ -407,7 +408,7 @@ function dol_get_next_week($day, $week, $month, $year)
{
$tmparray
=
dol_get_first_day_week
(
$day
,
$month
,
$year
);
$time
=
dol_mktime
(
12
,
0
,
0
,
$month
,
$tmparray
[
'first_day'
],
$year
,
1
,
0
);
$time
=
dol_mktime
(
12
,
0
,
0
,
$
tmparray
[
'first_
month
'
]
,
$tmparray
[
'first_day'
],
$
tmparray
[
'first_
year
'
]
,
1
,
0
);
$time
+=
24
*
60
*
60
*
7
;
$tmparray
=
dol_getdate
(
$time
,
true
);
...
...
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