projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need for fix for #74270 in 5.x, FK enforcement was strict in 4.x
[freeside.git]
/
httemplate
/
elements
/
select-cust_tag.html
diff --git
a/httemplate/elements/select-cust_tag.html
b/httemplate/elements/select-cust_tag.html
index
61d4dca
..
02f8498
100644
(file)
--- a/
httemplate/elements/select-cust_tag.html
+++ b/
httemplate/elements/select-cust_tag.html
@@
-1,11
+1,12
@@
-<% include( '/elements/select-table.html',
- 'table' => 'part_tag',
+<% include( '/elements/checkboxes-table.html',
+ 'target_table' => 'part_tag',
+ 'link_table' => 'cust_tag',
'name_col' => 'tagname', #tagname - tagdesc??
'name_col' => 'tagname', #tagname - tagdesc??
- 'multiple' => 1,
- #'value' => $agentnum || '',
- #'agent_virt' => 1,
- 'hashref' => { 'disabled' => '' },
+ 'color_col' => 'tagcolor',
+ 'disable-able' => 1,
'order_by' => ' ORDER BY tagname',
'order_by' => ' ORDER BY tagname',
+ 'source_table' => 'cust_main',
+ 'sourcenum' => $opt{'custnum'},
%opt,
)
%>
%opt,
)
%>