diff options
Diffstat (limited to 'httemplate/edit')
| -rw-r--r-- | httemplate/edit/cust_class.html | 2 | ||||
| -rwxr-xr-x | httemplate/edit/cust_main.cgi | 2 | ||||
| -rw-r--r-- | httemplate/edit/cust_note_class.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/hardware_class.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/inventory_class.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/part_tag.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/pkg_class.html | 2 | ||||
| -rw-r--r-- | httemplate/edit/process/msg_template.html | 2 |
8 files changed, 11 insertions, 5 deletions
diff --git a/httemplate/edit/cust_class.html b/httemplate/edit/cust_class.html index fdb58e687..f1bde8f3b 100644 --- a/httemplate/edit/cust_class.html +++ b/httemplate/edit/cust_class.html @@ -1,5 +1,5 @@ <% include( 'elements/class_Common.html', - 'name' => 'Customer Class', + 'name_singular' => 'Customer Class', 'table' => 'cust_class', ) %> diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 91419af5a..3d9aa8002 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -318,6 +318,8 @@ if ( $cgi->param('error') ) { $stateid = ''; $payinfo = ''; + $cgi->param('tagnum', FS::part_tag->default_tags); + if ( $cgi->param('qualnum') =~ /^(\d+)$/ ) { my $qualnum = $1; my $qual = qsearchs('qual', { 'qualnum' => $qualnum } ) diff --git a/httemplate/edit/cust_note_class.html b/httemplate/edit/cust_note_class.html index 111190b71..a7e47397e 100644 --- a/httemplate/edit/cust_note_class.html +++ b/httemplate/edit/cust_note_class.html @@ -1,5 +1,5 @@ <% include( 'elements/class_Common.html', - 'name' => 'Customer Note Class', + 'name_singular' => 'Customer Note Class', 'table' => 'cust_note_class', 'nocat' => 1, ) diff --git a/httemplate/edit/hardware_class.html b/httemplate/edit/hardware_class.html index 8760dd86c..26f487dda 100644 --- a/httemplate/edit/hardware_class.html +++ b/httemplate/edit/hardware_class.html @@ -1,5 +1,5 @@ <% include( 'elements/edit.html', - 'name' => 'Hardware Class', + 'name_singular' => 'Hardware Class', 'table' => 'hardware_class', 'labels' => { 'classnum' => 'Class number', diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html index 3ab47fe28..ddde55799 100644 --- a/httemplate/edit/inventory_class.html +++ b/httemplate/edit/inventory_class.html @@ -1,5 +1,5 @@ <% include( 'elements/edit.html', - 'name' => 'Inventory Class', + 'name_singular' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { 'classnum' => 'Class number', diff --git a/httemplate/edit/part_tag.html b/httemplate/edit/part_tag.html index 87c77fa98..64ecefba4 100644 --- a/httemplate/edit/part_tag.html +++ b/httemplate/edit/part_tag.html @@ -5,12 +5,14 @@ { field=>'tagname', type=>'text', size=>10 }, { field=>'disabled', type=>'checkbox', value=>'Y' }, { field=>'tagdesc', type=>'text', size=>60 }, + { field=>'by_default', type=>'checkbox', value=>'Y' }, $tagcolor, ], 'labels' => { 'tagnum' => 'Tag #', 'tagname' => 'Tag', 'tagdesc' => 'Message', 'tagcolor' => 'Highlight Color', + 'by_default' => 'On by default', 'disabled' => 'Disabled', }, 'viewall_dir' => 'browse', diff --git a/httemplate/edit/pkg_class.html b/httemplate/edit/pkg_class.html index 1bc100e36..674afe690 100644 --- a/httemplate/edit/pkg_class.html +++ b/httemplate/edit/pkg_class.html @@ -1,5 +1,5 @@ <% include( 'elements/class_Common.html', - 'name' => 'Package Class', + 'name_singular' => 'Package Class', 'table' => 'pkg_class', %opt, ) diff --git a/httemplate/edit/process/msg_template.html b/httemplate/edit/process/msg_template.html index b19f5c542..e146adf76 100644 --- a/httemplate/edit/process/msg_template.html +++ b/httemplate/edit/process/msg_template.html @@ -29,6 +29,8 @@ sub args_callback { # no validation of these; they can contain just about anything $content{'subject'} = $cgi->param('subject') || ''; $content{'body'} = $cgi->param('body') || ''; + $object->subject(''); + $object->body(''); return %content; } |
