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
c8dd0383
Commit
c8dd0383
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
New: Function getCurrencyAmount is marked as deprecated. Use function
price to output a price including currency symbol.
parent
b90011ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
htdocs/core/class/translate.class.php
+1
-0
1 addition, 0 deletions
htdocs/core/class/translate.class.php
with
3 additions
and
0 deletions
ChangeLog
+
2
−
0
View file @
c8dd0383
...
@@ -120,6 +120,8 @@ For developers:
...
@@ -120,6 +120,8 @@ For developers:
- New: renamed table llx_c_pays to llx_c_country & libelle field to label.
- New: renamed table llx_c_pays to llx_c_country & libelle field to label.
- New: Added hook "formConfirm" and "doActions" for fichinter card
- New: Added hook "formConfirm" and "doActions" for fichinter card
- New: Can search list of thirdparties from web service on part of name.
- New: Can search list of thirdparties from web service on part of name.
- New: Function getCurrencyAmount is marked as deprecated. Use function price to output a price
including currency symbol.
- Qual: Renamed table llx_c_civilite into llx_c_civility,
- Qual: Renamed table llx_c_civilite into llx_c_civility,
field civilite into label in the same table,
field civilite into label in the same table,
and field civilite into civility in other table.
and field civilite into civility in other table.
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/class/translate.class.php
+
1
−
0
View file @
c8dd0383
...
@@ -701,6 +701,7 @@ class Translate
...
@@ -701,6 +701,7 @@ class Translate
* @param string $currency_code Currency Code
* @param string $currency_code Currency Code
* @param string $amount If not '', show currency + amount according to langs ($10, 10€).
* @param string $amount If not '', show currency + amount according to langs ($10, 10€).
* @return string Amount + Currency symbol encoded into UTF8
* @return string Amount + Currency symbol encoded into UTF8
* @deprecated Use method price to output a price
*/
*/
function
getCurrencyAmount
(
$currency_code
,
$amount
)
function
getCurrencyAmount
(
$currency_code
,
$amount
)
{
{
...
...
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