docker-GLPI/web-builder/glpi_ticket.class.php.patch

28 lines
1.1 KiB
Diff

--- ticket.class.php.orig 2022-04-12 12:24:25.634142162 +0200
+++ ticket.class.php 2022-04-12 12:21:31.000000000 +0200
@@ -3740,6 +3740,7 @@
Plugin::doHook("pre_item_form", ['item' => $this, 'options' => &$options]);
+ echo "<tr><th colspan=2 align=center><p style='color:#ff0000;font-size:300%;'>".__('Support Informatique')."</p></th>";
echo "<tr><th>".__('Describe the incident or request')."</th><th>";
if (Session::isMultiEntitiesMode()) {
echo "(".Dropdown::getDropdownName("glpi_entities", $_SESSION["glpiactive_entity"]).")";
@@ -3789,7 +3790,7 @@
}
}
- if (empty($delegating)
+/** if (empty($delegating)
&& NotificationTargetTicket::isAuthorMailingActivatedForHelpdesk()) {
echo "<tr class='tab_bg_1'>";
echo "<td>".__('Inform me about the actions taken')."</td>";
@@ -3804,6 +3805,7 @@
echo "</td></tr>";
}
+*/
if (($_SESSION["glpiactiveprofile"]["helpdesk_hardware"] != 0)
&& (count($_SESSION["glpiactiveprofile"]["helpdesk_item_type"]))) {
if (!$tt->isHiddenField('items_id')) {