The list of activities, which an employee can see
is reduced to:
-
Initial
- Log
Comment
-
Resolve
-
Closed
For this purpose the following has be
changed:
Original
<PDM_LIST
SOURCE=args.act_log>
<tr>
<td
CLASS=detailro ALIGN=left VALIGN=top>
<PDM_FMT
WIDTH=20>$args.act_log.analyst.combo_name</PDM_FMT>
</TD>
<TD
CLASS=detailro ALIGN=left VALIGN=top>
<script>
date_to_string('$args.act_log.time_stamp_INT_DATE',
1);
</script>
</TD>
<SCRIPT>
if (("$args.act_log.type.code" == "KTSOLN" ||
"$args.act_log.type.code" == "KTREJECT") &&
"$args.act_log.session" != "")
{
var alghtml = "<TD NOWRAP VALIGN=TOP
class=detailro>";
alghtml += "<A TITLE='Click to display
Knowledge document ${$args.act_log.session:}'
HREF=\"javascript:popup_window('','SHOW_DETAIL', 0, 0,
'directories=no,location=no,menubar=no,status=no,topsplash=no,menubar=no','PERSID=KD:$args.act_log.session',
'HTMPL=kt_document_view.htmpl', 'opener=simple', 'open_mode=2',
'reload=1', 'SOLUTION_OF=" +
escape('$args.persistent_id') + "', 'disable_solution_survey=true',
'TICKET_FACTORY=cr', 'SOLUTION_OF_ID=$args.id')\">\n";
alghtml +=
"$args.act_log.type.sym</A></TD>\n";
document.writeln(alghtml);
}
else
{
document.writeln("<TD CLASS=detailro
ALIGN=left VALIGN=top>$args.act_log.type.sym</TD>");
}
document.write("<TD CLASS=detailro ALIGN=left
VALIGN=top>");
document.write(unescape('<PDM_FMT JUSTIFY=LINE
ESC_STYLE=JS2>$args.act_log.description</PDM_FMT>'));
document.writeln("</td>");
</SCRIPT>
</tr>
</PDM_LIST>
Replaced by
<PDM_LIST
SOURCE=args.act_log>
<tr>
<td
CLASS=detailro ALIGN=left VALIGN=top>
<PDM_IF "$args.act_log.type" == "INIT" || "$args.act_log.type"
== "LOG" || "$args.act_log.type" == "CL" || "$args.act_log.type" ==
"RE" >
<PDM_FMT
WIDTH=20>$args.act_log.analyst.combo_name</PDM_FMT>
</TD>
<TD
CLASS=detailro ALIGN=left VALIGN=top>
<script>
date_to_string('$args.act_log.time_stamp_INT_DATE',
1);
</script>
</TD>
<SCRIPT>
if (("$args.act_log.type.code" == "KTSOLN" ||
"$args.act_log.type.code" == "KTREJECT") &&
"$args.act_log.session" != "")
{
var alghtml = "<TD NOWRAP VALIGN=TOP
class=detailro>";
alghtml += "<A TITLE='Click to display
Knowledge document ${$args.act_log.session:}'
HREF=\"javascript:popup_window('','SHOW_DETAIL', 0, 0,
'directories=no,location=no,menubar=no,status=no,topsplash=no,menubar=no','PERSID=KD:$args.act_log.session',
'HTMPL=kt_document_view.htmpl', 'opener=simple', 'open_mode=2',
'reload=1', 'SOLUTION_OF=" + escape('$args.persistent_id') + "',
'disable_solution_survey=true', 'TICKET_FACTORY=cr',
'SOLUTION_OF_ID=$args.id')\">\n";
alghtml +=
"$args.act_log.type.sym</A></TD>\n";
document.writeln(alghtml);
}
else
{
document.writeln("<TD CLASS=detailro
ALIGN=left VALIGN=top>$args.act_log.type.sym</TD>");
}
document.write("<TD CLASS=detailro ALIGN=left
VALIGN=top>");
document.write(unescape('<PDM_FMT JUSTIFY=LINE
ESC_STYLE=JS2>$args.act_log.description</PDM_FMT>'));
document.writeln("</td>");
</SCRIPT>
</tr>
</PDM_IF>
</PDM_LIST>
Original
New