RT 3.8.17
[freeside.git] / rt / share / html / Ticket / Elements / Tabs
index d88a2ad..287b345 100755 (executable)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -142,6 +142,14 @@ if ($Ticket) {
             title => loc('Links'),
             path  => "Ticket/ModifyLinks.html?id=" . $id,
         },
+        _Ea => {
+            title => loc('Checklist'),
+            path  => "Ticket/Checklist.html?id=" . $id,
+        },
+        _Eb=> {
+            title => loc('Customers'),
+            path  => "Ticket/ModifyCustomers.html?id=" . $id,
+        },
         _X => {
             title => loc('Jumbo'),
             path  => "Ticket/ModifyAll.html?id=" . $id,
@@ -188,7 +196,9 @@ if ($Ticket) {
     if ( $can{'ModifyTicket'} ) {
         if ( $Ticket->Status ne 'resolved' ) {
             $actions->{'G'} = {
-                path =>
+                path => 
+                    ($Ticket->MissingRequiredFields) ? 
+                    "Ticket/Modify.html?Status=resolved&id=$id" :
                     "Ticket/Update.html?Action="
                     . RT->Config->Get('ResolveDefaultUpdateType', $session{'CurrentUser'})
                     . "&DefaultStatus=resolved&id="
@@ -326,6 +336,11 @@ if ($has_query) {
         title => loc('Graph'),
     };
 
+    $tabs->{"l"} = {
+        path  => "Prefs/SavedSearches.html",
+        title => 'Saved Searches',
+    };
+
 }
 
 foreach my $searchtab ( keys %{$searchtabs} ) {