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
71246c86
Commit
71246c86
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
FIX Bad td balance and default checkbox value
parent
894953c2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/commande/orderstoinvoice.php
+9
-7
9 additions, 7 deletions
htdocs/commande/orderstoinvoice.php
with
9 additions
and
7 deletions
htdocs/commande/orderstoinvoice.php
+
9
−
7
View file @
71246c86
...
...
@@ -604,10 +604,11 @@ if (($action != 'create' && $action != 'add') || ($action == 'create' && $error)
//REF
print
'<input class="flat" size="10" type="text" name="sref" value="'
.
$sref
.
'">'
;
print
'</td>'
;
//print '<td class="liste_titre">';
print
'<td class="liste_titre" align="left">'
;
print
'<input class="flat" type="text" size="10" name="sref_client" value="'
.
$sref_client
.
'">'
;
print
'</td>'
;
//DATE ORDER
print
'<td class="liste_titre" align="center">'
;
print
$period
;
...
...
@@ -619,15 +620,16 @@ if (($action != 'create' && $action != 'add') || ($action == 'create' && $error)
print
'</td>'
;
//SEARCH BUTTON
print
'<
/td><
td align="right" class="liste_titre">'
;
print
'<td align="right" class="liste_titre">'
;
print
'<input type="image" class="liste_titre" name="button_search" src="'
.
img_picto
(
$langs
->
trans
(
"Search"
),
'search.png'
,
''
,
''
,
1
)
.
'" value="'
.
dol_escape_htmltag
(
$langs
->
trans
(
"Search"
))
.
'" title="'
.
dol_escape_htmltag
(
$langs
->
trans
(
"Search"
))
.
'">'
;
print
'</td>'
;
//ALL/NONE
print
'<td class="liste_titre"
align="center"
>'
;
print
'<td
align="center"
class="liste_titre">'
;
if
(
$conf
->
use_javascript_ajax
)
print
'<a href="#" id="checkall">'
.
$langs
->
trans
(
"All"
)
.
'</a> / <a href="#" id="checknone">'
.
$langs
->
trans
(
"None"
)
.
'</a>'
;
print
'</td>'
;
print
'</
td></
tr>'
;
print
'</tr>'
;
print
'</form>'
;
print
'<form name="orders2invoice" action="orderstoinvoice.php" method="GET">'
;
...
...
@@ -697,7 +699,7 @@ if (($action != 'create' && $action != 'add') || ($action == 'create' && $error)
/*
* Boutons actions
*/
print
'<br><div class="center"><input type="checkbox"
checked
name="autocloseorders"> '
.
$langs
->
trans
(
"CloseProcessedOrdersAutomatically"
);
print
'<br><div class="center"><input type="checkbox"
'
.
(
empty
(
$conf
->
global
->
INVOICE_CLOSE_ORDERS_OFF_BY_DEFAULT_FORMASSINVOICE
)
?
' checked="checked"'
:
''
)
.
'
name="autocloseorders"> '
.
$langs
->
trans
(
"CloseProcessedOrdersAutomatically"
);
print
'<div align="right">'
;
print
'<input type="hidden" name="socid" value="'
.
$socid
.
'">'
;
print
'<input type="hidden" name="action" value="create">'
;
...
...
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