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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1b25fdc3
Commit
1b25fdc3
authored
11 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Param at wrong place.
Fix: Add warning if phpunit are runned with external module on.
parent
70cccc90
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/invoices/email_unpaid_invoices_to_representatives.php
+1
-1
1 addition, 1 deletion
...pts/invoices/email_unpaid_invoices_to_representatives.php
test/phpunit/AllTests.php
+4
-1
4 additions, 1 deletion
test/phpunit/AllTests.php
with
5 additions
and
2 deletions
scripts/invoices/email_unpaid_invoices_to_representatives.php
+
1
−
1
View file @
1b25fdc3
...
@@ -226,7 +226,7 @@ function envoi_mail($mode,$oldemail,$message,$total,$userlang,$oldsalerepresenta
...
@@ -226,7 +226,7 @@ function envoi_mail($mode,$oldemail,$message,$total,$userlang,$oldsalerepresenta
$allmessage
.
=
$newlangs
->
transnoentities
(
"NoteListOfYourUnpaidInvoices"
)
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
$allmessage
.
=
$newlangs
->
transnoentities
(
"NoteListOfYourUnpaidInvoices"
)
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
}
}
$allmessage
.
=
$message
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
$allmessage
.
=
$message
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
$allmessage
.
=
$langs
->
trans
(
"Total"
)
.
" = "
.
price
(
$total
,
0
,
0
,
-
1
,
$conf
->
currency
)
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
$allmessage
.
=
$langs
->
trans
(
"Total"
)
.
" = "
.
price
(
$total
,
0
,
$newlangs
,
0
,
0
,
-
1
,
$conf
->
currency
)
.
(
$usehtml
?
"<br>
\n
"
:
"
\n
"
);
if
(
!
empty
(
$conf
->
global
->
SCRIPT_EMAIL_UNPAID_INVOICES_SALESREPRESENTATIVES_FOOTER
))
if
(
!
empty
(
$conf
->
global
->
SCRIPT_EMAIL_UNPAID_INVOICES_SALESREPRESENTATIVES_FOOTER
))
{
{
$allmessage
.
=
$conf
->
global
->
SCRIPT_EMAIL_UNPAID_INVOICES_SALESREPRESENTATIVES_FOOTER
;
$allmessage
.
=
$conf
->
global
->
SCRIPT_EMAIL_UNPAID_INVOICES_SALESREPRESENTATIVES_FOOTER
;
...
...
This diff is collapsed.
Click to expand it.
test/phpunit/AllTests.php
+
4
−
1
View file @
1b25fdc3
...
@@ -36,7 +36,10 @@ if ($langs->defaultlang != 'en_US')
...
@@ -36,7 +36,10 @@ if ($langs->defaultlang != 'en_US')
print
"Error: Default language for company to run tests must be set to en_US or auto. Current is "
.
$langs
->
defaultlang
.
"
\n
"
;
print
"Error: Default language for company to run tests must be set to en_US or auto. Current is "
.
$langs
->
defaultlang
.
"
\n
"
;
exit
;
exit
;
}
}
if
(
!
empty
(
$conf
->
google
->
enabled
))
{
print
"Warning: Google module should not be enabled.
\n
"
;
}
if
(
empty
(
$user
->
id
))
if
(
empty
(
$user
->
id
))
{
{
print
"Load permissions for admin user nb 1
\n
"
;
print
"Load permissions for admin user nb 1
\n
"
;
...
...
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