diff options
author | cvs2git <cvs2git> | 2004-12-02 10:18:36 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2004-12-02 10:18:36 +0000 |
commit | d8503dba9fa96923fb725dfc7f74042cec0ebfad (patch) | |
tree | e6acbc9f632491cb9c6a523c896ccc5ed38a6a83 /rt/html/Ticket/ModifyCustomers.html | |
parent | c582e92888b4a5553e1b4e5214cf35217e4a0cf0 (diff) | |
parent | 2e01e767e3ec53eca7193e4498a449d9d92b4f89 (diff) |
This commit was manufactured by cvs2svn to create tag 'BEFORE_RT_3_2_2'.BEFORE_RT_3_2_2
Diffstat (limited to 'rt/html/Ticket/ModifyCustomers.html')
-rw-r--r-- | rt/html/Ticket/ModifyCustomers.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/rt/html/Ticket/ModifyCustomers.html b/rt/html/Ticket/ModifyCustomers.html new file mode 100644 index 000000000..72d103b23 --- /dev/null +++ b/rt/html/Ticket/ModifyCustomers.html @@ -0,0 +1,49 @@ +%# Copyright (c) 2004 Ivan Kohler <ivan-rt@420.am> +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +<& /Elements/Header, Title => loc("Customers for ticket #[_1]", $Ticket->Id) &> +<& /Ticket/Elements/Tabs, + Ticket => $Ticket, + current_tab => "Ticket/ModifyCustomers.html?id=".$Ticket->Id, + Title => loc("Customers for ticket #[_1]", $Ticket->Id) &> + +<& /Elements/ListActions, actions => \@results &> + +<form action="ModifyCustomers.html" method="post"> +<input type="hidden" name="id" value="<%$Ticket->id%>"> + +<& /Elements/TitleBoxStart, title => loc('Edit Customer Links'), color => "#7f007b"&> +<& Elements/EditCustomers, Ticket => $Ticket, CustomerString => $CustomerString, ServiceString => $ServiceString &> +<& /Elements/TitleBoxEnd &> +<& /Elements/Submit, color => "#7f007b", Label => loc('Save Changes') &> +</form> + + +<%INIT> + +my @results = (); +my $Ticket = LoadTicket($id); + +# if we're trying to search for customers/services and nothing else +unless ( $OnlySearchForCustomers || $OnlySearchForServices) { + @results = ProcessTicketCustomers( TicketObj => $Ticket, ARGSRef => \%ARGS); +} + +</%INIT> + + +<%ARGS> +$OnlySearchForCustomers => undef +$OnlySearchForServices => undef +$CustomerString => undef +$ServiceString => undef +$id => undef +</%ARGS> |