This commit is contained in:
2024-10-14 00:08:40 +02:00
parent dbfba56f66
commit 1462d52e13
4572 changed files with 2658864 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
# --
# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
[% RenderBlockStart("ContentLargeCustomerIDListNavBar") %]
<span class="Pagination">
[% Data.SiteNavBar %]
</span>
[% RenderBlockEnd("ContentLargeCustomerIDListNavBar") %]
[% RenderBlockStart("ContentLargeCustomerIDAdd") %]
<h2><a class="CallForAction" href="[% Env("Baselink") %]Action=AdminCustomerUserCustomer;Subaction=CustomerUser;ID=[% Data.CustomerUserID | uri %]"><span><i class="fa fa-plus-square"></i> [% Translate("Change Customer Relations") | html %]</span></a></h2>
[% RenderBlockEnd("ContentLargeCustomerIDAdd") %]
<table class="DataTable">
<thead>
<tr>
<th>[% Translate("Customer ID") | html %]</th>
<th>[% Translate("Name") | html %]</th>
<th>[% Translate("Open") | html %]</th>
<th>[% Translate("Closed") | html %]</th>
[% IF Data.EditCustomerIDPermission %]
<th class="Center">[% Translate("Edit") | html %]</th>
[% END %]
</tr>
</thead>
<tbody>
[% RenderBlockStart("ContentLargeCustomerIDListRow") %]
<tr>
<td>
<a href="[% Env("Baselink") %]Action=AgentCustomerInformationCenter;CustomerID=[% Data.CustomerID | uri %]" class="MasterActionLink">
[% Data.CustomerID | html %]
</a>
</td>
<td>
[% Data.CustomerCompanyName | html %]
</td>
[% RenderBlockStart("ContentLargeCustomerIDListRowCustomerIDTicketsOpen") %]
<td>
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;StateType=Open;CustomerID=[% Data.CustomerIDSQL | uri %]" title="[% Translate("%s open ticket(s) of %s", Data.Count, Data.CustomerID) | html %]" class="AsBlock">
[% Data.Count | html %]
</a>
</td>
[% RenderBlockEnd("ContentLargeCustomerIDListRowCustomerIDTicketsOpen") %]
[% RenderBlockStart("ContentLargeCustomerIDListRowCustomerIDTicketsClosed") %]
<td>
<a href="[% Env("Baselink") %]Action=AgentTicketSearch;Subaction=Search;StateType=Closed;CustomerID=[% Data.CustomerIDSQL | uri %]" title="[% Translate("%s closed ticket(s) of %s", Data.Count, Data.CustomerID) | html %]" class="AsBlock">
[% Data.Count | html %]
</a>
</td>
[% RenderBlockEnd("ContentLargeCustomerIDListRowCustomerIDTicketsClosed") %]
<td class="Center">
[% IF Data.EditCustomerIDPermission %]
<a href="[% Env("Baselink") %]Action=AdminCustomerCompany;Subaction=Change;CustomerID=[% Data.CustomerID | uri %];Nav=Agent" title="[% Translate("Edit customer ID") | html %]">
<i class="fa fa-pencil-square-o"></i>
</a>
[% END %]
</td>
</tr>
[% RenderBlockEnd("ContentLargeCustomerIDListRow") %]
[% RenderBlockStart("ContentLargeCustomerIDListNone") %]
<tr>
<td>
[% Translate("none") | html %]
</td>
</tr>
[% RenderBlockEnd("ContentLargeCustomerIDListNone") %]
</tbody>
</table>