This commit was generated by cvs2svn to compensate for changes in r11022,
[freeside.git] / fs_selfservice / FS-SelfService / cgi / tktview.html
1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header', "View ticket #$ticket_id") %>
3
4 <%=
5 if($error) {
6     $OUT .= qq! <div style="font-weight: bold; color: red; font-size: 110%">Error: $error</div> !;
7 }
8 elsif(@transactions) {
9     $OUT .= qq! <TABLE border="1">!;
10     foreach my $txn ( @transactions ) {
11         next if $txn->{content} eq 'This transaction appears to have no content';
12         $OUT .= "<TR><TD><B>$txn->{created} &nbsp; $txn->{description}</B>";
13         $OUT .= "<PRE>$txn->{content}</PRE></TD></TR>";
14     }
15     $OUT .= "</TABLE>";
16 }
17 else {
18     $OUT .= "No transactions on this ticket";
19 }
20 %>
21 <BR><BR><BR>
22 <FORM ACTION="<%=$selfurl%>" METHOD=POST>
23     <input type="hidden" name="session" value="<%=$session_id%>">
24     <input type="hidden" name="ticket_id" value="<%=$ticket_id%>">
25     <input type="hidden" name="action" value="tktview">
26     Add reply to ticket:
27     <BR><textarea name="reply" cols="60" rows="10"></textarea>
28     <BR><input type="submit" value="Reply">
29 </form> 
30
31 <%= include('footer') %>