X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FApprovals%2FElements%2FApprove;h=55e40ad4507b38a083d32c53c75b573eaad3a21a;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=f651139fab20861dc092fc6ed16961bae244cd1c;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Approvals/Elements/Approve b/rt/share/html/Approvals/Elements/Approve index f651139fa..55e40ad45 100755 --- a/rt/share/html/Approvals/Elements/Approve +++ b/rt/share/html/Approvals/Elements/Approve @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -67,17 +67,29 @@
+% if ( $inactive && $status eq 'resolved' ) { + + +% } else { +% }
+% if ( $inactive && $status ne 'resolved' ) { + + +% } else { +% }
+% unless ( $inactive ) {
+% }
@@ -92,3 +104,7 @@ $ShowCustomFields => 1 $ShowHistory => 1 $ticket => undef +<%INIT> +my $status = $ticket->Status; +my $inactive = $ticket->QueueObj->Lifecycle->IsInactive( $status ); +