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
aab90bfe
Commit
aab90bfe
authored
11 years ago
by
Juanjo Menent
Browse files
Options
Downloads
Plain Diff
Merge pull request #1154 from atm-maxime/develop
Fix : supplier invoice mask + numbering
parents
a8784faa
3586c41a
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/admin/supplier_invoice.php
+1
-1
1 addition, 1 deletion
htdocs/admin/supplier_invoice.php
htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php
+1
-1
1 addition, 1 deletion
...odules/supplier_invoice/mod_facture_fournisseur_tulip.php
with
2 additions
and
2 deletions
htdocs/admin/supplier_invoice.php
+
1
−
1
View file @
aab90bfe
...
...
@@ -55,7 +55,7 @@ $specimenthirdparty->initAsSpecimen();
if
(
$action
==
'updateMask'
)
{
$maskconstinvoice
=
GETPOST
(
'maskconstinvoice'
,
'alpha'
);
$maskvalue
=
GETPOST
(
'mask
valu
e'
,
'alpha'
);
$maskvalue
=
GETPOST
(
'mask
invoic
e'
,
'alpha'
);
if
(
$maskconstinvoice
)
$res
=
dolibarr_set_const
(
$db
,
$maskconstinvoice
,
$maskvalue
,
'chaine'
,
0
,
''
,
$conf
->
entity
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php
+
1
−
1
View file @
aab90bfe
...
...
@@ -124,7 +124,7 @@ class mod_facture_fournisseur_tulip extends ModeleNumRefSuppliersInvoices
return
0
;
}
$numFinal
=
get_next_value
(
$db
,
$mask
,
'facture_fourn
isseur
'
,
'ref'
,
''
,
$objsoc
->
code_fournisseur
,
$object
->
date
c
);
$numFinal
=
get_next_value
(
$db
,
$mask
,
'facture_fourn'
,
'ref'
,
''
,
$objsoc
->
code_fournisseur
,
$object
->
date
f
);
return
$numFinal
;
}
...
...
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