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
53bb3231
Commit
53bb3231
authored
11 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Bad action set for invoice
parent
19a30880
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/fourn/facture/fiche.php
+2
-2
2 additions, 2 deletions
htdocs/fourn/facture/fiche.php
with
2 additions
and
2 deletions
htdocs/fourn/facture/fiche.php
+
2
−
2
View file @
53bb3231
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* Copyright (C) 2004 Christophe Combelles <ccomb@free.fr>
* Copyright (C) 2004 Christophe Combelles <ccomb@free.fr>
* Copyright (C) 2005 Marc Barilley <marc@ocebo.fr>
* Copyright (C) 2005 Marc Barilley <marc@ocebo.fr>
* Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2010-201
2
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2010-201
4
Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2013 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2013 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
*
*
...
@@ -824,7 +824,7 @@ if ($action == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] && ! $_P
...
@@ -824,7 +824,7 @@ if ($action == 'send' && ! $_POST['addfile'] && ! $_POST['removedfile'] && ! $_P
{
{
if
(
dol_strlen
(
$_POST
[
'subject'
]))
$subject
=
$_POST
[
'subject'
];
if
(
dol_strlen
(
$_POST
[
'subject'
]))
$subject
=
$_POST
[
'subject'
];
else
$subject
=
$langs
->
transnoentities
(
'CustomerOrder'
)
.
' '
.
$object
->
ref
;
else
$subject
=
$langs
->
transnoentities
(
'CustomerOrder'
)
.
' '
.
$object
->
ref
;
$actiontypecode
=
'AC_SUP_
ORD
'
;
$actiontypecode
=
'AC_SUP_
INV
'
;
$actionmsg
=
$langs
->
transnoentities
(
'MailSentBy'
)
.
' '
.
$from
.
' '
.
$langs
->
transnoentities
(
'To'
)
.
' '
.
$sendto
.
".
\n
"
;
$actionmsg
=
$langs
->
transnoentities
(
'MailSentBy'
)
.
' '
.
$from
.
' '
.
$langs
->
transnoentities
(
'To'
)
.
' '
.
$sendto
.
".
\n
"
;
if
(
$message
)
if
(
$message
)
{
{
...
...
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