projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add regular header/footer to svc_www view and edit
[freeside.git]
/
httemplate
/
edit
/
reason.html
diff --git
a/httemplate/edit/reason.html
b/httemplate/edit/reason.html
index
2f59328
..
7c0722c
100644
(file)
--- a/
httemplate/edit/reason.html
+++ b/
httemplate/edit/reason.html
@@
-9,6
+9,9
@@
%
% my (@types) = qsearch( 'reason_type', { 'class' => $class } );
%
%
% my (@types) = qsearch( 'reason_type', { 'class' => $class } );
%
+% unless (scalar(@types)) {
+% print $cgi->redirect( "reason_type.html?class=$class" );
+% }
<% include( 'elements/edit.html',
'name' => ucfirst($classname) . ' Reason',
'table' => 'reason',
<% include( 'elements/edit.html',
'name' => ucfirst($classname) . ' Reason',
'table' => 'reason',