projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix contact editing through edit/cust_main.cgi, originally from #23741?
[freeside.git]
/
httemplate
/
edit
/
quotation_pkg_detail.html
diff --git
a/httemplate/edit/quotation_pkg_detail.html
b/httemplate/edit/quotation_pkg_detail.html
index
b8f589a
..
80a9044
100644
(file)
--- a/
httemplate/edit/quotation_pkg_detail.html
+++ b/
httemplate/edit/quotation_pkg_detail.html
@@
-21,15
+21,11
@@
<TD BGCOLOR="#ffffff"><% $part_pkg->comment |h %></TD>
</TR>
<TD BGCOLOR="#ffffff"><% $part_pkg->comment |h %></TD>
</TR>
- <TR>
- <TD COLSPAN=2>Detail: </TD>
- </TR>
-
% my $row = 0;
% for ( @details ) {
<TR>
% my $row = 0;
% for ( @details ) {
<TR>
- <TD></TD>
+ <TD
ALIGN="right"><% $row ? '' : 'Detail' %
></TD>
<TD>
<INPUT TYPE="text" NAME="detail<% $row %>" SIZE="60" MAXLENGTH="65" VALUE="<% $_ |h %>" rownum="<% $row++ %>" onkeyup="possiblyAddRow" onchange="possiblyAddrow">
</TD>
<TD>
<INPUT TYPE="text" NAME="detail<% $row %>" SIZE="60" MAXLENGTH="65" VALUE="<% $_ |h %>" rownum="<% $row++ %>" onkeyup="possiblyAddRow" onchange="possiblyAddrow">
</TD>
@@
-63,6
+59,10
@@
var row = document.createElement('TR');
var empty_cell = document.createElement('TD');
var row = document.createElement('TR');
var empty_cell = document.createElement('TD');
+ if (!rownum) {
+ empty_cell.innerHTML = 'Detail:'
+ empty_cell.style.textAlign = 'right';
+ }
row.appendChild(empty_cell);
var detail_cell = document.createElement('TD');
row.appendChild(empty_cell);
var detail_cell = document.createElement('TD');