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
0a1ade22
Commit
0a1ade22
authored
10 years ago
by
Maxime Kohlhaas
Browse files
Options
Downloads
Plain Diff
Merge branch '3.6' of github.com:Dolibarr/dolibarr into 3.6
parents
db9d727e
6189db67
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/makepack-dolibarr.pl
+3
-1
3 additions, 1 deletion
build/makepack-dolibarr.pl
htdocs/core/tpl/objectline_edit.tpl.php
+1
-1
1 addition, 1 deletion
htdocs/core/tpl/objectline_edit.tpl.php
with
4 additions
and
2 deletions
build/makepack-dolibarr.pl
+
3
−
1
View file @
0a1ade22
...
...
@@ -947,6 +947,8 @@ if ($nboftargetok) {
print
"
Remove target
$FILENAMEEXEDOLIWAMP
.exe...
\n
";
unlink
"
$NEWDESTI
/
$FILENAMEEXEDOLIWAMP
.exe
";
print
"
Check that in your Wine setup, you create a Z: drive that point to your /tmp directory.
\n
";
$SOURCEBACK
=
$SOURCE
;
$SOURCEBACK
=~
s/\//\\/g
;
...
...
@@ -954,7 +956,7 @@ if ($nboftargetok) {
$ret
=
`
cat "
$SOURCE
/build/exe/doliwamp/doliwamp.iss" | sed -e 's/__FILENAMEEXEDOLIWAMP__/
$FILENAMEEXEDOLIWAMP
/g' > "
$SOURCE
/build/exe/doliwamp/doliwamp.tmp.iss"
`;
print
"
Compil exe
$FILENAMEEXEDOLIWAMP
.exe file from iss file
\"
$SOURCEBACK
\\
build
\\
exe
\\
doliwamp
\\
doliwamp.tmp.iss
\"\n
";
$cmd
=
"
ISCC.exe
\"
$SOURCEBACK
\\
build
\\
exe
\\
doliwamp
\\
doliwamp.tmp.iss
\"
";
$cmd
=
"
ISCC.exe
\"
Z:
$SOURCEBACK
\\
build
\\
exe
\\
doliwamp
\\
doliwamp.tmp.iss
\"
";
print
"
$cmd
\n
";
$ret
=
`
$cmd
`;
#print "$ret\n";
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/tpl/objectline_edit.tpl.php
+
1
−
1
View file @
0a1ade22
...
...
@@ -333,7 +333,7 @@ if (! empty($conf->margin->enabled))
var
rounding
=
main_rounding_unit
;
var
pos
=
amount
.
indexOf
(
dec
);
var
decpart
=
''
;
if
(
pos
>=
0
)
decpart
=
amount
.
substr
(
pos
+
1
).
replace
(
'
/0+$/i
'
,
''
);
//
Supprime les 0 de fin de partie
decimal
e
if
(
pos
>=
0
)
decpart
=
amount
.
substr
(
pos
+
1
).
replace
(
'
/0+$/i
'
,
''
);
//
Remove 0 for
decimal
part
var
nbdec
=
decpart
.
length
;
if
(
nbdec
>
rounding
)
rounding
=
nbdec
;
// If rounding higher than max shown
...
...
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