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
01655d17
Commit
01655d17
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
New: Add option FACTURE_SENDBYEMAIL_FOR_ALL_STATUS to allow to send
invoice by email whatever is its status.
parent
002e64d5
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
ChangeLog
+3
-1
3 additions, 1 deletion
ChangeLog
htdocs/compta/facture.php
+5
-3
5 additions, 3 deletions
htdocs/compta/facture.php
with
8 additions
and
4 deletions
ChangeLog
+
3
−
1
View file @
01655d17
...
...
@@ -43,9 +43,11 @@ For users:
- New: Can define custom fields for categories.
- New: Prepare generation of SEPA files into module withdrawal.
- New: Can filter on status for supplier order.
- New: Add option FACTURE_SENDBYEMAIL_FOR_ALL_STATUS to allow to send invoice by email
whatever is its status.
- New: Add filter date in bank writing list page.
- Fix: Project Task numbering customs rule works.
- Fix: Add actions events not implemented.
- New: Add filter date in bank writing list page.
- Fix: Price min of composition is not supplier price min by quantity
TODO
...
...
This diff is collapsed.
Click to expand it.
htdocs/compta/facture.php
+
5
−
3
View file @
01655d17
...
...
@@ -3332,9 +3332,11 @@ if ($action == 'create')
dol_fiche_end
();
// Boutons actions
if
(
$action
!=
'prerelance'
&&
$action
!=
'presend'
&&
$action
!=
'valid'
&&
$action
!=
'editline'
)
{
// Actions buttons
if
(
$action
!=
'prerelance'
&&
$action
!=
'presend'
&&
$action
!=
'valid'
&&
$action
!=
'editline'
)
{
print
'<div class="tabsAction">'
;
$parameters
=
array
();
...
...
@@ -3382,7 +3384,7 @@ if ($action == 'create')
}
// Send by mail
if
((
$object
->
statut
==
1
||
$object
->
statut
==
2
))
{
if
((
$object
->
statut
==
1
||
$object
->
statut
==
2
)
||
!
empty
(
$conf
->
global
->
FACTURE_SENDBYEMAIL_FOR_ALL_STATUS
)
)
{
if
(
$objectidnext
)
{
print
'<div class="inline-block divButAction"><span class="butActionRefused" title="'
.
$langs
->
trans
(
"DisabledBecauseReplacedInvoice"
)
.
'">'
.
$langs
->
trans
(
'SendByMail'
)
.
'</span></div>'
;
}
else
{
...
...
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