projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix "Post manual (offline/POS) credit card refund", RT#18926
[freeside.git]
/
httemplate
/
edit
/
pkg_category.html
diff --git
a/httemplate/edit/pkg_category.html
b/httemplate/edit/pkg_category.html
index
a07dc58
..
3be74c7
100644
(file)
--- a/
httemplate/edit/pkg_category.html
+++ b/
httemplate/edit/pkg_category.html
@@
-1,24
+1,28
@@
<% include( 'elements/edit.html',
<% include( 'elements/edit.html',
- 'name
'
=> 'Package Category',
+ 'name
_singular'
=> 'Package Category',
'table' => 'pkg_category',
'fields' => [
'categoryname',
'weight',
'table' => 'pkg_category',
'fields' => [
'categoryname',
'weight',
+ { field=>'condense', type=>'checkbox', value=>'Y', },
{ field=>'disabled', type=>'checkbox', value=>'Y', },
],
{ field=>'disabled', type=>'checkbox', value=>'Y', },
],
- 'labels' => {
+ 'labels' => {
'categorynum' => 'Category number',
'categoryname' => 'Category name',
'weight' => 'Weight',
'categorynum' => 'Category number',
'categoryname' => 'Category name',
'weight' => 'Weight',
- 'disabled' => 'Disable category',
+ 'condense' => 'Collapse identical items to one',
+ 'disabled' => 'Disable category',
},
'viewall_dir' => 'browse',
},
'viewall_dir' => 'browse',
+ %opt,
)
)
-
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+my %opt = @_;
+
</%init>
</%init>