%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= include('header', "View ticket #$ticket_id") %>
<%=
if($error) {
    $OUT .= qq! 
Error: $error
 !;
}
elsif(@transactions) {
    $OUT .= qq! !;
    foreach my $txn ( @transactions ) {
	next if $txn->{content} eq 'This transaction appears to have no content';
	$OUT .= "| $txn->{created}   $txn->{description}";
	$OUT .= " $txn->{content} | 
";
    }
    $OUT .= "
";
}
else {
    $OUT .= "No transactions on this ticket";
}
%>
 
<%= include('footer') %>