├── moreticket.png ├── locales ├── cs_CZ.mo ├── de_DE.mo ├── en_GB.mo ├── es_AR.mo ├── es_EC.mo ├── es_ES.mo ├── fi_FI.mo ├── fr_CA.mo ├── fr_FR.mo ├── it_IT.mo ├── ja_JP.mo ├── pl_PL.mo ├── pt_BR.mo ├── pt_PT.mo ├── ru_RU.mo ├── fr_CA.po ├── es_ES.po ├── it_IT.po ├── ja_JP.po ├── pt_PT.po ├── en_GB.po ├── fi_FI.po ├── ru_RU.po ├── cs_CZ.po ├── glpi.pot ├── es_AR.po └── de_DE.po ├── public ├── css │ ├── hide_task_duration.css │ └── moreticket.css └── scripts │ ├── moreticket.js │ ├── moreticket_urgency.js │ ├── moreticket_load_scripts.js.php │ ├── moreticket_urgency.js.php │ ├── moreticket.js.php │ └── config.js ├── sql ├── update-1.8.1.sql ├── update-1.1.2.sql ├── update-1.2.5.sql ├── update-1.3.4.sql ├── update-1.5.1.sql ├── update-1.6.2.sql ├── update-1.1.3.sql ├── update-1.2.2.sql ├── update-1.3.2.sql ├── update-1.2.3.sql ├── update-1.7.0.sql ├── update-1.2.0.sql ├── update-1.7.5.sql ├── update-1.2.4.sql ├── update-1.1.1.sql ├── update-1.6.3.sql ├── empty-1.1.0.sql ├── empty-1.0.0.sql ├── empty-1.1.2.sql ├── empty-1.1.3.sql ├── empty-1.1.1.sql ├── empty-1.2.0.sql ├── empty-1.2.2.sql ├── empty-1.2.3.sql ├── empty-1.4.0.sql ├── empty-1.2.4.sql ├── empty-1.5.1.sql ├── empty-1.3.2.sql ├── empty-1.2.5.sql ├── empty-1.6.2.sql ├── empty-1.3.4.sql ├── empty-1.6.3.sql └── empty-1.7.0.sql ├── README.md ├── index.php ├── ajax ├── index.php ├── ticket.php ├── updatestatus.php └── loadscripts.php ├── front ├── index.php ├── waitingtype.php ├── waitingtype.form.php ├── closeticket.form.php └── config.form.php └── inc ├── index.php ├── tickettask.class.php ├── ticketfollowup.class.php ├── waitingtype.class.php ├── notificationticket.class.php └── crontask.class.php /moreticket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/moreticket.png -------------------------------------------------------------------------------- /locales/cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/cs_CZ.mo -------------------------------------------------------------------------------- /locales/de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/de_DE.mo -------------------------------------------------------------------------------- /locales/en_GB.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/en_GB.mo -------------------------------------------------------------------------------- /locales/es_AR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/es_AR.mo -------------------------------------------------------------------------------- /locales/es_EC.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/es_EC.mo -------------------------------------------------------------------------------- /locales/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/es_ES.mo -------------------------------------------------------------------------------- /locales/fi_FI.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/fi_FI.mo -------------------------------------------------------------------------------- /locales/fr_CA.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/fr_CA.mo -------------------------------------------------------------------------------- /locales/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/fr_FR.mo -------------------------------------------------------------------------------- /locales/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/it_IT.mo -------------------------------------------------------------------------------- /locales/ja_JP.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/ja_JP.mo -------------------------------------------------------------------------------- /locales/pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/pl_PL.mo -------------------------------------------------------------------------------- /locales/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/pt_BR.mo -------------------------------------------------------------------------------- /locales/pt_PT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/pt_PT.mo -------------------------------------------------------------------------------- /locales/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/locales/ru_RU.mo -------------------------------------------------------------------------------- /public/css/hide_task_duration.css: -------------------------------------------------------------------------------- 1 | .actiontime { 2 | display: none !important; 3 | } 4 | -------------------------------------------------------------------------------- /sql/update-1.8.1.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM `glpi_crontasks` WHERE `itemtype` LIKE 'PluginMoreticket%'; 2 | -------------------------------------------------------------------------------- /sql/update-1.1.2.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_waitingtypes 2 | DROP COLUMN is_helpdeskvisible; 3 | -------------------------------------------------------------------------------- /public/scripts/moreticket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/public/scripts/moreticket.js -------------------------------------------------------------------------------- /sql/update-1.2.5.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_waitingtickets 2 | ADD `status` int(11) NOT NULL DEFAULT '2'; -------------------------------------------------------------------------------- /sql/update-1.3.4.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs ADD `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /sql/update-1.5.1.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs ADD `use_question` TINYINT(1) NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /sql/update-1.6.2.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs ADD `add_save_button` TINYINT(1) NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /public/scripts/moreticket_urgency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InfotelGLPI/moreticket/master/public/scripts/moreticket_urgency.js -------------------------------------------------------------------------------- /sql/update-1.1.3.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_closetickets 2 | ADD `documents_id` INT(11) NOT NULL DEFAULT '0'; 3 | -------------------------------------------------------------------------------- /sql/update-1.2.2.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs 2 | ADD `close_followup` TINYINT(1) NOT NULL DEFAULT '0'; 3 | -------------------------------------------------------------------------------- /sql/update-1.3.2.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs ADD `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0'; -------------------------------------------------------------------------------- /sql/update-1.2.3.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs 2 | ADD `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0'; 3 | -------------------------------------------------------------------------------- /sql/update-1.7.0.sql: -------------------------------------------------------------------------------- 1 | -- ALTER TABLE `glpi_plugin_moreticket_notificationtickets` DROP FOREIGN KEY glpi_plugin_moreticket_notificationtickets_ibfk_1; 2 | -- ALTER TABLE `glpi_plugin_moreticket_urgencytickets` DROP FOREIGN KEY glpi_plugin_moreticket_urgencytickets_ibfk_1; 3 | -------------------------------------------------------------------------------- /sql/update-1.2.0.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs 2 | ADD `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0'; 3 | ALTER TABLE glpi_plugin_moreticket_configs 4 | ADD `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0'; 5 | ALTER TABLE glpi_plugin_moreticket_configs 6 | ADD `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0'; 7 | -------------------------------------------------------------------------------- /sql/update-1.7.5.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `glpi_plugin_moreticket_configs` ADD `update_after_tech_add_task` tinyint NOT NULL DEFAULT '0'; 2 | ALTER TABLE `glpi_plugin_moreticket_configs` ADD `update_after_tech_add_followup` tinyint NOT NULL DEFAULT '0'; 3 | ALTER TABLE `glpi_plugin_moreticket_configs` ADD `waiting_by_default_followup` tinyint NOT NULL DEFAULT '0'; 4 | ALTER TABLE `glpi_plugin_moreticket_configs` ADD `waiting_by_default_task` tinyint NOT NULL DEFAULT '0'; 5 | -------------------------------------------------------------------------------- /sql/update-1.2.4.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs 2 | ADD `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0'; 3 | ALTER TABLE glpi_plugin_moreticket_configs 4 | ADD `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL; 5 | 6 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 7 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 8 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 9 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 10 | PRIMARY KEY (`id`), -- index 11 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 12 | ) 13 | ENGINE = MyISAM 14 | DEFAULT CHARSET = utf8 15 | COLLATE = utf8_unicode_ci; 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # moreticket 2 | Plugin moreticket for GLPI 3 | 4 | Ce plugin est sur Transifex - Aidez-nous à le traduire : 5 | https://www.transifex.com/infotelGLPI/GLPI_moreticket/ 6 | 7 | This plugin is on Transifex - Help us to translate : 8 | https://www.transifex.com/infotelGLPI/GLPI_moreticket/ 9 | 10 | Ce plugin permet d'ajouter des nouvelles options sur un ticket GLPI : 11 | 12 | * A la création d'un ticket, lors de la sélection du statut "Résolu" ou "Clos", le ticket vous proposera de remplir la solution du ticket. 13 | 14 | * A la création et à la modification d'un ticket, lors de la sélection du statut "En attente", vous pourrez définir des types d'attente, la raison de la mise en attente ainsi qu'une date de report 15 | 16 | * Utiliser le champ 'Durée' dans l'interface d'ajout de solution. 17 | 18 | * Enfin une nouvelle zone sera disponible pour ajouter des informations suite à la clôture du ticket. 19 | -------------------------------------------------------------------------------- /sql/update-1.1.1.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE glpi_plugin_moreticket_configs 2 | ADD `solution_status` TEXT COLLATE utf8_unicode_ci; 3 | ALTER TABLE glpi_plugin_moreticket_configs 4 | ADD `close_informations` TINYINT NOT NULL DEFAULT '0'; 5 | 6 | -- -------------------------------------------------------- 7 | -- 8 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 9 | -- informations pour un ticket 'clos' 10 | -- 11 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 12 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 13 | `id` INT(11) NOT NULL AUTO_INCREMENT, 14 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 15 | `date` VARCHAR(255) 16 | COLLATE utf8_unicode_ci DEFAULT NULL, 17 | `comment` TEXT COLLATE utf8_unicode_ci, 18 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 19 | PRIMARY KEY (`id`), 20 | KEY (`tickets_id`) 21 | ) 22 | ENGINE = MyISAM 23 | DEFAULT CHARSET = utf8 24 | COLLATE = utf8_unicode_ci; -------------------------------------------------------------------------------- /sql/update-1.6.3.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `glpi_plugin_moreticket_notificationtickets` ( 2 | `id` int unsigned NOT NULL AUTO_INCREMENT, -- id ... 3 | `tickets_id` int unsigned NOT NULL, -- id du ticket GLPI 4 | `users_id_lastupdater` int unsigned NOT NULL, 5 | PRIMARY KEY (`id`), -- index 6 | KEY (`tickets_id`) 7 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 8 | 9 | 10 | ALTER TABLE glpi_plugin_moreticket_configs ADD `day_sending` int unsigned NOT NULL DEFAULT '0'; 11 | ALTER TABLE glpi_plugin_moreticket_configs ADD `day_closing` int unsigned NOT NULL DEFAULT '0'; 12 | ALTER TABLE glpi_plugin_moreticket_configs ADD `update_after_document` int unsigned NOT NULL DEFAULT '0'; 13 | ALTER TABLE glpi_plugin_moreticket_configs ADD `update_after_approval` int unsigned NOT NULL DEFAULT '0'; 14 | ALTER TABLE glpi_plugin_moreticket_configs ADD `followup_text` TEXT; 15 | ALTER TABLE glpi_plugin_moreticket_configs ADD `closing_with_problem` int unsigned NOT NULL DEFAULT '1'; 16 | ALTER TABLE glpi_plugin_moreticket_configs ADD `add_followup_stop_waiting` int unsigned NOT NULL DEFAULT '0'; 17 | 18 | -------------------------------------------------------------------------------- /public/scripts/moreticket_load_scripts.js.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | var root_moreticket_doc = ""; 9 | (function ($) { 10 | $.fn.moreticket_load_scripts = function () { 11 | 12 | init(); 13 | 14 | // Start the plugin 15 | function init() { 16 | 17 | // Send data 18 | $.ajax({ 19 | url: root_moreticket_doc + '/ajax/loadscripts.php', 20 | type: "POST", 21 | dataType: "html", 22 | data: 'action=load', 23 | success: function (response, opts) { 24 | var scripts, scriptsFinder = /]*>([\s\S]+?)<\/script>/gi; 25 | while (scripts = scriptsFinder.exec(response)) { 26 | eval(scripts[1]); 27 | } 28 | } 29 | }); 30 | } 31 | 32 | return this; 33 | }; 34 | }(jQuery)); 35 | 36 | $(document).ready(function() { 37 | setTimeout(function() { 38 | $(document).moreticket_load_scripts(); 39 | }, 1000); 40 | }); 41 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /ajax/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /front/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /inc/index.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | -------------------------------------------------------------------------------- /front/waitingtype.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | 32 | $dropdown = new PluginMoreticketWaitingType(); 33 | include(GLPI_ROOT . "/front/dropdown.common.php"); 34 | -------------------------------------------------------------------------------- /front/waitingtype.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | 32 | $dropdown = new PluginMoreticketWaitingType(); 33 | include(GLPI_ROOT . "/front/dropdown.common.form.php"); 34 | -------------------------------------------------------------------------------- /public/css/moreticket.css: -------------------------------------------------------------------------------- 1 | /* 2 | * @version $Id: HEADER 15930 2011-10-30 15:47:55Z tsmr $ 3 | ------------------------------------------------------------------------- 4 | moreticket plugin for GLPI 5 | Copyright (C) 2013-2016 by the moreticket Development Team. 6 | 7 | https://github.com/InfotelGLPI/moreticket 8 | ------------------------------------------------------------------------- 9 | 10 | LICENSE 11 | 12 | This file is part of moreticket. 13 | 14 | moreticket is free software; you can redistribute it and/or modify 15 | it under the terms of the GNU General Public License as published by 16 | the Free Software Foundation; either version 2 of the License, or 17 | (at your option) any later version. 18 | 19 | moreticket is distributed in the hope that it will be useful, 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 | GNU General Public License for more details. 23 | 24 | You should have received a copy of the GNU General Public License 25 | along with moreticket. If not, see . 26 | -------------------------------------------------------------------------- 27 | */ 28 | 29 | .moreticket_close_ticket { 30 | -moz-border-radius: 3px; 31 | -webkit-border-radius: 3px; 32 | border-radius: 3px; 33 | border: solid 1px #CCCCCC; 34 | } 35 | 36 | .moreticket_waiting_ticket { 37 | -moz-border-radius: 3px; 38 | -webkit-border-radius: 3px; 39 | border-radius: 3px; 40 | border: solid 1px #CCCCCC; 41 | margin-left: auto; 42 | margin-right: auto; 43 | } 44 | -------------------------------------------------------------------------------- /public/scripts/moreticket_urgency.js.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../../inc/includes.php'); 31 | 32 | //change mimetype 33 | header("Content-type: application/javascript"); 34 | 35 | //not executed in self-service interface & right verification 36 | 37 | $config = new PluginMoreticketConfig(); 38 | $use_urgency = $config->useUrgency(); 39 | $urgency_ids = $config->getUrgency_ids(); 40 | 41 | $params = array('root_doc' => PLUGIN_MORETICKET_WEBDIR, 42 | 'use_urgency' => $use_urgency, 43 | 'urgency_ids' => $urgency_ids); 44 | 45 | echo "moreticket_urgency(" . json_encode($params) . ");"; 46 | ?> 47 | -------------------------------------------------------------------------------- /front/closeticket.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | 32 | $closeTicket = new PluginMoreticketCloseTicket(); 33 | 34 | if (isset($_POST["add"])) { 35 | $closeTicket->check(-1, UPDATE, $_POST); 36 | 37 | $doc = new Document(); 38 | $doc->check(-1, CREATE, $_POST); 39 | $DocId = $doc->add($_POST); 40 | 41 | $test = $closeTicket->add(['requesters_id' => $_POST['requesters_id'], 42 | 'tickets_id' => $_POST['tickets_id'], 43 | 'date' => $_POST['date'], 44 | 'comment' => $_POST['comment'], 45 | 'documents_id' => $DocId]); 46 | Html::back(); 47 | } 48 | -------------------------------------------------------------------------------- /public/scripts/moreticket.js.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../../inc/includes.php'); 31 | 32 | //change mimetype 33 | header("Content-type: application/javascript"); 34 | 35 | //not executed in self-service interface & right verification 36 | if (Session::getCurrentInterface() == "central") { 37 | 38 | $config = new PluginMoreticketConfig(); 39 | $use_waiting = $config->useWaiting(); 40 | $use_solution = $config->useSolution(); 41 | $use_question = $config->useQuestion(); 42 | $solution_status = $config->solutionStatus(); 43 | 44 | $params = ['root_doc' => PLUGIN_MORETICKET_WEBDIR, 45 | 'waiting' => CommonITILObject::WAITING, 46 | 'closed' => CommonITILObject::CLOSED, 47 | 'use_waiting' => $use_waiting, 48 | 'use_solution' => $use_solution, 49 | 'use_question' => $use_question, 50 | 'solution_status' => $solution_status]; 51 | 52 | echo "moreticket(" . json_encode($params) . ");"; 53 | } 54 | -------------------------------------------------------------------------------- /inc/tickettask.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | 35 | /** 36 | * Class PluginMoreticketTicketTask 37 | */ 38 | class PluginMoreticketTicketTask extends CommonITILTask 39 | { 40 | 41 | public static $rightname = "plugin_moreticket"; 42 | 43 | /** 44 | * functions mandatory 45 | * getTypeName(), canCreate(), canView() 46 | * 47 | * @param int $nb 48 | * 49 | * @return string|translated 50 | */ 51 | public static function getTypeName($nb = 0) 52 | { 53 | 54 | return _n('Ticket', 'Tickets', $nb); 55 | } 56 | 57 | /** 58 | * @param TicketTask $tickettask 59 | * 60 | * @return bool 61 | */ 62 | public static function beforeAdd(TicketTask $tickettask) 63 | { 64 | 65 | if (!is_array($tickettask->input) || !count($tickettask->input)) { 66 | // Already cancel by another plugin 67 | return false; 68 | } 69 | 70 | $config = new PluginMoreticketConfig(); 71 | 72 | if (isset($tickettask->input['pending']) 73 | && $tickettask->input['pending'] 74 | && $config->useWaiting() == true) { 75 | PluginMoreticketWaitingTicket::addWaitingTicket($tickettask); 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /inc/ticketfollowup.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | 35 | /** 36 | * Class PluginMoreticketTicketFollowup 37 | */ 38 | class PluginMoreticketTicketFollowup extends CommonDBTM 39 | { 40 | 41 | public static $rightname = "plugin_moreticket"; 42 | 43 | /** 44 | * functions mandatory 45 | * getTypeName(), canCreate(), canView() 46 | * 47 | * @param int $nb 48 | * 49 | * @return string|translated 50 | */ 51 | public static function getTypeName($nb = 0) 52 | { 53 | 54 | return _n('Ticket', 'Tickets', $nb); 55 | } 56 | 57 | /** 58 | * @param $ticketfollowup 59 | * 60 | * @return bool 61 | */ 62 | public static function beforeAdd($ticketfollowup) 63 | { 64 | 65 | if (!is_array($ticketfollowup->input) || !count($ticketfollowup->input)) { 66 | // Already cancel by another plugin 67 | return false; 68 | } 69 | 70 | $config = new PluginMoreticketConfig(); 71 | 72 | if (isset($ticketfollowup->input['pending']) 73 | && $ticketfollowup->input['pending'] 74 | && $config->useWaiting() == true) { 75 | PluginMoreticketWaitingTicket::addWaitingTicket($ticketfollowup); 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /public/scripts/config.js: -------------------------------------------------------------------------------- 1 | function hide_show_waiting(val) { 2 | var display = (val == 0) ? 'none' : ''; 3 | console.log("🧩 hide_show_waiting > display =", display); 4 | 5 | const elem = document.getElementById('waiting_settings'); 6 | if (elem) { 7 | elem.style.display = display; 8 | } else { 9 | console.warn("⚠️ Element #waiting_settings non trouvé !"); 10 | } 11 | } 12 | 13 | function hide_show_solution(val) { 14 | var display = (val == 0) ? 'none' : ''; 15 | // const solutionElem = document.getElementById('solution_settings'); 16 | // if (solutionElem) solutionElem.style.display = display; 17 | const mandatoryElem = document.getElementById('mandatory_solution'); 18 | if (mandatoryElem){ 19 | mandatoryElem.style.display = display; 20 | if(val == 0){ 21 | document.querySelector("input[type='checkbox'][name='is_mandatory_solution']").checked = false 22 | } 23 | } 24 | 25 | } 26 | 27 | function hide_show_urgency(val) { 28 | var display = (val == 0) ? 'none' : ''; 29 | const urgencyElem = document.getElementById('urgency_settings'); 30 | if (urgencyElem) urgencyElem.style.display = display; 31 | } 32 | 33 | document.addEventListener('DOMContentLoaded', function () { 34 | 35 | const useWaitingCheckbox = document.querySelector("input[type='checkbox'][name='use_waiting']"); 36 | const useDurationSolution = document.querySelector("input[type='checkbox'][name='use_duration_solution']"); 37 | const urgencyCheckbox = document.querySelector("input[type='checkbox'][name='urgency_justification']"); 38 | 39 | // Fonction pour gérer l'affichage avec changement dynamique 40 | function updateWaiting() { 41 | hide_show_waiting(useWaitingCheckbox.checked ? 1 : 0); 42 | } 43 | 44 | function updateSolution() { 45 | hide_show_solution(useDurationSolution.checked ? 1 : 0); 46 | } 47 | 48 | function updateUrgency() { 49 | hide_show_urgency(urgencyCheckbox.checked ? 1 : 0); 50 | } 51 | 52 | if (useWaitingCheckbox) updateWaiting(); 53 | if (useDurationSolution) updateSolution(); 54 | if (urgencyCheckbox) updateUrgency(); 55 | 56 | if (useWaitingCheckbox) { 57 | useWaitingCheckbox.addEventListener('change', updateWaiting); 58 | } 59 | if (useDurationSolution) { 60 | useDurationSolution.addEventListener('change', updateSolution); 61 | } 62 | if (urgencyCheckbox) { 63 | urgencyCheckbox.addEventListener('change', updateUrgency); 64 | } 65 | }); -------------------------------------------------------------------------------- /front/config.form.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | Session::checkLoginUser(); 32 | 33 | if (Plugin::isPluginActive("moreticket")) { 34 | $config = new PluginMoreticketConfig(); 35 | Session::checkRight('config', UPDATE); 36 | 37 | if (isset($_POST["update"])) { 38 | if (isset($_POST['solution_status'])) { 39 | $_POST['solution_status'] = json_encode($_POST['solution_status']); 40 | } else { 41 | $_POST['solution_status'] = ""; 42 | } 43 | 44 | $dbu = new DbUtils(); 45 | if (isset($_POST['urgency_ids'])) { 46 | $_POST['urgency_ids'] = $dbu->exportArrayToDB($_POST['urgency_ids']); 47 | } else { 48 | $_POST['urgency_ids'] = $dbu->exportArrayToDB([]); 49 | } 50 | 51 | $config->update($_POST); 52 | //Update singelton 53 | PluginMoreticketConfig::getConfig(true); 54 | Html::redirect($_SERVER['HTTP_REFERER']); 55 | } else { 56 | Html::header(PluginMoreticketConfig::getTypeName(), '', "plugins", "moreticket"); 57 | $config->showConfigForm(); 58 | Html::footer(); 59 | } 60 | } else { 61 | Html::header(__('Setup'), '', "config", "plugin"); 62 | echo "
"; 63 | echo "" . __('Please activate the plugin', 'moreticket') . "
"; 64 | Html::footer(); 65 | } 66 | -------------------------------------------------------------------------------- /inc/waitingtype.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | /** 35 | * Class PluginMoreticketWaitingType 36 | */ 37 | class PluginMoreticketWaitingType extends CommonTreeDropdown 38 | { 39 | public $can_be_translated = true; 40 | public static $rightname = "dropdown"; 41 | 42 | /** 43 | * @param int $nb 44 | * 45 | * @return \translated 46 | */ 47 | public static function getTypeName($nb = 0) 48 | { 49 | 50 | return _n('Waiting type', 'Waiting types', $nb, 'moreticket'); 51 | } 52 | 53 | /** 54 | * @return array 55 | */ 56 | public function getAdditionalFields() 57 | { 58 | 59 | $tab = [['name' => $this->getForeignKeyField(), 60 | 'label' => __('As child of'), 61 | 'type' => 'parent', 62 | 'list' => false] 63 | ]; 64 | 65 | return $tab; 66 | } 67 | 68 | /** 69 | * Provides search options configuration. Do not rely directly 70 | * on this, @see CommonDBTM::searchOptions instead. 71 | * 72 | * @since 9.3 73 | * 74 | * This should be overloaded in Class 75 | * 76 | * @return array a *not indexed* array of search options 77 | * 78 | * @see https://glpi-developer-documentation.rtfd.io/en/master/devapi/search.html 79 | **/ 80 | public function rawSearchOptions() 81 | { 82 | 83 | $tab = parent::rawSearchOptions(); 84 | 85 | return $tab; 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /ajax/ticket.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | include('../../../inc/includes.php'); 31 | 32 | Html::header_nocache(); 33 | Session::checkLoginUser(); 34 | header("Content-Type: text/html; charset=UTF-8"); 35 | 36 | if (!isset($_POST['tickets_id']) || empty($_POST['tickets_id'])) { 37 | $_POST['tickets_id'] = 0; 38 | } 39 | 40 | if (isset($_POST['action'])) { 41 | switch ($_POST['action']) { 42 | case 'showForm': 43 | $config = new PluginMoreticketConfig(); 44 | 45 | // Ticket is waiting 46 | if ($config->useWaiting()) { 47 | $waiting_ticket = new PluginMoreticketWaitingTicket(); 48 | $waiting_ticket->showForm($_POST['tickets_id']); 49 | } 50 | 51 | // Ticket is closed 52 | if ($config->useSolution()) { 53 | if (isset($_POST['type']) && $_POST['type'] == 'add') { 54 | $close_ticket = new PluginMoreticketCloseTicket(); 55 | $close_ticket->showForm($_POST['tickets_id']); 56 | } 57 | } 58 | break; 59 | case 'showFormUrgency': 60 | $config = new PluginMoreticketConfig(); 61 | // Ticket is waiting 62 | if ($config->useUrgency()) { 63 | $urgency_ticket = new PluginMoreticketUrgencyTicket(); 64 | $urgency_ticket->showForm($_POST['tickets_id']); 65 | } 66 | break; 67 | 68 | // case 'showFormSolution': 69 | // $config = new PluginMoreticketConfig(); 70 | // 71 | // if ($config->useDurationSolution()) { 72 | // $solution = new PluginMoreticketSolution(); 73 | // $solution->showFormSolution($_POST['tickets_id']); 74 | // } 75 | // break; 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /ajax/updatestatus.php: -------------------------------------------------------------------------------- 1 | . 28 | -------------------------------------------------------------------------- 29 | */ 30 | 31 | include('../../../inc/includes.php'); 32 | 33 | Html::header_nocache(); 34 | Session::checkLoginUser(); 35 | header("Content-Type: text/html; charset=UTF-8"); 36 | 37 | global $CFG_GLPI; 38 | 39 | if (isset($_POST['action'])) { 40 | switch ($_POST['action']) { 41 | case "load": 42 | $config = new PluginMoreticketConfig(); 43 | $use_waiting = $config->useWaiting(); 44 | $use_solution = $config->useSolution(); 45 | $use_question = $config->useQuestion(); 46 | $use_urgency = $config->useUrgency(); 47 | $solution_status = $config->solutionStatus(); 48 | $urgency_ids = $config->getUrgency_ids(); 49 | $use_duration_solution = $config->useDurationSolution(); 50 | 51 | $params = ['root_doc' => $CFG_GLPI["root_doc"].PLUGIN_MORETICKET_WEBDIR, 52 | 'waiting' => CommonITILObject::WAITING, 53 | 'closed' => CommonITILObject::CLOSED, 54 | 'use_waiting' => $use_waiting, 55 | 'use_solution' => $use_solution, 56 | 'use_question' => $use_question, 57 | 'solution_status' => $solution_status, 58 | // 'glpilayout' => $_SESSION['glpilayout'], 59 | 'use_urgency' => $use_urgency, 60 | 'urgency_ids' => $urgency_ids, 61 | 'div_kb' => Session::haveRight('knowbase', UPDATE)]; 62 | 63 | echo ""; 85 | 86 | break; 87 | } 88 | } 89 | -------------------------------------------------------------------------------- /sql/empty-1.1.2.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | 7 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 8 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 9 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 10 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 11 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 12 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 13 | `date_report` DATETIME DEFAULT NULL, -- date de report 14 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 15 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 19 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 20 | ) 21 | ENGINE = MyISAM 22 | DEFAULT CHARSET = utf8 23 | COLLATE = utf8_unicode_ci; 24 | 25 | -- -------------------------------------------------------- 26 | -- 27 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 28 | -- Liste des types d'attente pour un ticket 'en attente' 29 | -- 30 | 31 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 32 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 33 | `id` INT(11) NOT NULL AUTO_INCREMENT, 34 | `name` VARCHAR(255) 35 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 36 | `comment` TEXT COLLATE utf8_unicode_ci, 37 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 38 | `completename` TEXT COLLATE utf8_unicode_ci, 39 | `level` INT(11) NOT NULL DEFAULT '0', 40 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 41 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 42 | PRIMARY KEY (`id`), 43 | KEY `name` (`name`), 44 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 45 | ) 46 | ENGINE = MyISAM 47 | DEFAULT CHARSET = utf8 48 | COLLATE = utf8_unicode_ci; 49 | -- -------------------------------------------------------- 50 | -- 51 | -- Structure de la table 'glpi_plugin_moreticket_configs' 52 | -- Plugin configuration 53 | -- 54 | 55 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 56 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 57 | `id` INT(11) NOT NULL AUTO_INCREMENT, 58 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 59 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 60 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 61 | `solution_status` TEXT COLLATE utf8_unicode_ci, 62 | PRIMARY KEY (`id`) 63 | ) 64 | ENGINE = MyISAM 65 | DEFAULT CHARSET = utf8 66 | COLLATE = utf8_unicode_ci; 67 | 68 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `solution_status`) 69 | VALUES (1, 1, 1, 0, '{"5":1}'); 70 | 71 | -- -------------------------------------------------------- 72 | -- 73 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 74 | -- informations pour un ticket 'clos' 75 | -- 76 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 77 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 78 | `id` INT(11) NOT NULL AUTO_INCREMENT, 79 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 80 | `date` VARCHAR(255) 81 | COLLATE utf8_unicode_ci DEFAULT NULL, 82 | `comment` TEXT COLLATE utf8_unicode_ci, 83 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 84 | PRIMARY KEY (`id`) 85 | ) 86 | ENGINE = MyISAM 87 | DEFAULT CHARSET = utf8 88 | COLLATE = utf8_unicode_ci; 89 | -------------------------------------------------------------------------------- /sql/empty-1.1.3.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | PRIMARY KEY (`id`), -- index 16 | KEY `date_suspension` (`date_suspension`), 17 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 18 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 19 | ) 20 | ENGINE = MyISAM 21 | DEFAULT CHARSET = utf8 22 | COLLATE = utf8_unicode_ci; 23 | 24 | -- -------------------------------------------------------- 25 | -- 26 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 27 | -- Liste des types d'attente pour un ticket 'en attente' 28 | -- 29 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 30 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 31 | `id` INT(11) NOT NULL AUTO_INCREMENT, 32 | `name` VARCHAR(255) 33 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 34 | `comment` TEXT COLLATE utf8_unicode_ci, 35 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 36 | `completename` TEXT COLLATE utf8_unicode_ci, 37 | `level` INT(11) NOT NULL DEFAULT '0', 38 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 39 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | PRIMARY KEY (`id`), 41 | KEY `name` (`name`), 42 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 43 | ) 44 | ENGINE = MyISAM 45 | DEFAULT CHARSET = utf8 46 | COLLATE = utf8_unicode_ci; 47 | 48 | -- -------------------------------------------------------- 49 | -- 50 | -- Structure de la table 'glpi_plugin_moreticket_configs' 51 | -- Plugin configuration 52 | -- 53 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 54 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 55 | `id` INT(11) NOT NULL AUTO_INCREMENT, 56 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 57 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 59 | `solution_status` TEXT COLLATE utf8_unicode_ci, 60 | PRIMARY KEY (`id`) 61 | ) 62 | ENGINE = MyISAM 63 | DEFAULT CHARSET = utf8 64 | COLLATE = utf8_unicode_ci; 65 | 66 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `solution_status`) 67 | VALUES (1, 1, 1, 0, '{"5":1}'); 68 | 69 | -- -------------------------------------------------------- 70 | -- 71 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 72 | -- informations pour un ticket 'clos' 73 | -- 74 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 75 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 76 | `id` INT(11) NOT NULL AUTO_INCREMENT, 77 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 78 | `date` VARCHAR(255) 79 | COLLATE utf8_unicode_ci DEFAULT NULL, 80 | `comment` TEXT COLLATE utf8_unicode_ci, 81 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 82 | `documents_id` INT(11) NOT NULL DEFAULT '0', 83 | PRIMARY KEY (`id`), 84 | KEY (`tickets_id`), 85 | KEY (`documents_id`), 86 | KEY (`requesters_id`) 87 | ) 88 | ENGINE = MyISAM 89 | DEFAULT CHARSET = utf8 90 | COLLATE = utf8_unicode_ci; 91 | -------------------------------------------------------------------------------- /sql/empty-1.1.1.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | 7 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 8 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 9 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 10 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 11 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 12 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 13 | `date_report` DATETIME DEFAULT NULL, -- date de report 14 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 15 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 19 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 20 | ) 21 | ENGINE = MyISAM 22 | DEFAULT CHARSET = utf8 23 | COLLATE = utf8_unicode_ci; 24 | 25 | -- -------------------------------------------------------- 26 | -- 27 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 28 | -- Liste des types d'attente pour un ticket 'en attente' 29 | -- 30 | 31 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 32 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 33 | `id` INT(11) NOT NULL AUTO_INCREMENT, 34 | `name` VARCHAR(255) 35 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 36 | `comment` TEXT COLLATE utf8_unicode_ci, 37 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 38 | `completename` TEXT COLLATE utf8_unicode_ci, 39 | `level` INT(11) NOT NULL DEFAULT '0', 40 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 41 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 42 | `is_helpdeskvisible` TINYINT(1) NOT NULL DEFAULT '1', 43 | PRIMARY KEY (`id`), 44 | KEY `name` (`name`), 45 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`), 46 | KEY `is_helpdeskvisible` (`is_helpdeskvisible`) 47 | ) 48 | ENGINE = MyISAM 49 | DEFAULT CHARSET = utf8 50 | COLLATE = utf8_unicode_ci; 51 | -- -------------------------------------------------------- 52 | -- 53 | -- Structure de la table 'glpi_plugin_moreticket_configs' 54 | -- Plugin configuration 55 | -- 56 | 57 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 58 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 59 | `id` INT(11) NOT NULL AUTO_INCREMENT, 60 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 61 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 62 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 63 | `solution_status` TEXT COLLATE utf8_unicode_ci, 64 | PRIMARY KEY (`id`) 65 | ) 66 | ENGINE = MyISAM 67 | DEFAULT CHARSET = utf8 68 | COLLATE = utf8_unicode_ci; 69 | 70 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `solution_status`) 71 | VALUES (1, 1, 1, 0, '{"5":1}'); 72 | 73 | -- -------------------------------------------------------- 74 | -- 75 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 76 | -- informations pour un ticket 'clos' 77 | -- 78 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 79 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 80 | `id` INT(11) NOT NULL AUTO_INCREMENT, 81 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 82 | `date` VARCHAR(255) 83 | COLLATE utf8_unicode_ci DEFAULT NULL, 84 | `comment` TEXT COLLATE utf8_unicode_ci, 85 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 86 | PRIMARY KEY (`id`) 87 | ) 88 | ENGINE = MyISAM 89 | DEFAULT CHARSET = utf8 90 | COLLATE = utf8_unicode_ci; 91 | -------------------------------------------------------------------------------- /sql/empty-1.2.0.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | PRIMARY KEY (`id`), -- index 16 | KEY `date_suspension` (`date_suspension`), 17 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 18 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 19 | ) 20 | ENGINE = MyISAM 21 | DEFAULT CHARSET = utf8 22 | COLLATE = utf8_unicode_ci; 23 | 24 | -- -------------------------------------------------------- 25 | -- 26 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 27 | -- Liste des types d'attente pour un ticket 'en attente' 28 | -- 29 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 30 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 31 | `id` INT(11) NOT NULL AUTO_INCREMENT, 32 | `name` VARCHAR(255) 33 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 34 | `comment` TEXT COLLATE utf8_unicode_ci, 35 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 36 | `completename` TEXT COLLATE utf8_unicode_ci, 37 | `level` INT(11) NOT NULL DEFAULT '0', 38 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 39 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | PRIMARY KEY (`id`), 41 | KEY `name` (`name`), 42 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 43 | ) 44 | ENGINE = MyISAM 45 | DEFAULT CHARSET = utf8 46 | COLLATE = utf8_unicode_ci; 47 | 48 | -- -------------------------------------------------------- 49 | -- 50 | -- Structure de la table 'glpi_plugin_moreticket_configs' 51 | -- Plugin configuration 52 | -- 53 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 54 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 55 | `id` INT(11) NOT NULL AUTO_INCREMENT, 56 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 57 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 59 | `solution_status` TEXT COLLATE utf8_unicode_ci, 60 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 61 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 62 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 63 | PRIMARY KEY (`id`) 64 | ) 65 | ENGINE = MyISAM 66 | DEFAULT CHARSET = utf8 67 | COLLATE = utf8_unicode_ci; 68 | 69 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`) 70 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}'); 71 | 72 | -- -------------------------------------------------------- 73 | -- 74 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 75 | -- informations pour un ticket 'clos' 76 | -- 77 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 78 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 79 | `id` INT(11) NOT NULL AUTO_INCREMENT, 80 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 81 | `date` VARCHAR(255) 82 | COLLATE utf8_unicode_ci DEFAULT NULL, 83 | `comment` TEXT COLLATE utf8_unicode_ci, 84 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 85 | `documents_id` INT(11) NOT NULL DEFAULT '0', 86 | PRIMARY KEY (`id`), 87 | KEY (`tickets_id`), 88 | KEY (`documents_id`), 89 | KEY (`requesters_id`) 90 | ) 91 | ENGINE = MyISAM 92 | DEFAULT CHARSET = utf8 93 | COLLATE = utf8_unicode_ci; 94 | -------------------------------------------------------------------------------- /sql/empty-1.2.2.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | PRIMARY KEY (`id`), -- index 16 | KEY `date_suspension` (`date_suspension`), 17 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 18 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 19 | ) 20 | ENGINE = MyISAM 21 | DEFAULT CHARSET = utf8 22 | COLLATE = utf8_unicode_ci; 23 | 24 | -- -------------------------------------------------------- 25 | -- 26 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 27 | -- Liste des types d'attente pour un ticket 'en attente' 28 | -- 29 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 30 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 31 | `id` INT(11) NOT NULL AUTO_INCREMENT, 32 | `name` VARCHAR(255) 33 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 34 | `comment` TEXT COLLATE utf8_unicode_ci, 35 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 36 | `completename` TEXT COLLATE utf8_unicode_ci, 37 | `level` INT(11) NOT NULL DEFAULT '0', 38 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 39 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | PRIMARY KEY (`id`), 41 | KEY `name` (`name`), 42 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 43 | ) 44 | ENGINE = MyISAM 45 | DEFAULT CHARSET = utf8 46 | COLLATE = utf8_unicode_ci; 47 | 48 | -- -------------------------------------------------------- 49 | -- 50 | -- Structure de la table 'glpi_plugin_moreticket_configs' 51 | -- Plugin configuration 52 | -- 53 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 54 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 55 | `id` INT(11) NOT NULL AUTO_INCREMENT, 56 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 57 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 59 | `solution_status` TEXT COLLATE utf8_unicode_ci, 60 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 61 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 62 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 63 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 64 | PRIMARY KEY (`id`) 65 | ) 66 | ENGINE = MyISAM 67 | DEFAULT CHARSET = utf8 68 | COLLATE = utf8_unicode_ci; 69 | 70 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`) 71 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0); 72 | 73 | -- -------------------------------------------------------- 74 | -- 75 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 76 | -- informations pour un ticket 'clos' 77 | -- 78 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 79 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 80 | `id` INT(11) NOT NULL AUTO_INCREMENT, 81 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 82 | `date` VARCHAR(255) 83 | COLLATE utf8_unicode_ci DEFAULT NULL, 84 | `comment` TEXT COLLATE utf8_unicode_ci, 85 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 86 | `documents_id` INT(11) NOT NULL DEFAULT '0', 87 | PRIMARY KEY (`id`), 88 | KEY (`tickets_id`), 89 | KEY (`documents_id`), 90 | KEY (`requesters_id`) 91 | ) 92 | ENGINE = MyISAM 93 | DEFAULT CHARSET = utf8 94 | COLLATE = utf8_unicode_ci; 95 | -------------------------------------------------------------------------------- /sql/empty-1.2.3.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | PRIMARY KEY (`id`), -- index 16 | KEY `date_suspension` (`date_suspension`), 17 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 18 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 19 | ) 20 | ENGINE = MyISAM 21 | DEFAULT CHARSET = utf8 22 | COLLATE = utf8_unicode_ci; 23 | 24 | -- -------------------------------------------------------- 25 | -- 26 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 27 | -- Liste des types d'attente pour un ticket 'en attente' 28 | -- 29 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 30 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 31 | `id` INT(11) NOT NULL AUTO_INCREMENT, 32 | `name` VARCHAR(255) 33 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 34 | `comment` TEXT COLLATE utf8_unicode_ci, 35 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 36 | `completename` TEXT COLLATE utf8_unicode_ci, 37 | `level` INT(11) NOT NULL DEFAULT '0', 38 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 39 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | PRIMARY KEY (`id`), 41 | KEY `name` (`name`), 42 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 43 | ) 44 | ENGINE = MyISAM 45 | DEFAULT CHARSET = utf8 46 | COLLATE = utf8_unicode_ci; 47 | 48 | -- -------------------------------------------------------- 49 | -- 50 | -- Structure de la table 'glpi_plugin_moreticket_configs' 51 | -- Plugin configuration 52 | -- 53 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 54 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 55 | `id` INT(11) NOT NULL AUTO_INCREMENT, 56 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 57 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 59 | `solution_status` TEXT COLLATE utf8_unicode_ci, 60 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 61 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 62 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 63 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 64 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 65 | PRIMARY KEY (`id`) 66 | ) 67 | ENGINE = MyISAM 68 | DEFAULT CHARSET = utf8 69 | COLLATE = utf8_unicode_ci; 70 | 71 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`) 72 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1); 73 | 74 | -- -------------------------------------------------------- 75 | -- 76 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 77 | -- informations pour un ticket 'clos' 78 | -- 79 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 80 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 81 | `id` INT(11) NOT NULL AUTO_INCREMENT, 82 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 83 | `date` VARCHAR(255) 84 | COLLATE utf8_unicode_ci DEFAULT NULL, 85 | `comment` TEXT COLLATE utf8_unicode_ci, 86 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 87 | `documents_id` INT(11) NOT NULL DEFAULT '0', 88 | PRIMARY KEY (`id`), 89 | KEY (`tickets_id`), 90 | KEY (`documents_id`), 91 | KEY (`requesters_id`) 92 | ) 93 | ENGINE = MyISAM 94 | DEFAULT CHARSET = utf8 95 | COLLATE = utf8_unicode_ci; 96 | -------------------------------------------------------------------------------- /locales/fr_CA.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Tiago Graça, 2022 8 | # Xavier CAILLAUD , 2022 9 | # 10 | #, fuzzy 11 | msgid "" 12 | msgstr "" 13 | "Project-Id-Version: GLPI - MoreTicket plugin\n" 14 | "Report-Msgid-Bugs-To: \n" 15 | "POT-Creation-Date: 2022-04-25 08:43+0000\n" 16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 17 | "Last-Translator: Xavier CAILLAUD , 2022\n" 18 | "Language-Team: French (Canada) (https://www.transifex.com/infotelGLPI/teams/50826/fr_CA/)\n" 19 | "MIME-Version: 1.0\n" 20 | "Content-Type: text/plain; charset=UTF-8\n" 21 | "Content-Transfer-Encoding: 8bit\n" 22 | "Language: fr_CA\n" 23 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 24 | 25 | #: hook.php:254 hook.php:261 hook.php:268 hook.php:275 26 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 27 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:179 28 | #: inc/closeticket.class.php:330 inc/closeticket.class.php:384 29 | #: inc/config.class.php:174 30 | msgid "Close ticket informations" 31 | msgstr "Informations de clôture des tickets" 32 | 33 | #: hook.php:289 34 | msgid "Updated by a user" 35 | msgstr "Mis à jour par un utilisateur" 36 | 37 | #: setup.php:117 inc/profile.class.php:49 inc/profile.class.php:194 38 | msgid "More ticket" 39 | msgstr "Plus de ticket" 40 | 41 | #: front/config.form.php:66 42 | msgid "Please activate the plugin" 43 | msgstr "Merci d'activer le plugin" 44 | 45 | #: inc/closeticket.class.php:136 inc/closeticket.class.php:496 46 | msgid "Solution description" 47 | msgstr "Description de la solution" 48 | 49 | #: inc/closeticket.class.php:155 50 | msgid "Ticket cannot be closed" 51 | msgstr "Impossible de clore le ticket" 52 | 53 | #: inc/closeticket.class.php:620 54 | #, php-format 55 | msgid "%1$s added closing informations" 56 | msgstr "%1$s a ajouté des informations de clôture" 57 | 58 | #: inc/closeticket.class.php:639 59 | #, php-format 60 | msgid "%1$s updated closing informations" 61 | msgstr "%1$s a mis à jour des informations de clôture" 62 | 63 | #: inc/closeticket.class.php:658 64 | #, php-format 65 | msgid "%1$s deleted closing informations" 66 | msgstr "%1$s a supprimé des informations de clôture" 67 | 68 | #: inc/config.class.php:147 69 | msgid "Ticket resolution and close" 70 | msgstr "Résolution et clôture du ticket" 71 | 72 | #: inc/config.class.php:149 73 | msgid "Use solution process" 74 | msgstr "Utiliser le bloc solution à la création du ticket" 75 | 76 | #: inc/config.class.php:167 77 | msgid "Solution type is mandatory" 78 | msgstr "Le type de solution est obligatoire" 79 | 80 | #: inc/config.class.php:180 81 | msgid "Status used to display solution block" 82 | msgstr "Statuts utilisés pour afficher le bloc de solution" 83 | 84 | #: inc/config.class.php:193 85 | msgid "Add a followup on immediate ticket closing" 86 | msgstr "Ajouter un suivi lors de la clôture du ticket" 87 | 88 | #: inc/config.class.php:199 89 | msgid "Use the 'Duration' field in the add solution interface" 90 | msgstr "Utilisez le champ 'Durée' dans l'interface d'ajout de solution." 91 | 92 | #: inc/config.class.php:213 93 | msgid "Mandatory 'Duration' field" 94 | msgstr "Champ 'Durée' obligatoire" 95 | 96 | #: inc/config.class.php:218 97 | msgid "Ticket urgency" 98 | msgstr "Urgence de ticket" 99 | 100 | #: inc/config.class.php:220 101 | msgid "Use a justification of the urgency field" 102 | msgstr "Utiliser une zone de justification sur l'urgence" 103 | 104 | #: inc/config.class.php:236 105 | msgid "Urgency impacted justification for the field" 106 | msgstr "Urgences impactées pour la zone de justification" 107 | 108 | #: inc/config.class.php:264 109 | msgid "Update ticket status" 110 | msgstr "Mise à jour des statuts de tickets" 111 | 112 | #: inc/config.class.php:267 113 | msgid "Update ticket status to processing after add document" 114 | msgstr "Mise à jour du statut du ticket à en cours après ajout d'un document" 115 | 116 | #: inc/config.class.php:273 117 | msgid "Update ticket status to processing after approval" 118 | msgstr "Mise à jour du statut du ticket à en cours après approbation" 119 | 120 | #: inc/profile.class.php:158 121 | msgid "Adding a justification of urgency" 122 | msgstr "Ajout d'une zone de justification pour l'urgence" 123 | 124 | #: inc/profile.class.php:166 125 | msgid "Hide task duration in tickets" 126 | msgstr "Cacher la durée des tâches des tickets" 127 | 128 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:164 129 | msgid "Justification" 130 | msgstr "Justification" 131 | 132 | #: inc/urgencyticket.class.php:92 133 | msgid "Urgency ticket cannot be saved" 134 | msgstr "Impossible d'enregistrer l'urgence du ticket" 135 | 136 | #: inc/urgencyticket.class.php:94 137 | msgid "Ticket cannot be saved" 138 | msgstr "Impossible d'enregistrer le ticket" 139 | 140 | #: inc/waitingtype.class.php:48 141 | msgid "Waiting type" 142 | msgid_plural "Waiting types" 143 | msgstr[0] "Type d'attente" 144 | msgstr[1] "Types d'attente" 145 | -------------------------------------------------------------------------------- /locales/es_ES.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Xavier CAILLAUD , 2022 8 | # FranciscoFJ , 2022 9 | # 10 | #, fuzzy 11 | msgid "" 12 | msgstr "" 13 | "Project-Id-Version: GLPI - MoreTicket plugin\n" 14 | "Report-Msgid-Bugs-To: \n" 15 | "POT-Creation-Date: 2022-06-02 06:39+0000\n" 16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 17 | "Last-Translator: FranciscoFJ , 2022\n" 18 | "Language-Team: Spanish (Spain) (https://www.transifex.com/infotelGLPI/teams/50826/es_ES/)\n" 19 | "MIME-Version: 1.0\n" 20 | "Content-Type: text/plain; charset=UTF-8\n" 21 | "Content-Transfer-Encoding: 8bit\n" 22 | "Language: es_ES\n" 23 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 24 | 25 | #: hook.php:255 hook.php:262 hook.php:269 hook.php:276 26 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 27 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:179 28 | #: inc/closeticket.class.php:330 inc/closeticket.class.php:384 29 | #: inc/config.class.php:174 30 | msgid "Close ticket informations" 31 | msgstr "Informaciones del cierre de la petición" 32 | 33 | #: hook.php:290 34 | msgid "Updated by a user" 35 | msgstr "Actualizado por un usuario" 36 | 37 | #: setup.php:117 inc/profile.class.php:49 inc/profile.class.php:194 38 | msgid "More ticket" 39 | msgstr "Más peticiones" 40 | 41 | #: front/config.form.php:66 42 | msgid "Please activate the plugin" 43 | msgstr "Por favor active el complemento" 44 | 45 | #: inc/closeticket.class.php:136 inc/closeticket.class.php:496 46 | msgid "Solution description" 47 | msgstr "Descripción de la solución " 48 | 49 | #: inc/closeticket.class.php:155 50 | msgid "Ticket cannot be closed" 51 | msgstr "La petición no puede ser cerrada" 52 | 53 | #: inc/closeticket.class.php:620 54 | #, php-format 55 | msgid "%1$s added closing informations" 56 | msgstr "%1$s informaciones del cierre de la petición" 57 | 58 | #: inc/closeticket.class.php:639 59 | #, php-format 60 | msgid "%1$s updated closing informations" 61 | msgstr "%1$sactualizaciones del cierre de la petición" 62 | 63 | #: inc/closeticket.class.php:658 64 | #, php-format 65 | msgid "%1$s deleted closing informations" 66 | msgstr "%1$sinformaciones del cierre apagadas" 67 | 68 | #: inc/config.class.php:147 69 | msgid "Ticket resolution and close" 70 | msgstr "Resolución y cierre de la petición" 71 | 72 | #: inc/config.class.php:149 73 | msgid "Use solution process" 74 | msgstr "Use la solución de la petición" 75 | 76 | #: inc/config.class.php:167 77 | msgid "Solution type is mandatory" 78 | msgstr "Tipo de solución es obligatorio" 79 | 80 | #: inc/config.class.php:180 81 | msgid "Status used to display solution block" 82 | msgstr "Estado utilizado para mostrar el bloque de solución" 83 | 84 | #: inc/config.class.php:193 85 | msgid "Add a followup on immediate ticket closing" 86 | msgstr "Añadir un seguimiento en el cierre inmediato de la petición" 87 | 88 | #: inc/config.class.php:199 89 | msgid "Use the 'Duration' field in the add solution interface" 90 | msgstr "Utilice el campo 'Duración' en la interfaz de agregar solución" 91 | 92 | #: inc/config.class.php:213 93 | msgid "Mandatory 'Duration' field" 94 | msgstr "El campo 'Duración' es obligatorio" 95 | 96 | #: inc/config.class.php:218 97 | msgid "Ticket urgency" 98 | msgstr "Urgencia de la petición" 99 | 100 | #: inc/config.class.php:220 101 | msgid "Use a justification of the urgency field" 102 | msgstr "Utilizar una justificación del campo de urgencia." 103 | 104 | #: inc/config.class.php:236 105 | msgid "Urgency impacted justification for the field" 106 | msgstr "Justificativa de la urgencia de impacto en un campo" 107 | 108 | #: inc/config.class.php:264 109 | msgid "Update ticket status" 110 | msgstr "Actualizar el estado de la petición" 111 | 112 | #: inc/config.class.php:267 113 | msgid "Update ticket status to processing after add document" 114 | msgstr "" 115 | "Actualizar el estado de la petición para procesar después de agregar el " 116 | "documento" 117 | 118 | #: inc/config.class.php:273 119 | msgid "Update ticket status to processing after approval" 120 | msgstr "" 121 | "Actualizar el estado de la petición a procesar después de la aprobación" 122 | 123 | #: inc/profile.class.php:158 124 | msgid "Adding a justification of urgency" 125 | msgstr "Añadiendo una justificación de urgencia" 126 | 127 | #: inc/profile.class.php:166 128 | msgid "Hide task duration in tickets" 129 | msgstr "Ocultar la duración de la tarea en las peticiones" 130 | 131 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:164 132 | msgid "Justification" 133 | msgstr "Justificación" 134 | 135 | #: inc/urgencyticket.class.php:92 136 | msgid "Urgency ticket cannot be saved" 137 | msgstr "Petición de urgencia no se puede guardar" 138 | 139 | #: inc/urgencyticket.class.php:94 140 | msgid "Ticket cannot be saved" 141 | msgstr "La petición no se puede guardar" 142 | 143 | #: inc/waitingtype.class.php:48 144 | msgid "Waiting type" 145 | msgid_plural "Waiting types" 146 | msgstr[0] "Tipo de espera" 147 | msgstr[1] "Tipos de espera" 148 | msgstr[2] "Tipos de espera" 149 | -------------------------------------------------------------------------------- /locales/it_IT.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the MoreTicket - Accounts plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Davide , 2025 8 | # 9 | #, fuzzy 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: MoreTicket - Accounts plugin\n" 13 | "Report-Msgid-Bugs-To: \n" 14 | "POT-Creation-Date: 2025-09-25 11:30+0000\n" 15 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 16 | "Last-Translator: Davide , 2025\n" 17 | "Language-Team: Italian (Italy) (https://app.transifex.com/infotelGLPI/teams/50826/it_IT/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: it_IT\n" 22 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 23 | 24 | #: setup.php:130 inc/profile.class.php:50 inc/profile.class.php:217 25 | msgid "More ticket" 26 | msgstr "Altre chiamate" 27 | 28 | #: inc/profile.class.php:180 29 | msgid "Adding a justification of urgency" 30 | msgstr "Aggiungendo la motivazione all'urgenza" 31 | 32 | #: inc/profile.class.php:188 33 | msgid "Hide task duration in tickets" 34 | msgstr "Nascondi la durata dell'attività nella Chiamata" 35 | 36 | #: inc/closeticket.class.php:77 inc/closeticket.class.php:84 37 | #: inc/closeticket.class.php:125 inc/closeticket.class.php:192 38 | #: inc/closeticket.class.php:348 inc/closeticket.class.php:402 hook.php:261 39 | #: hook.php:268 hook.php:275 hook.php:282 40 | msgid "Close ticket informations" 41 | msgstr "Informazioni sulla chiusura della chiamata" 42 | 43 | #: inc/closeticket.class.php:141 inc/closeticket.class.php:522 44 | msgid "Solution description" 45 | msgstr "Descrizione della soluzione" 46 | 47 | #: inc/closeticket.class.php:161 48 | msgid "Ticket cannot be closed" 49 | msgstr "La Chiamata non può essere chiusa" 50 | 51 | #: inc/closeticket.class.php:679 52 | #, php-format 53 | msgid "%1$s added closing informations" 54 | msgstr "%1$s aggiunte informazioni sulla chiusura" 55 | 56 | #: inc/closeticket.class.php:700 57 | #, php-format 58 | msgid "%1$s updated closing informations" 59 | msgstr "%1$s aggiornate le informazioni sulla chiusura" 60 | 61 | #: inc/closeticket.class.php:721 62 | #, php-format 63 | msgid "%1$s deleted closing informations" 64 | msgstr "%1$s cancellate le informazioni sulla chiusura" 65 | 66 | #: inc/urgencyticket.class.php:72 inc/urgencyticket.class.php:169 67 | msgid "Justification" 68 | msgstr "Motivazione" 69 | 70 | #: inc/urgencyticket.class.php:95 71 | msgid "Urgency ticket cannot be saved" 72 | msgstr "L'Urgenza della Chiamata non può essere salvata" 73 | 74 | #: inc/urgencyticket.class.php:97 inc/waitingticket.class.php:180 75 | msgid "Ticket cannot be saved" 76 | msgstr "La Chiamata non può essere salvata" 77 | 78 | #: inc/waitingtype.class.php:50 79 | msgid "Waiting type" 80 | msgid_plural "Waiting types" 81 | msgstr[0] "Tipologia di attesa" 82 | msgstr[1] "Tipologie di attesa" 83 | msgstr[2] "Tipologie di attesa" 84 | 85 | #: inc/waitingticket.class.php:70 86 | msgid "Waiting ticket" 87 | msgid_plural "Waiting tickets" 88 | msgstr[0] "Chiamate in attesa" 89 | msgstr[1] "Chiamate in attesa" 90 | msgstr[2] "Chiamate in attesa" 91 | 92 | #: inc/waitingticket.class.php:144 inc/waitingticket.class.php:264 93 | #: inc/waitingticket.class.php:341 inc/waitingticket.class.php:450 94 | msgid "Postponement date" 95 | msgstr "Data di rinvio" 96 | 97 | #: inc/waitingticket.class.php:148 inc/waitingticket.class.php:248 98 | #: inc/waitingticket.class.php:334 inc/waitingticket.class.php:448 99 | msgid "Reason" 100 | msgstr "Motivazione" 101 | 102 | #: inc/waitingticket.class.php:178 103 | msgid "Waiting ticket cannot be saved" 104 | msgstr "La chiamata in attesa non può essere salvata" 105 | 106 | #: inc/waitingticket.class.php:184 107 | msgid "Postponement date is inferior of today's date" 108 | msgstr "La data di rinvio è precedente alla data odierna" 109 | 110 | #: inc/waitingticket.class.php:444 inc/waitingticket.class.php:487 111 | msgid "Ticket suspension history" 112 | msgstr "Cronologia delle sospensioni della chiamata" 113 | 114 | #: inc/waitingticket.class.php:447 115 | msgid "Suspension date" 116 | msgstr "Data della sospensione" 117 | 118 | #: inc/waitingticket.class.php:451 119 | msgid "Suspension end date" 120 | msgstr "Data di fine sospensione" 121 | 122 | #: inc/waitingticket.class.php:860 123 | msgid "Waiting ticket exceedeed" 124 | msgstr "Chiamate in attesa oltre i limiti" 125 | 126 | #: inc/waitingticket.class.php:908 127 | msgid "End of standby ticket" 128 | msgstr "Fine dell'attesa della Chiamata" 129 | 130 | #: inc/waitingticket.class.php:956 131 | msgid "Ticket waiting" 132 | msgstr "Chiamate in attesa" 133 | 134 | #: inc/waitingticket.class.php:1108 135 | #, php-format 136 | msgid "%s duplicates deleted" 137 | msgstr "%s duplicati cancellati" 138 | 139 | #: front/config.form.php:63 140 | msgid "Please activate the plugin" 141 | msgstr "Si prega di attivare il plugin" 142 | 143 | #: hook.php:296 144 | msgid "Updated by a user" 145 | msgstr "Aggiornato da un utente" 146 | 147 | #: hook.php:323 148 | msgid "Warning" 149 | msgstr "Attenzione" 150 | 151 | #: hook.php:324 152 | msgid "Duration is mandatory" 153 | msgstr "La durata è obbligatoria" 154 | -------------------------------------------------------------------------------- /locales/ja_JP.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # INOUE Daisuke, 2025 8 | # 9 | #, fuzzy 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: PACKAGE VERSION\n" 13 | "Report-Msgid-Bugs-To: \n" 14 | "POT-Creation-Date: 2025-10-08 15:17+0200\n" 15 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 16 | "Last-Translator: INOUE Daisuke, 2025\n" 17 | "Language-Team: Japanese (Japan) (https://app.transifex.com/infotelGLPI/teams/50826/ja_JP/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: ja_JP\n" 22 | "Plural-Forms: nplurals=1; plural=0;\n" 23 | 24 | #: inc/closeticket.class.php:679 25 | #, php-format 26 | msgid "%1$s added closing informations" 27 | msgstr "%1$s が終了情報を追加" 28 | 29 | #: inc/closeticket.class.php:721 30 | #, php-format 31 | msgid "%1$s deleted closing informations" 32 | msgstr "%1$s が終了情報を削除" 33 | 34 | #: inc/closeticket.class.php:700 35 | #, php-format 36 | msgid "%1$s updated closing informations" 37 | msgstr "%1$s が終了情報を更新" 38 | 39 | #: inc/waitingticket.class.php:1108 40 | #, php-format 41 | msgid "%s duplicates deleted" 42 | msgstr "%s 件の重複を削除しました" 43 | 44 | #: inc/profile.class.php:180 45 | msgid "Adding a justification of urgency" 46 | msgstr "緊急性に正当性を追加" 47 | 48 | #: hook.php:261 hook.php:268 hook.php:275 hook.php:282 49 | #: inc/closeticket.class.php:77 inc/closeticket.class.php:84 50 | #: inc/closeticket.class.php:125 inc/closeticket.class.php:192 51 | #: inc/closeticket.class.php:348 inc/closeticket.class.php:402 52 | msgid "Close ticket informations" 53 | msgstr "チケット終了情報" 54 | 55 | #: hook.php:324 56 | msgid "Duration is mandatory" 57 | msgstr "期間は必須です" 58 | 59 | #: inc/waitingticket.class.php:908 60 | msgid "End of standby ticket" 61 | msgstr "準備チケットの終了" 62 | 63 | #: inc/profile.class.php:188 64 | msgid "Hide task duration in tickets" 65 | msgstr "チケットにタスクの期間を表示しない" 66 | 67 | #: inc/urgencyticket.class.php:72 inc/urgencyticket.class.php:169 68 | msgid "Justification" 69 | msgstr "正当性" 70 | 71 | #: inc/profile.class.php:50 inc/profile.class.php:217 setup.php:130 72 | msgid "More ticket" 73 | msgstr "チケット拡張" 74 | 75 | #: front/config.form.php:63 76 | msgid "Please activate the plugin" 77 | msgstr "プラグインを有効にしてください" 78 | 79 | #: inc/waitingticket.class.php:144 inc/waitingticket.class.php:264 80 | #: inc/waitingticket.class.php:341 inc/waitingticket.class.php:450 81 | msgid "Postponement date" 82 | msgstr "再開予定日" 83 | 84 | #: inc/waitingticket.class.php:184 85 | msgid "Postponement date is inferior of today's date" 86 | msgstr "再開予定日は現在日付より未来に設定してください" 87 | 88 | #: inc/waitingticket.class.php:148 inc/waitingticket.class.php:248 89 | #: inc/waitingticket.class.php:334 inc/waitingticket.class.php:448 90 | msgid "Reason" 91 | msgstr "理由" 92 | 93 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:238 94 | msgctxt "button" 95 | msgid "Save" 96 | msgstr "保存" 97 | 98 | #: inc/closeticket.class.php:141 inc/closeticket.class.php:522 99 | msgid "Solution description" 100 | msgstr "解決情報" 101 | 102 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:126 103 | msgid "Status used to display solution block" 104 | msgstr "解決ブロックを表示するのに利用する状態" 105 | 106 | #: inc/waitingticket.class.php:447 107 | msgid "Suspension date" 108 | msgstr "中断日" 109 | 110 | #: inc/waitingticket.class.php:451 111 | msgid "Suspension end date" 112 | msgstr "実再開日" 113 | 114 | #: inc/closeticket.class.php:161 115 | msgid "Ticket cannot be closed" 116 | msgstr "チケットを終了できません" 117 | 118 | #: inc/urgencyticket.class.php:97 inc/waitingticket.class.php:180 119 | msgid "Ticket cannot be saved" 120 | msgstr "チケットを保存できません" 121 | 122 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:96 123 | msgid "Ticket solution and close" 124 | msgstr "チケットの解決と終了" 125 | 126 | #: inc/waitingticket.class.php:444 inc/waitingticket.class.php:487 127 | msgid "Ticket suspension history" 128 | msgstr "チケットの延期履歴" 129 | 130 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:177 131 | msgid "Ticket urgency" 132 | msgstr "チケットの緊急性" 133 | 134 | #: inc/waitingticket.class.php:956 135 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:43 136 | msgid "Ticket waiting" 137 | msgstr "保留チケット" 138 | 139 | #: /c/wamp/www/glpi11symfony/marketplace/moreticket/templates/config.html.twig:201 140 | msgid "Update ticket status" 141 | msgstr "チケットの状態を更新" 142 | 143 | #: hook.php:296 144 | msgid "Updated by a user" 145 | msgstr "ユーザーが更新" 146 | 147 | #: inc/urgencyticket.class.php:95 148 | msgid "Urgency ticket cannot be saved" 149 | msgstr "チケットの緊急性を保存できません" 150 | 151 | #: inc/waitingticket.class.php:70 152 | msgid "Waiting ticket" 153 | msgid_plural "Waiting tickets" 154 | msgstr[0] "保留チケット" 155 | 156 | #: inc/waitingticket.class.php:178 157 | msgid "Waiting ticket cannot be saved" 158 | msgstr "保留チケットを保存できません" 159 | 160 | #: inc/waitingticket.class.php:860 161 | msgid "Waiting ticket exceedeed" 162 | msgstr "チケットの保留を延長" 163 | 164 | #: inc/waitingtype.class.php:50 165 | msgid "Waiting type" 166 | msgid_plural "Waiting types" 167 | msgstr[0] "保留型" 168 | 169 | #: hook.php:323 170 | msgid "Warning" 171 | msgstr "警告" 172 | -------------------------------------------------------------------------------- /sql/empty-1.4.0.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | KEY (`tickets_id`) , 19 | KEY (`plugin_moreticket_waitingtypes_id`) 20 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 31 | `comment` TEXT COLLATE utf8_unicode_ci, 32 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 33 | `completename` TEXT COLLATE utf8_unicode_ci, 34 | `level` INT(11) NOT NULL DEFAULT '0', 35 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 36 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | PRIMARY KEY (`id`), 38 | KEY `name` (`name`), 39 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 40 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 41 | 42 | -- -------------------------------------------------------- 43 | -- 44 | -- Structure de la table 'glpi_plugin_moreticket_configs' 45 | -- Plugin configuration 46 | -- 47 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 48 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 49 | `id` INT(11) NOT NULL AUTO_INCREMENT, 50 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 51 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 52 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 53 | `solution_status` TEXT COLLATE utf8_unicode_ci, 54 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 55 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 58 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 59 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 61 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 62 | `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | PRIMARY KEY (`id`) 64 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 65 | 66 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 67 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 68 | 69 | -- -------------------------------------------------------- 70 | -- 71 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 72 | -- informations pour un ticket 'clos' 73 | -- 74 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 75 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 76 | `id` INT(11) NOT NULL AUTO_INCREMENT, 77 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 78 | `date` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, 79 | `comment` TEXT COLLATE utf8_unicode_ci, 80 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 81 | `documents_id` INT(11) NOT NULL DEFAULT '0', 82 | PRIMARY KEY (`id`), 83 | KEY (`tickets_id`), 84 | KEY (`documents_id`), 85 | KEY (`requesters_id`) 86 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 87 | 88 | -- -------------------------------------------------------- 89 | -- 90 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 91 | -- zone de justification pour l'urgence 92 | -- 93 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 94 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 95 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 96 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 97 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 98 | PRIMARY KEY (`id`), -- index 99 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 100 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 101 | -------------------------------------------------------------------------------- /sql/empty-1.2.4.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | PRIMARY KEY (`id`), -- index 16 | KEY `date_suspension` (`date_suspension`), 17 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 18 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 19 | ) 20 | ENGINE = MyISAM 21 | DEFAULT CHARSET = utf8 22 | COLLATE = utf8_unicode_ci; 23 | 24 | -- -------------------------------------------------------- 25 | -- 26 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 27 | -- Liste des types d'attente pour un ticket 'en attente' 28 | -- 29 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 30 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 31 | `id` INT(11) NOT NULL AUTO_INCREMENT, 32 | `name` VARCHAR(255) 33 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 34 | `comment` TEXT COLLATE utf8_unicode_ci, 35 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 36 | `completename` TEXT COLLATE utf8_unicode_ci, 37 | `level` INT(11) NOT NULL DEFAULT '0', 38 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 39 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | PRIMARY KEY (`id`), 41 | KEY `name` (`name`), 42 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 43 | ) 44 | ENGINE = MyISAM 45 | DEFAULT CHARSET = utf8 46 | COLLATE = utf8_unicode_ci; 47 | 48 | -- -------------------------------------------------------- 49 | -- 50 | -- Structure de la table 'glpi_plugin_moreticket_configs' 51 | -- Plugin configuration 52 | -- 53 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 54 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 55 | `id` INT(11) NOT NULL AUTO_INCREMENT, 56 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 57 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 59 | `solution_status` TEXT COLLATE utf8_unicode_ci, 60 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 61 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 62 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 63 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 64 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 65 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 66 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 67 | PRIMARY KEY (`id`) 68 | ) 69 | ENGINE = MyISAM 70 | DEFAULT CHARSET = utf8 71 | COLLATE = utf8_unicode_ci; 72 | 73 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 74 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 75 | 76 | -- -------------------------------------------------------- 77 | -- 78 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 79 | -- informations pour un ticket 'clos' 80 | -- 81 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 82 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 83 | `id` INT(11) NOT NULL AUTO_INCREMENT, 84 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 85 | `date` VARCHAR(255) 86 | COLLATE utf8_unicode_ci DEFAULT NULL, 87 | `comment` TEXT COLLATE utf8_unicode_ci, 88 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 89 | `documents_id` INT(11) NOT NULL DEFAULT '0', 90 | PRIMARY KEY (`id`), 91 | KEY (`tickets_id`), 92 | KEY (`documents_id`), 93 | KEY (`requesters_id`) 94 | ) 95 | ENGINE = MyISAM 96 | DEFAULT CHARSET = utf8 97 | COLLATE = utf8_unicode_ci; 98 | 99 | -- -------------------------------------------------------- 100 | -- 101 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 102 | -- zone de justification pour l'urgence 103 | -- 104 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 105 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 106 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 107 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 108 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 109 | PRIMARY KEY (`id`), -- index 110 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 111 | ) 112 | ENGINE = MyISAM 113 | DEFAULT CHARSET = utf8 114 | COLLATE = utf8_unicode_ci; 115 | -------------------------------------------------------------------------------- /sql/empty-1.5.1.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | KEY (`tickets_id`) , 19 | KEY (`plugin_moreticket_waitingtypes_id`) 20 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 31 | `comment` TEXT COLLATE utf8_unicode_ci, 32 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 33 | `completename` TEXT COLLATE utf8_unicode_ci, 34 | `level` INT(11) NOT NULL DEFAULT '0', 35 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 36 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | PRIMARY KEY (`id`), 38 | KEY `name` (`name`), 39 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 40 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 41 | 42 | -- -------------------------------------------------------- 43 | -- 44 | -- Structure de la table 'glpi_plugin_moreticket_configs' 45 | -- Plugin configuration 46 | -- 47 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 48 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 49 | `id` INT(11) NOT NULL AUTO_INCREMENT, 50 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 51 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 52 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 53 | `solution_status` TEXT COLLATE utf8_unicode_ci, 54 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 55 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 58 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 59 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 61 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 62 | `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | `use_question` TINYINT(1) NOT NULL DEFAULT '0', 64 | PRIMARY KEY (`id`) 65 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 66 | 67 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 68 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 69 | 70 | -- -------------------------------------------------------- 71 | -- 72 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 73 | -- informations pour un ticket 'clos' 74 | -- 75 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 76 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 77 | `id` INT(11) NOT NULL AUTO_INCREMENT, 78 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 79 | `date` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, 80 | `comment` TEXT COLLATE utf8_unicode_ci, 81 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 82 | `documents_id` INT(11) NOT NULL DEFAULT '0', 83 | PRIMARY KEY (`id`), 84 | KEY (`tickets_id`), 85 | KEY (`documents_id`), 86 | KEY (`requesters_id`) 87 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 88 | 89 | -- -------------------------------------------------------- 90 | -- 91 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 92 | -- zone de justification pour l'urgence 93 | -- 94 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 95 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 96 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 97 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 98 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 99 | PRIMARY KEY (`id`), -- index 100 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 101 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 102 | -------------------------------------------------------------------------------- /sql/empty-1.3.2.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 19 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 20 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) 31 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 32 | `comment` TEXT COLLATE utf8_unicode_ci, 33 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 34 | `completename` TEXT COLLATE utf8_unicode_ci, 35 | `level` INT(11) NOT NULL DEFAULT '0', 36 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 38 | PRIMARY KEY (`id`), 39 | KEY `name` (`name`), 40 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 41 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 42 | 43 | -- -------------------------------------------------------- 44 | -- 45 | -- Structure de la table 'glpi_plugin_moreticket_configs' 46 | -- Plugin configuration 47 | -- 48 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 49 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 50 | `id` INT(11) NOT NULL AUTO_INCREMENT, 51 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 52 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 53 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 54 | `solution_status` TEXT COLLATE utf8_unicode_ci, 55 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 59 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 61 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 62 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | PRIMARY KEY (`id`) 64 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 65 | 66 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 67 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 68 | 69 | -- -------------------------------------------------------- 70 | -- 71 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 72 | -- informations pour un ticket 'clos' 73 | -- 74 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 75 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 76 | `id` INT(11) NOT NULL AUTO_INCREMENT, 77 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 78 | `date` VARCHAR(255) 79 | COLLATE utf8_unicode_ci DEFAULT NULL, 80 | `comment` TEXT COLLATE utf8_unicode_ci, 81 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 82 | `documents_id` INT(11) NOT NULL DEFAULT '0', 83 | PRIMARY KEY (`id`), 84 | KEY (`tickets_id`), 85 | KEY (`documents_id`), 86 | KEY (`requesters_id`) 87 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 88 | 89 | -- -------------------------------------------------------- 90 | -- 91 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 92 | -- zone de justification pour l'urgence 93 | -- 94 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 95 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 96 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 97 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 98 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 99 | PRIMARY KEY (`id`), -- index 100 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 101 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 102 | -------------------------------------------------------------------------------- /sql/empty-1.2.5.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 19 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 20 | ) 21 | ENGINE = MyISAM 22 | DEFAULT CHARSET = utf8 23 | COLLATE = utf8_unicode_ci; 24 | 25 | -- -------------------------------------------------------- 26 | -- 27 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 28 | -- Liste des types d'attente pour un ticket 'en attente' 29 | -- 30 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 31 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 32 | `id` INT(11) NOT NULL AUTO_INCREMENT, 33 | `name` VARCHAR(255) 34 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 35 | `comment` TEXT COLLATE utf8_unicode_ci, 36 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 37 | `completename` TEXT COLLATE utf8_unicode_ci, 38 | `level` INT(11) NOT NULL DEFAULT '0', 39 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 40 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 41 | PRIMARY KEY (`id`), 42 | KEY `name` (`name`), 43 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 44 | ) 45 | ENGINE = MyISAM 46 | DEFAULT CHARSET = utf8 47 | COLLATE = utf8_unicode_ci; 48 | 49 | -- -------------------------------------------------------- 50 | -- 51 | -- Structure de la table 'glpi_plugin_moreticket_configs' 52 | -- Plugin configuration 53 | -- 54 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 55 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 56 | `id` INT(11) NOT NULL AUTO_INCREMENT, 57 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 58 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 59 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 60 | `solution_status` TEXT COLLATE utf8_unicode_ci, 61 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 62 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 63 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 64 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 65 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 66 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 67 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 68 | PRIMARY KEY (`id`) 69 | ) 70 | ENGINE = MyISAM 71 | DEFAULT CHARSET = utf8 72 | COLLATE = utf8_unicode_ci; 73 | 74 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 75 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 76 | 77 | -- -------------------------------------------------------- 78 | -- 79 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 80 | -- informations pour un ticket 'clos' 81 | -- 82 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 83 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 84 | `id` INT(11) NOT NULL AUTO_INCREMENT, 85 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 86 | `date` VARCHAR(255) 87 | COLLATE utf8_unicode_ci DEFAULT NULL, 88 | `comment` TEXT COLLATE utf8_unicode_ci, 89 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 90 | `documents_id` INT(11) NOT NULL DEFAULT '0', 91 | PRIMARY KEY (`id`), 92 | KEY (`tickets_id`), 93 | KEY (`documents_id`), 94 | KEY (`requesters_id`) 95 | ) 96 | ENGINE = MyISAM 97 | DEFAULT CHARSET = utf8 98 | COLLATE = utf8_unicode_ci; 99 | 100 | -- -------------------------------------------------------- 101 | -- 102 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 103 | -- zone de justification pour l'urgence 104 | -- 105 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 106 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 107 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 108 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 109 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 110 | PRIMARY KEY (`id`), -- index 111 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 112 | ) 113 | ENGINE = MyISAM 114 | DEFAULT CHARSET = utf8 115 | COLLATE = utf8_unicode_ci; 116 | -------------------------------------------------------------------------------- /sql/empty-1.6.2.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | KEY (`tickets_id`) , 19 | KEY (`plugin_moreticket_waitingtypes_id`) 20 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 31 | `comment` TEXT COLLATE utf8_unicode_ci, 32 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 33 | `completename` TEXT COLLATE utf8_unicode_ci, 34 | `level` INT(11) NOT NULL DEFAULT '0', 35 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 36 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | PRIMARY KEY (`id`), 38 | KEY `name` (`name`), 39 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 40 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 41 | 42 | -- -------------------------------------------------------- 43 | -- 44 | -- Structure de la table 'glpi_plugin_moreticket_configs' 45 | -- Plugin configuration 46 | -- 47 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 48 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 49 | `id` INT(11) NOT NULL AUTO_INCREMENT, 50 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 51 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 52 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 53 | `solution_status` TEXT COLLATE utf8_unicode_ci, 54 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 55 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 58 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 59 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 61 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 62 | `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | `use_question` TINYINT(1) NOT NULL DEFAULT '0', 64 | `add_save_button` TINYINT(1) NOT NULL DEFAULT '0', 65 | PRIMARY KEY (`id`) 66 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 67 | 68 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 69 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 70 | 71 | -- -------------------------------------------------------- 72 | -- 73 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 74 | -- informations pour un ticket 'clos' 75 | -- 76 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 77 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 78 | `id` INT(11) NOT NULL AUTO_INCREMENT, 79 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 80 | `date` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, 81 | `comment` TEXT COLLATE utf8_unicode_ci, 82 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 83 | `documents_id` INT(11) NOT NULL DEFAULT '0', 84 | PRIMARY KEY (`id`), 85 | KEY (`tickets_id`), 86 | KEY (`documents_id`), 87 | KEY (`requesters_id`) 88 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 89 | 90 | -- -------------------------------------------------------- 91 | -- 92 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 93 | -- zone de justification pour l'urgence 94 | -- 95 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 96 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 97 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 98 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 99 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 100 | PRIMARY KEY (`id`), -- index 101 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 102 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 103 | -------------------------------------------------------------------------------- /sql/empty-1.3.4.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id), 19 | FOREIGN KEY (`plugin_moreticket_waitingtypes_id`) REFERENCES glpi_plugin_moreticket_waitingtypes (id) 20 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) 31 | COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 32 | `comment` TEXT COLLATE utf8_unicode_ci, 33 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 34 | `completename` TEXT COLLATE utf8_unicode_ci, 35 | `level` INT(11) NOT NULL DEFAULT '0', 36 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 38 | PRIMARY KEY (`id`), 39 | KEY `name` (`name`), 40 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 41 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 42 | 43 | -- -------------------------------------------------------- 44 | -- 45 | -- Structure de la table 'glpi_plugin_moreticket_configs' 46 | -- Plugin configuration 47 | -- 48 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 49 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 50 | `id` INT(11) NOT NULL AUTO_INCREMENT, 51 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 52 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 53 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 54 | `solution_status` TEXT COLLATE utf8_unicode_ci, 55 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 58 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 59 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 61 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 62 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0', 64 | PRIMARY KEY (`id`) 65 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 66 | 67 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 68 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 69 | 70 | -- -------------------------------------------------------- 71 | -- 72 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 73 | -- informations pour un ticket 'clos' 74 | -- 75 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 76 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 77 | `id` INT(11) NOT NULL AUTO_INCREMENT, 78 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 79 | `date` VARCHAR(255) 80 | COLLATE utf8_unicode_ci DEFAULT NULL, 81 | `comment` TEXT COLLATE utf8_unicode_ci, 82 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 83 | `documents_id` INT(11) NOT NULL DEFAULT '0', 84 | PRIMARY KEY (`id`), 85 | KEY (`tickets_id`), 86 | KEY (`documents_id`), 87 | KEY (`requesters_id`) 88 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 89 | 90 | -- -------------------------------------------------------- 91 | -- 92 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 93 | -- zone de justification pour l'urgence 94 | -- 95 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 96 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 97 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 98 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 99 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 100 | PRIMARY KEY (`id`), -- index 101 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 102 | ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 103 | -------------------------------------------------------------------------------- /locales/pt_PT.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Project - moreticket plugin\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2019-02-26 15:54+0100\n" 11 | "PO-Revision-Date: 2019-02-26 15:09+0000\n" 12 | "Last-Translator: Mathieu Templier \n" 13 | "Language-Team: Portuguese (Portugal) (http://www.transifex.com/tsmr/GLPI_moreticket/language/pt_PT/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: pt_PT\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: hook.php:200 inc/waitingticket.class.php:139 21 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 22 | #: inc/waitingticket.class.php:390 23 | msgid "Reason" 24 | msgstr "Razão" 25 | 26 | #: hook.php:208 inc/waitingticket.class.php:131 27 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 28 | #: inc/waitingticket.class.php:392 29 | msgid "Postponement date" 30 | msgstr "Data de adiamento" 31 | 32 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249 33 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 34 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 35 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 36 | #: inc/config.class.php:167 37 | msgid "Close ticket informations" 38 | msgstr "Fechar informações do ticket" 39 | 40 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194 41 | msgid "More ticket" 42 | msgstr "Mais incidência" 43 | 44 | #: front/config.form.php:66 45 | msgid "Please activate the plugin" 46 | msgstr "Por favor active o plugin" 47 | 48 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 49 | msgid "Solution description" 50 | msgstr "Descrição da solução" 51 | 52 | #: inc/closeticket.class.php:154 53 | msgid "Ticket cannot be closed" 54 | msgstr "Incidência não pode ser fechada" 55 | 56 | #: inc/closeticket.class.php:576 57 | #, php-format 58 | msgid "%1$s added closing informations" 59 | msgstr "%1$s adicionou informações de fecho" 60 | 61 | #: inc/closeticket.class.php:595 62 | #, php-format 63 | msgid "%1$s updated closing informations" 64 | msgstr "%1$s actualizou informações de fecho" 65 | 66 | #: inc/closeticket.class.php:614 67 | #, php-format 68 | msgid "%1$s deleted closing informations" 69 | msgstr "%1$s apagou informações de fecho" 70 | 71 | #: inc/config.class.php:98 72 | msgid "Ticket waiting" 73 | msgstr "" 74 | 75 | #: inc/config.class.php:102 76 | msgid "Use waiting process" 77 | msgstr "Usar processo de espera" 78 | 79 | #: inc/config.class.php:120 80 | msgid "Report date is mandatory" 81 | msgstr "Data de reporte obrigatória" 82 | 83 | #: inc/config.class.php:127 84 | msgid "Waiting type is mandatory" 85 | msgstr "Tipo de espera é mandatório" 86 | 87 | #: inc/config.class.php:134 88 | msgid "Waiting reason is mandatory" 89 | msgstr "Razão de espera é mandatório" 90 | 91 | #: inc/config.class.php:140 92 | msgid "Ticket resolution and close" 93 | msgstr "" 94 | 95 | #: inc/config.class.php:142 96 | msgid "Use solution process" 97 | msgstr "Usar processo de solução" 98 | 99 | #: inc/config.class.php:160 100 | msgid "Solution type is mandatory" 101 | msgstr "Tipo de solução é mandatório" 102 | 103 | #: inc/config.class.php:173 104 | msgid "Status used to display solution bloc" 105 | msgstr "Estado para mostrar bloco de solução" 106 | 107 | #: inc/config.class.php:186 108 | msgid "Add a followup on immediate ticket closing" 109 | msgstr "Adicionar um acompanhamento após fecho da incidência" 110 | 111 | #: inc/config.class.php:192 112 | msgid "Use the 'Duration' field in the add solution interface" 113 | msgstr "" 114 | 115 | #: inc/config.class.php:206 116 | msgid "Mandatory 'Duration' field" 117 | msgstr "" 118 | 119 | #: inc/config.class.php:211 120 | msgid "Ticket urgency" 121 | msgstr "" 122 | 123 | #: inc/config.class.php:213 124 | msgid "Use a justification of the urgency field" 125 | msgstr "Usar um campo de justificação de urgência " 126 | 127 | #: inc/config.class.php:229 128 | msgid "Urgency impacted justification for the field" 129 | msgstr "Justificação de impacto da urgência para o campo" 130 | 131 | #: inc/profile.class.php:158 132 | msgid "Adding a justification of urgency" 133 | msgstr "A adicionar uma justificação de urgência" 134 | 135 | #: inc/profile.class.php:166 136 | msgid "Hide task duration in tickets" 137 | msgstr "" 138 | 139 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 140 | msgid "Justification" 141 | msgstr "Justificação" 142 | 143 | #: inc/urgencyticket.class.php:92 144 | msgid "Urgency ticket cannot be saved" 145 | msgstr "Incidência de urgência não pode ser guardada" 146 | 147 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 148 | msgid "Ticket cannot be saved" 149 | msgstr "Incidência não pode ser guardada" 150 | 151 | #: inc/waitingticket.class.php:65 152 | msgid "Waiting ticket" 153 | msgid_plural "Waiting tickets" 154 | msgstr[0] "Incidência em espera" 155 | msgstr[1] "Incidências em espera" 156 | 157 | #: inc/waitingticket.class.php:169 158 | msgid "Waiting ticket cannot be saved" 159 | msgstr "Incidência de espera não pode ser guardada" 160 | 161 | #: inc/waitingticket.class.php:175 162 | msgid "Report date is inferior of today's date" 163 | msgstr "Data de reporte é inferior à data de hoje" 164 | 165 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 166 | msgid "Ticket suspension history" 167 | msgstr "Histórico de suspensão da incidência" 168 | 169 | #: inc/waitingticket.class.php:389 170 | msgid "Suspension date" 171 | msgstr "Data de suspensão" 172 | 173 | #: inc/waitingticket.class.php:393 174 | msgid "Suspension end date" 175 | msgstr "Fim da data de suspensão" 176 | 177 | #: inc/waitingticket.class.php:751 178 | msgid "End of standby ticket" 179 | msgstr "Fim de espera da incidência" 180 | 181 | #: inc/waitingtype.class.php:48 182 | msgid "Waiting type" 183 | msgid_plural "Waiting types" 184 | msgstr[0] "Tipo de espera" 185 | msgstr[1] "Tipos de espera" 186 | -------------------------------------------------------------------------------- /inc/notificationticket.class.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | if (!defined('GLPI_ROOT')) { 31 | die("Sorry. You can't access directly to this file"); 32 | } 33 | 34 | /** 35 | * Class PluginMoreticketNotificationTicket 36 | */ 37 | class PluginMoreticketNotificationTicket extends CommonDBTM 38 | { 39 | 40 | public static $types = ['Ticket']; 41 | public $dohistory = true; 42 | public static $rightname = "plugin_moreticket"; 43 | 44 | /** 45 | * @param \Ticket $ticket 46 | */ 47 | public static function afterAddTicket(Ticket $ticket) 48 | { 49 | $notification = new PluginMoreticketNotificationTicket(); 50 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) { 51 | $notification->add( 52 | [ 53 | 'tickets_id' => $ticket->getID(), 54 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 55 | ] 56 | ); 57 | } else { 58 | $notification->update( 59 | [ 60 | 'id' => $notification->getID(), 61 | 'tickets_id' => $ticket->getID(), 62 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 63 | ] 64 | ); 65 | } 66 | } 67 | 68 | /** 69 | * @param \Ticket $ticket 70 | */ 71 | public static function afterUpdateTicket(Ticket $ticket) 72 | { 73 | $notification = new PluginMoreticketNotificationTicket(); 74 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) { 75 | $notification->add( 76 | [ 77 | 'tickets_id' => $ticket->getID(), 78 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 79 | ] 80 | ); 81 | } else { 82 | $notification->update( 83 | [ 84 | 'id' => $notification->getID(), 85 | 'tickets_id' => $ticket->getID(), 86 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 87 | ] 88 | ); 89 | } 90 | } 91 | 92 | /** 93 | * @param \ITILFollowup $followup 94 | * 95 | * @return bool 96 | */ 97 | public static function afterAddFollowup(ITILFollowup $followup) 98 | { 99 | global $DB; 100 | if (!$followup->getField('itemtype') == 'Ticket') { 101 | return false; 102 | } 103 | 104 | $notification = new PluginMoreticketNotificationTicket(); 105 | $ticket = new Ticket(); 106 | $ticket->getFromDB($followup->getField('items_id')); 107 | if ($ticket->getID() > 0) { 108 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) { 109 | $notification->add( 110 | [ 111 | 'tickets_id' => $ticket->getID(), 112 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 113 | ] 114 | ); 115 | } else { 116 | $notification->update( 117 | [ 118 | 'id' => $notification->getID(), 119 | 'tickets_id' => $ticket->getID(), 120 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater') 121 | ] 122 | ); 123 | } 124 | } 125 | } 126 | 127 | public static function getSpecificValueToDisplay($field, $values, array $options = []) 128 | { 129 | 130 | if (!is_array($values)) { 131 | $values = [$field => $values]; 132 | } 133 | switch ($field) { 134 | case 'users_id_lastupdater': 135 | $res = " "; 136 | $ticketUsers = new Ticket_User(); 137 | // if ($values['users_id_lastupdater'] != Session::getLoginUserID()) { 138 | // if ($ticketUsers->getFromDBByCrit(['tickets_id' => $values['tickets_id'], 139 | // 'users_id' => $values['users_id_lastupdater'], 140 | // 'type' => Ticket_User::REQUESTER])) { 141 | // if (!$ticketUsers->getFromDBByCrit(['tickets_id' => $values['tickets_id'], 142 | // 'users_id' => $values['users_id_lastupdater'], 143 | // 'type' => Ticket_User::ASSIGN])) { 144 | $res = ""; 145 | // } 146 | // } 147 | // } 148 | 149 | return $res; 150 | break; 151 | } 152 | return parent::getSpecificValueToDisplay($field, $values, $options); 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /locales/en_GB.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Project - moreticket plugin\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2019-02-26 15:54+0100\n" 11 | "PO-Revision-Date: 2019-02-26 15:09+0000\n" 12 | "Last-Translator: Mathieu Templier \n" 13 | "Language-Team: English (United Kingdom) (http://www.transifex.com/tsmr/GLPI_moreticket/language/en_GB/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: en_GB\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: hook.php:200 inc/waitingticket.class.php:139 21 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 22 | #: inc/waitingticket.class.php:390 23 | msgid "Reason" 24 | msgstr "Reason" 25 | 26 | #: hook.php:208 inc/waitingticket.class.php:131 27 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 28 | #: inc/waitingticket.class.php:392 29 | msgid "Postponement date" 30 | msgstr "Postponement date" 31 | 32 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249 33 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 34 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 35 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 36 | #: inc/config.class.php:167 37 | msgid "Close ticket informations" 38 | msgstr "Close ticket informations" 39 | 40 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194 41 | msgid "More ticket" 42 | msgstr "More ticket" 43 | 44 | #: front/config.form.php:66 45 | msgid "Please activate the plugin" 46 | msgstr "Please activate the plugin" 47 | 48 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 49 | msgid "Solution description" 50 | msgstr "Solution description" 51 | 52 | #: inc/closeticket.class.php:154 53 | msgid "Ticket cannot be closed" 54 | msgstr "Ticket cannot be closed" 55 | 56 | #: inc/closeticket.class.php:576 57 | #, php-format 58 | msgid "%1$s added closing informations" 59 | msgstr "%1$s added closing informations" 60 | 61 | #: inc/closeticket.class.php:595 62 | #, php-format 63 | msgid "%1$s updated closing informations" 64 | msgstr "%1$s updated closing informations" 65 | 66 | #: inc/closeticket.class.php:614 67 | #, php-format 68 | msgid "%1$s deleted closing informations" 69 | msgstr "%1$s deleted closing informations" 70 | 71 | #: inc/config.class.php:98 72 | msgid "Ticket waiting" 73 | msgstr "Ticket waiting" 74 | 75 | #: inc/config.class.php:102 76 | msgid "Use waiting process" 77 | msgstr "Use waiting process" 78 | 79 | #: inc/config.class.php:120 80 | msgid "Report date is mandatory" 81 | msgstr "Report date is mandatory" 82 | 83 | #: inc/config.class.php:127 84 | msgid "Waiting type is mandatory" 85 | msgstr "Waiting type is mandatory" 86 | 87 | #: inc/config.class.php:134 88 | msgid "Waiting reason is mandatory" 89 | msgstr "Waiting reason is mandatory" 90 | 91 | #: inc/config.class.php:140 92 | msgid "Ticket resolution and close" 93 | msgstr "Ticket resolution and close" 94 | 95 | #: inc/config.class.php:142 96 | msgid "Use solution process" 97 | msgstr "Use solution process" 98 | 99 | #: inc/config.class.php:160 100 | msgid "Solution type is mandatory" 101 | msgstr "Solution type is mandatory" 102 | 103 | #: inc/config.class.php:173 104 | msgid "Status used to display solution bloc" 105 | msgstr "Status used to display solution bloc" 106 | 107 | #: inc/config.class.php:186 108 | msgid "Add a followup on immediate ticket closing" 109 | msgstr "Add a followup on immediate ticket closing" 110 | 111 | #: inc/config.class.php:192 112 | msgid "Use the 'Duration' field in the add solution interface" 113 | msgstr "Use the 'Duration' field in the add solution interface" 114 | 115 | #: inc/config.class.php:206 116 | msgid "Mandatory 'Duration' field" 117 | msgstr "Mandatory 'Duration' field" 118 | 119 | #: inc/config.class.php:211 120 | msgid "Ticket urgency" 121 | msgstr "Ticket urgency" 122 | 123 | #: inc/config.class.php:213 124 | msgid "Use a justification of the urgency field" 125 | msgstr "Use a justification of the urgency field" 126 | 127 | #: inc/config.class.php:229 128 | msgid "Urgency impacted justification for the field" 129 | msgstr "Urgency impacted justification for the field" 130 | 131 | #: inc/profile.class.php:158 132 | msgid "Adding a justification of urgency" 133 | msgstr "Adding a justification of urgency" 134 | 135 | #: inc/profile.class.php:166 136 | msgid "Hide task duration in tickets" 137 | msgstr "Hide task duration in tickets" 138 | 139 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 140 | msgid "Justification" 141 | msgstr "Justification" 142 | 143 | #: inc/urgencyticket.class.php:92 144 | msgid "Urgency ticket cannot be saved" 145 | msgstr "Urgency ticket cannot be saved" 146 | 147 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 148 | msgid "Ticket cannot be saved" 149 | msgstr "Ticket cannot be saved" 150 | 151 | #: inc/waitingticket.class.php:65 152 | msgid "Waiting ticket" 153 | msgid_plural "Waiting tickets" 154 | msgstr[0] "Waiting ticket" 155 | msgstr[1] "Waiting tickets" 156 | 157 | #: inc/waitingticket.class.php:169 158 | msgid "Waiting ticket cannot be saved" 159 | msgstr "Waiting ticket cannot be saved" 160 | 161 | #: inc/waitingticket.class.php:175 162 | msgid "Report date is inferior of today's date" 163 | msgstr "Report date is inferior of today's date" 164 | 165 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 166 | msgid "Ticket suspension history" 167 | msgstr "Ticket suspension history" 168 | 169 | #: inc/waitingticket.class.php:389 170 | msgid "Suspension date" 171 | msgstr "Suspension date" 172 | 173 | #: inc/waitingticket.class.php:393 174 | msgid "Suspension end date" 175 | msgstr "Suspension end date" 176 | 177 | #: inc/waitingticket.class.php:751 178 | msgid "End of standby ticket" 179 | msgstr "End of standby ticket" 180 | 181 | #: inc/waitingtype.class.php:48 182 | msgid "Waiting type" 183 | msgid_plural "Waiting types" 184 | msgstr[0] "Waiting type" 185 | msgstr[1] "Waiting types" 186 | -------------------------------------------------------------------------------- /locales/fi_FI.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # 5 | # Translators: 6 | # Markku Vepsä, 2018 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Project - moreticket plugin\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2019-02-26 15:54+0100\n" 12 | "PO-Revision-Date: 2019-02-26 15:09+0000\n" 13 | "Last-Translator: Mathieu Templier \n" 14 | "Language-Team: Finnish (Finland) (http://www.transifex.com/tsmr/GLPI_moreticket/language/fi_FI/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: fi_FI\n" 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 20 | 21 | #: hook.php:200 inc/waitingticket.class.php:139 22 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 23 | #: inc/waitingticket.class.php:390 24 | msgid "Reason" 25 | msgstr "Syy" 26 | 27 | #: hook.php:208 inc/waitingticket.class.php:131 28 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 29 | #: inc/waitingticket.class.php:392 30 | msgid "Postponement date" 31 | msgstr "Lykkäyspäivä" 32 | 33 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249 34 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 35 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 36 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 37 | #: inc/config.class.php:167 38 | msgid "Close ticket informations" 39 | msgstr "Sulje tiketin tiedot" 40 | 41 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194 42 | msgid "More ticket" 43 | msgstr "Lisää tiketöintiä" 44 | 45 | #: front/config.form.php:66 46 | msgid "Please activate the plugin" 47 | msgstr "Ole hyvä ja aktivoi liitännäinen" 48 | 49 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 50 | msgid "Solution description" 51 | msgstr "Ratkaisun kuvaus" 52 | 53 | #: inc/closeticket.class.php:154 54 | msgid "Ticket cannot be closed" 55 | msgstr "Tikettiä ei voida sulkea" 56 | 57 | #: inc/closeticket.class.php:576 58 | #, php-format 59 | msgid "%1$s added closing informations" 60 | msgstr "%1$s lisätty sulkemista koskevat tiedot" 61 | 62 | #: inc/closeticket.class.php:595 63 | #, php-format 64 | msgid "%1$s updated closing informations" 65 | msgstr "%1$s päivitetty sulkemista koskevat tiedot" 66 | 67 | #: inc/closeticket.class.php:614 68 | #, php-format 69 | msgid "%1$s deleted closing informations" 70 | msgstr "%1$s poistettu sulkemista koskevat tiedot" 71 | 72 | #: inc/config.class.php:98 73 | msgid "Ticket waiting" 74 | msgstr "Odottava tiketti" 75 | 76 | #: inc/config.class.php:102 77 | msgid "Use waiting process" 78 | msgstr "Käytä odotus menetelmää" 79 | 80 | #: inc/config.class.php:120 81 | msgid "Report date is mandatory" 82 | msgstr "Raportin päivämäärä on pakollinen" 83 | 84 | #: inc/config.class.php:127 85 | msgid "Waiting type is mandatory" 86 | msgstr "Odotuksen tyyppi on pakollinen" 87 | 88 | #: inc/config.class.php:134 89 | msgid "Waiting reason is mandatory" 90 | msgstr "Odotuksen syy on pakollinen" 91 | 92 | #: inc/config.class.php:140 93 | msgid "Ticket resolution and close" 94 | msgstr "Tiketin ratkaisu ja sulkeminen" 95 | 96 | #: inc/config.class.php:142 97 | msgid "Use solution process" 98 | msgstr "Käytä ratkaisuprosessia" 99 | 100 | #: inc/config.class.php:160 101 | msgid "Solution type is mandatory" 102 | msgstr "Ratkaisun tyyppi on pakollinen" 103 | 104 | #: inc/config.class.php:173 105 | msgid "Status used to display solution bloc" 106 | msgstr "Tila, jota käytetään näyttämään ratkaisuryhmä" 107 | 108 | #: inc/config.class.php:186 109 | msgid "Add a followup on immediate ticket closing" 110 | msgstr "Lisää seuranta välittömään tiketin sulkemiseen" 111 | 112 | #: inc/config.class.php:192 113 | msgid "Use the 'Duration' field in the add solution interface" 114 | msgstr "Käytä Lisää ratkaisu -rajapinnan 'Kesto' -kenttää" 115 | 116 | #: inc/config.class.php:206 117 | msgid "Mandatory 'Duration' field" 118 | msgstr "Pakollinen 'Kesto' -kenttä" 119 | 120 | #: inc/config.class.php:211 121 | msgid "Ticket urgency" 122 | msgstr "Tiketin kiireellisyys" 123 | 124 | #: inc/config.class.php:213 125 | msgid "Use a justification of the urgency field" 126 | msgstr "Käytä kiireellisyyskentän perustelua" 127 | 128 | #: inc/config.class.php:229 129 | msgid "Urgency impacted justification for the field" 130 | msgstr "Kiireellisyys vaikutti kentän perusteluun" 131 | 132 | #: inc/profile.class.php:158 133 | msgid "Adding a justification of urgency" 134 | msgstr "Lisää perustelu kiireellisyydelle" 135 | 136 | #: inc/profile.class.php:166 137 | msgid "Hide task duration in tickets" 138 | msgstr "" 139 | 140 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 141 | msgid "Justification" 142 | msgstr "Perustelu" 143 | 144 | #: inc/urgencyticket.class.php:92 145 | msgid "Urgency ticket cannot be saved" 146 | msgstr "Kiireellisyys tikettiä ei voida tallentaa" 147 | 148 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 149 | msgid "Ticket cannot be saved" 150 | msgstr "Tikettiä ei voida tallentaa" 151 | 152 | #: inc/waitingticket.class.php:65 153 | msgid "Waiting ticket" 154 | msgid_plural "Waiting tickets" 155 | msgstr[0] "Odottava tiketti" 156 | msgstr[1] "Odottavat tiketit" 157 | 158 | #: inc/waitingticket.class.php:169 159 | msgid "Waiting ticket cannot be saved" 160 | msgstr "Odottavaa tikettiä ei voida tallentaa" 161 | 162 | #: inc/waitingticket.class.php:175 163 | msgid "Report date is inferior of today's date" 164 | msgstr "Raportin päivämäärä on tätä päivää aiempi" 165 | 166 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 167 | msgid "Ticket suspension history" 168 | msgstr "Tiketin keskeytys historia" 169 | 170 | #: inc/waitingticket.class.php:389 171 | msgid "Suspension date" 172 | msgstr "Keskeytyspäivä" 173 | 174 | #: inc/waitingticket.class.php:393 175 | msgid "Suspension end date" 176 | msgstr "Keskeytyksen päättymispäivä" 177 | 178 | #: inc/waitingticket.class.php:751 179 | msgid "End of standby ticket" 180 | msgstr "Tiketin valmiustilan loppu" 181 | 182 | #: inc/waitingtype.class.php:48 183 | msgid "Waiting type" 184 | msgid_plural "Waiting types" 185 | msgstr[0] "Odotuksen tyyppi" 186 | msgstr[1] "Odotuksien tyypit" 187 | -------------------------------------------------------------------------------- /locales/ru_RU.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # 5 | # Translators: 6 | # Alexey Petukhov , 2016 7 | # Andrey Saridzha, 2015 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Project - moreticket plugin\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2019-02-26 15:54+0100\n" 13 | "PO-Revision-Date: 2019-02-26 15:09+0000\n" 14 | "Last-Translator: Mathieu Templier \n" 15 | "Language-Team: Russian (Russia) (http://www.transifex.com/tsmr/GLPI_moreticket/language/ru_RU/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: ru_RU\n" 20 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 21 | 22 | #: hook.php:200 inc/waitingticket.class.php:139 23 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 24 | #: inc/waitingticket.class.php:390 25 | msgid "Reason" 26 | msgstr "Причина" 27 | 28 | #: hook.php:208 inc/waitingticket.class.php:131 29 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 30 | #: inc/waitingticket.class.php:392 31 | msgid "Postponement date" 32 | msgstr "Дата отсрочки" 33 | 34 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249 35 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 36 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 37 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 38 | #: inc/config.class.php:167 39 | msgid "Close ticket informations" 40 | msgstr "Информация о закрытии заявки" 41 | 42 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194 43 | msgid "More ticket" 44 | msgstr "Еще заявка" 45 | 46 | #: front/config.form.php:66 47 | msgid "Please activate the plugin" 48 | msgstr "Включите плагин" 49 | 50 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 51 | msgid "Solution description" 52 | msgstr "Описание решения" 53 | 54 | #: inc/closeticket.class.php:154 55 | msgid "Ticket cannot be closed" 56 | msgstr "Заявка не может быть закрыта" 57 | 58 | #: inc/closeticket.class.php:576 59 | #, php-format 60 | msgid "%1$s added closing informations" 61 | msgstr "%1$s добавлена информация при закрытии" 62 | 63 | #: inc/closeticket.class.php:595 64 | #, php-format 65 | msgid "%1$s updated closing informations" 66 | msgstr "%1$s обновлена информация при закрытии" 67 | 68 | #: inc/closeticket.class.php:614 69 | #, php-format 70 | msgid "%1$s deleted closing informations" 71 | msgstr "%1$s удалена информация при закрытии" 72 | 73 | #: inc/config.class.php:98 74 | msgid "Ticket waiting" 75 | msgstr "" 76 | 77 | #: inc/config.class.php:102 78 | msgid "Use waiting process" 79 | msgstr "Использовать процесс ожидания" 80 | 81 | #: inc/config.class.php:120 82 | msgid "Report date is mandatory" 83 | msgstr "Дата отчета является обязательным" 84 | 85 | #: inc/config.class.php:127 86 | msgid "Waiting type is mandatory" 87 | msgstr "Тип ожидания является обязательным" 88 | 89 | #: inc/config.class.php:134 90 | msgid "Waiting reason is mandatory" 91 | msgstr "Причина ожидания является обязательной" 92 | 93 | #: inc/config.class.php:140 94 | msgid "Ticket resolution and close" 95 | msgstr "" 96 | 97 | #: inc/config.class.php:142 98 | msgid "Use solution process" 99 | msgstr "Использовать процесс решения" 100 | 101 | #: inc/config.class.php:160 102 | msgid "Solution type is mandatory" 103 | msgstr "Тип решения является обязательным" 104 | 105 | #: inc/config.class.php:173 106 | msgid "Status used to display solution bloc" 107 | msgstr "Использовать статус для отображения блока решения" 108 | 109 | #: inc/config.class.php:186 110 | msgid "Add a followup on immediate ticket closing" 111 | msgstr "Добавить заметку на немедленное закрытие заявки" 112 | 113 | #: inc/config.class.php:192 114 | msgid "Use the 'Duration' field in the add solution interface" 115 | msgstr "" 116 | 117 | #: inc/config.class.php:206 118 | msgid "Mandatory 'Duration' field" 119 | msgstr "" 120 | 121 | #: inc/config.class.php:211 122 | msgid "Ticket urgency" 123 | msgstr "" 124 | 125 | #: inc/config.class.php:213 126 | msgid "Use a justification of the urgency field" 127 | msgstr "Использовать обоснование для поля срочности" 128 | 129 | #: inc/config.class.php:229 130 | msgid "Urgency impacted justification for the field" 131 | msgstr "Обоснование влияния срочности для заявки" 132 | 133 | #: inc/profile.class.php:158 134 | msgid "Adding a justification of urgency" 135 | msgstr "Добавлять обоснование срочности" 136 | 137 | #: inc/profile.class.php:166 138 | msgid "Hide task duration in tickets" 139 | msgstr "" 140 | 141 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 142 | msgid "Justification" 143 | msgstr "Обоснование" 144 | 145 | #: inc/urgencyticket.class.php:92 146 | msgid "Urgency ticket cannot be saved" 147 | msgstr "Срочная заявка не может быть сохранена" 148 | 149 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 150 | msgid "Ticket cannot be saved" 151 | msgstr "Заявка не может быть сохранена" 152 | 153 | #: inc/waitingticket.class.php:65 154 | msgid "Waiting ticket" 155 | msgid_plural "Waiting tickets" 156 | msgstr[0] "Ожидающая заявка" 157 | msgstr[1] "Ожидающая заявка" 158 | msgstr[2] "Ожидающая заявка" 159 | msgstr[3] "Ожидающие заявки" 160 | 161 | #: inc/waitingticket.class.php:169 162 | msgid "Waiting ticket cannot be saved" 163 | msgstr "Ожидающая заявка не может быть сохранена" 164 | 165 | #: inc/waitingticket.class.php:175 166 | msgid "Report date is inferior of today's date" 167 | msgstr "Дата отчета позднее сегодняшней даты" 168 | 169 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 170 | msgid "Ticket suspension history" 171 | msgstr "История приостановки заявок" 172 | 173 | #: inc/waitingticket.class.php:389 174 | msgid "Suspension date" 175 | msgstr "Дата приостановки" 176 | 177 | #: inc/waitingticket.class.php:393 178 | msgid "Suspension end date" 179 | msgstr "Дата возобновления" 180 | 181 | #: inc/waitingticket.class.php:751 182 | msgid "End of standby ticket" 183 | msgstr "Конец ожидания заявки" 184 | 185 | #: inc/waitingtype.class.php:48 186 | msgid "Waiting type" 187 | msgid_plural "Waiting types" 188 | msgstr[0] "Тип ожидания" 189 | msgstr[1] "Типы ожидания" 190 | msgstr[2] "Типы ожидания" 191 | msgstr[3] "Типы ожидания" 192 | -------------------------------------------------------------------------------- /locales/cs_CZ.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # 5 | # Translators: 6 | # Pavel Borecki , 2018 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Project - moreticket plugin\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2019-02-26 15:54+0100\n" 12 | "PO-Revision-Date: 2019-02-26 15:09+0000\n" 13 | "Last-Translator: Mathieu Templier \n" 14 | "Language-Team: Czech (Czech Republic) (http://www.transifex.com/tsmr/GLPI_moreticket/language/cs_CZ/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: cs_CZ\n" 19 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" 20 | 21 | #: hook.php:200 inc/waitingticket.class.php:139 22 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 23 | #: inc/waitingticket.class.php:390 24 | msgid "Reason" 25 | msgstr "Důvod" 26 | 27 | #: hook.php:208 inc/waitingticket.class.php:131 28 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 29 | #: inc/waitingticket.class.php:392 30 | msgid "Postponement date" 31 | msgstr "Datum na které odložit" 32 | 33 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249 34 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 35 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 36 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 37 | #: inc/config.class.php:167 38 | msgid "Close ticket informations" 39 | msgstr "Informace o uzavření požadavku" 40 | 41 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194 42 | msgid "More ticket" 43 | msgstr "Více k požadavku" 44 | 45 | #: front/config.form.php:66 46 | msgid "Please activate the plugin" 47 | msgstr "Zapněte zásuvný modul" 48 | 49 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 50 | msgid "Solution description" 51 | msgstr "Popis řešení" 52 | 53 | #: inc/closeticket.class.php:154 54 | msgid "Ticket cannot be closed" 55 | msgstr "Požadavek není možné uzavřít" 56 | 57 | #: inc/closeticket.class.php:576 58 | #, php-format 59 | msgid "%1$s added closing informations" 60 | msgstr "%1$s přidal informace o uzavření" 61 | 62 | #: inc/closeticket.class.php:595 63 | #, php-format 64 | msgid "%1$s updated closing informations" 65 | msgstr "%1$s aktualizoval informace o uzavření" 66 | 67 | #: inc/closeticket.class.php:614 68 | #, php-format 69 | msgid "%1$s deleted closing informations" 70 | msgstr "%1$s smazal informace o uzavření" 71 | 72 | #: inc/config.class.php:98 73 | msgid "Ticket waiting" 74 | msgstr "Čekající požadavek" 75 | 76 | #: inc/config.class.php:102 77 | msgid "Use waiting process" 78 | msgstr "Použít čekající proces" 79 | 80 | #: inc/config.class.php:120 81 | msgid "Report date is mandatory" 82 | msgstr "Je třeba vyplnit datum odkladu" 83 | 84 | #: inc/config.class.php:127 85 | msgid "Waiting type is mandatory" 86 | msgstr "Typ čekání je třeba vyplnit" 87 | 88 | #: inc/config.class.php:134 89 | msgid "Waiting reason is mandatory" 90 | msgstr "Důvod čekání je třeba vyplnit" 91 | 92 | #: inc/config.class.php:140 93 | msgid "Ticket resolution and close" 94 | msgstr "Vyřešení a uzavření požadavku" 95 | 96 | #: inc/config.class.php:142 97 | msgid "Use solution process" 98 | msgstr "Použít proces řešení" 99 | 100 | #: inc/config.class.php:160 101 | msgid "Solution type is mandatory" 102 | msgstr "Je třeba vyplnit typ řešení" 103 | 104 | #: inc/config.class.php:173 105 | msgid "Status used to display solution bloc" 106 | msgstr "Stav použitý pro zobrazení bloku řešení" 107 | 108 | #: inc/config.class.php:186 109 | msgid "Add a followup on immediate ticket closing" 110 | msgstr "Při uzavírání požadavku přidejte následnou komunikaci" 111 | 112 | #: inc/config.class.php:192 113 | msgid "Use the 'Duration' field in the add solution interface" 114 | msgstr "V rozhraní pro přidání řešení použijte kolonku „Doba trvání“" 115 | 116 | #: inc/config.class.php:206 117 | msgid "Mandatory 'Duration' field" 118 | msgstr "Povinná kolonka „Doba trvání“" 119 | 120 | #: inc/config.class.php:211 121 | msgid "Ticket urgency" 122 | msgstr "Naléhavost požadavku" 123 | 124 | #: inc/config.class.php:213 125 | msgid "Use a justification of the urgency field" 126 | msgstr "Použít zdůvodnění kolonky naléhavost" 127 | 128 | #: inc/config.class.php:229 129 | msgid "Urgency impacted justification for the field" 130 | msgstr "Naléhavostí ovlivněné zdůvodnění pro tuto kolonku" 131 | 132 | #: inc/profile.class.php:158 133 | msgid "Adding a justification of urgency" 134 | msgstr "Přidává se odůvodnění naléhavosti" 135 | 136 | #: inc/profile.class.php:166 137 | msgid "Hide task duration in tickets" 138 | msgstr "" 139 | 140 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 141 | msgid "Justification" 142 | msgstr "Odůvodnění" 143 | 144 | #: inc/urgencyticket.class.php:92 145 | msgid "Urgency ticket cannot be saved" 146 | msgstr "Naléhavost požadavku se nedaří uložit" 147 | 148 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 149 | msgid "Ticket cannot be saved" 150 | msgstr "Požadavek není možné uložit" 151 | 152 | #: inc/waitingticket.class.php:65 153 | msgid "Waiting ticket" 154 | msgid_plural "Waiting tickets" 155 | msgstr[0] "Čekající požadavek" 156 | msgstr[1] "Čekající požadavky" 157 | msgstr[2] "Čekajících požadavků" 158 | msgstr[3] "Čekající požadavky" 159 | 160 | #: inc/waitingticket.class.php:169 161 | msgid "Waiting ticket cannot be saved" 162 | msgstr "Čekající požadavek není možné uložit" 163 | 164 | #: inc/waitingticket.class.php:175 165 | msgid "Report date is inferior of today's date" 166 | msgstr "Datum odkladu je dřívější než to dnešní" 167 | 168 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 169 | msgid "Ticket suspension history" 170 | msgstr "Historie suspendování požadavku" 171 | 172 | #: inc/waitingticket.class.php:389 173 | msgid "Suspension date" 174 | msgstr "Datum suspendování" 175 | 176 | #: inc/waitingticket.class.php:393 177 | msgid "Suspension end date" 178 | msgstr "Datum konce suspendování" 179 | 180 | #: inc/waitingticket.class.php:751 181 | msgid "End of standby ticket" 182 | msgstr "Konec pohotovosti požadavku" 183 | 184 | #: inc/waitingtype.class.php:48 185 | msgid "Waiting type" 186 | msgid_plural "Waiting types" 187 | msgstr[0] "Typ čekání" 188 | msgstr[1] "Typy čekání" 189 | msgstr[2] "Typů čekání" 190 | msgstr[3] "Typy čekání" 191 | -------------------------------------------------------------------------------- /inc/crontask.class.php: -------------------------------------------------------------------------------- 1 | . 24 | -------------------------------------------------------------------------- 25 | */ 26 | 27 | class PluginMoreticketCrontask extends CommonDBTM 28 | { 29 | 30 | // public static function getTypeName($nb = 0) 31 | // { 32 | // return __('More ticket', 'moreticket'); 33 | // } 34 | // 35 | // public static function MoreticketFollowup() 36 | // { 37 | // $ticket = new Ticket(); 38 | // $tickets = $ticket->find(['status' => Ticket::WAITING , 'is_deleted' => "0"]); 39 | // $conf = new PluginMoreticketConfig(); 40 | // $day = $conf->getField("day_sending"); 41 | // $count = 0; 42 | // if (intval($day) > 0) { 43 | // foreach ($tickets as $t) { 44 | // $calendar = new Calendar(); 45 | // $calendars_id = Entity::getUsedConfig('calendars_strategy', $t['entities_id'], 'calendars_id', 0); 46 | // if ($calendars_id > 0 && $calendar->getFromDB($calendars_id)) { 47 | // $cache_duration = $calendar->getDurationsCache(); 48 | // $day_time = $cache_duration[1] * intval($day); 49 | // $enddate = $calendar->computeEndDate($t["begin_waiting_date"], $day_time); 50 | // $enddate = strtotime($enddate); 51 | // } else { 52 | // // cas 24/24 - 7/7 53 | // $day_time = DAY_TIMESTAMP * intval($day); 54 | // $begin_time = strtotime($t["begin_waiting_date"]); 55 | // $enddate = $begin_time + $day_time; 56 | // } 57 | // $today = strtotime(date('Y-m-d H:i:s')); 58 | // if ($enddate < $today && strtotime($t["date_mod"]) <= strtotime($t["begin_waiting_date"])) { 59 | // $followup = new TicketFollowup(); 60 | // $input = []; 61 | // $input['tickets_id'] = $t['id']; 62 | // $input['_status'] = Ticket::WAITING; 63 | // $input['content'] = $conf->getField("followup_text"); 64 | // 65 | // $followup->add($input); 66 | // $count++; 67 | // } 68 | // } 69 | // } 70 | // return $count; 71 | // } 72 | // 73 | // 74 | // public static function MoreticketClosing() 75 | // { 76 | // $ticket = new Ticket(); 77 | // $tickets = $ticket->find(['status' => Ticket::WAITING , 'is_deleted' => "0"]); 78 | // $conf = new PluginMoreticketConfig(); 79 | // $day = $conf->getField("day_sending"); 80 | // $dayClose = $conf->getField("day_closing"); 81 | // $count = 0; 82 | // if ($dayClose > 0) { 83 | // foreach ($tickets as $t) { 84 | // $calendar = new Calendar(); 85 | // $calendars_id = Entity::getUsedConfig('calendars_strategy', $t['entities_id'], 'calendars_id', 0); 86 | // 87 | // if ($calendars_id > 0 && $calendar->getFromDB($calendars_id)) { 88 | // $cache_duration = $calendar->getDurationsCache(); 89 | // $day_time = $cache_duration[1] * intval($day) + $cache_duration[1] * $dayClose; 90 | // $enddate = $calendar->computeEndDate($t["begin_waiting_date"], $day_time); 91 | // $enddate = strtotime($enddate); 92 | // } else { 93 | // // cas 24/24 - 7/7 94 | // $enddate = strtotime($t["begin_waiting_date"]) + (DAY_TIMESTAMP * $day) + (DAY_TIMESTAMP * $dayClose); 95 | // } 96 | // 97 | // $today = strtotime(date('Y-m-d H:i:s')); 98 | // $problemTicket = new Problem_Ticket(); 99 | // if ($enddate < $today && strtotime($t["date_mod"]) > strtotime($t["begin_waiting_date"]) 100 | // && (strtotime($t["date_mod"]) + (DAY_TIMESTAMP * $dayClose)) < $today 101 | // && ($conf->getField('closing_with_problem') == 1 102 | // || ($conf->getField('closing_with_problem') == 0 103 | // && count($problemTicket->find(['tickets_id' => $t['id']])) > 0))) { 104 | // $input = []; 105 | // $input['id'] = $t['id']; 106 | // $input['status'] = Ticket::CLOSED; 107 | // $input['notifSatisfaction'] = false; 108 | // 109 | // $ticket->update($input); 110 | // $count++; 111 | // } 112 | // } 113 | // } 114 | // return $count; 115 | // 116 | // } 117 | // 118 | // /** 119 | // * @param $name 120 | // * 121 | // * @return array 122 | // */ 123 | // static function cronInfo($name) 124 | // { 125 | // 126 | // switch ($name) { 127 | // case 'MoreticketFollowup': 128 | // return [ 129 | // 'description' => __('Moreticket - Send a followup to waiting ticket', 'moreticket')]; // Optional 130 | // break; 131 | // case 'MoreticketClosing': 132 | // return [ 133 | // 'description' => __('Moreticket - Closed the tickets that did not respond to the follow-up', 'moreticket')]; // Optional 134 | // break; 135 | // } 136 | // return []; 137 | // } 138 | // 139 | // /** 140 | // * 141 | // * @param $task for log, if NULL display 142 | // * 143 | // * 144 | // * @return int 145 | // */ 146 | // static function cronMoreticketClosing($task = null) 147 | // { 148 | // global $DB, $CFG_GLPI; 149 | // 150 | // $result = self::MoreticketClosing(); 151 | // $task->addVolume($result); 152 | // return $result; 153 | // } 154 | // 155 | // static function cronMoreticketFollowup($task = null) 156 | // { 157 | // global $DB, $CFG_GLPI; 158 | // 159 | // $result = self::MoreticketFollowup(); 160 | // $task->addVolume($result); 161 | // return $result; 162 | // } 163 | } 164 | -------------------------------------------------------------------------------- /locales/glpi.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2025-12-06 11:18+0000\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 20 | 21 | #: inc/closeticket.class.php:679 22 | #, php-format 23 | msgid "%1$s added closing informations" 24 | msgstr "" 25 | 26 | #: inc/closeticket.class.php:721 27 | #, php-format 28 | msgid "%1$s deleted closing informations" 29 | msgstr "" 30 | 31 | #: inc/closeticket.class.php:700 32 | #, php-format 33 | msgid "%1$s updated closing informations" 34 | msgstr "" 35 | 36 | #: inc/waitingticket.class.php:1108 37 | #, php-format 38 | msgid "%s duplicates deleted" 39 | msgstr "" 40 | 41 | #: templates/config.html.twig:151 42 | msgid "Add a followup on immediate ticket closing" 43 | msgstr "" 44 | 45 | #: templates/config.html.twig:75 46 | msgid "Add followup when waiting date is reached" 47 | msgstr "" 48 | 49 | #: inc/profile.class.php:180 50 | msgid "Adding a justification of urgency" 51 | msgstr "" 52 | 53 | #: templates/config.html.twig:82 54 | msgid "Check by default to put the ticket on waiting when adding a follow-up" 55 | msgstr "" 56 | 57 | #: templates/config.html.twig:89 58 | msgid "Check by default to put the ticket on waiting when adding a task" 59 | msgstr "" 60 | 61 | #: inc/closeticket.class.php:77 inc/closeticket.class.php:84 62 | #: inc/closeticket.class.php:125 inc/closeticket.class.php:192 63 | #: inc/closeticket.class.php:348 inc/closeticket.class.php:402 hook.php:268 64 | #: hook.php:275 hook.php:282 hook.php:289 templates/config.html.twig:118 65 | msgid "Close ticket informations" 66 | msgstr "" 67 | 68 | #: hook.php:332 69 | msgid "Duration is mandatory" 70 | msgstr "" 71 | 72 | #: inc/waitingticket.class.php:908 73 | msgid "End of standby ticket" 74 | msgstr "" 75 | 76 | #: inc/profile.class.php:188 77 | msgid "Hide task duration in tickets" 78 | msgstr "" 79 | 80 | #: inc/urgencyticket.class.php:72 inc/urgencyticket.class.php:169 81 | msgid "Justification" 82 | msgstr "" 83 | 84 | #: templates/config.html.twig:167 85 | msgid "Mandatory 'Duration' field" 86 | msgstr "" 87 | 88 | #: setup.php:130 inc/profile.class.php:50 inc/profile.class.php:217 89 | msgid "More ticket" 90 | msgstr "" 91 | 92 | #: front/config.form.php:63 93 | msgid "Please activate the plugin" 94 | msgstr "" 95 | 96 | #: inc/waitingticket.class.php:144 inc/waitingticket.class.php:264 97 | #: inc/waitingticket.class.php:341 inc/waitingticket.class.php:450 98 | msgid "Postponement date" 99 | msgstr "" 100 | 101 | #: inc/waitingticket.class.php:184 102 | msgid "Postponement date is inferior of today's date" 103 | msgstr "" 104 | 105 | #: templates/config.html.twig:61 106 | msgid "Postponement date is mandatory" 107 | msgstr "" 108 | 109 | #: inc/waitingticket.class.php:148 inc/waitingticket.class.php:248 110 | #: inc/waitingticket.class.php:334 inc/waitingticket.class.php:448 111 | msgid "Reason" 112 | msgstr "" 113 | 114 | #: templates/config.html.twig:234 115 | msgctxt "button" 116 | msgid "Save" 117 | msgstr "" 118 | 119 | #: inc/closeticket.class.php:141 inc/closeticket.class.php:522 120 | msgid "Solution description" 121 | msgstr "" 122 | 123 | #: templates/config.html.twig:111 124 | msgid "Solution type is mandatory" 125 | msgstr "" 126 | 127 | #: templates/config.html.twig:124 128 | msgid "Status used to display solution block" 129 | msgstr "" 130 | 131 | #: inc/waitingticket.class.php:447 132 | msgid "Suspension date" 133 | msgstr "" 134 | 135 | #: inc/waitingticket.class.php:451 136 | msgid "Suspension end date" 137 | msgstr "" 138 | 139 | #: inc/closeticket.class.php:161 140 | msgid "Ticket cannot be closed" 141 | msgstr "" 142 | 143 | #: inc/urgencyticket.class.php:97 inc/waitingticket.class.php:180 144 | msgid "Ticket cannot be saved" 145 | msgstr "" 146 | 147 | #: templates/config.html.twig:95 148 | msgid "Ticket solution and close" 149 | msgstr "" 150 | 151 | #: inc/waitingticket.class.php:444 inc/waitingticket.class.php:487 152 | msgid "Ticket suspension history" 153 | msgstr "" 154 | 155 | #: templates/config.html.twig:174 156 | msgid "Ticket urgency" 157 | msgstr "" 158 | 159 | #: inc/waitingticket.class.php:956 templates/config.html.twig:43 160 | msgid "Ticket waiting" 161 | msgstr "" 162 | 163 | #: templates/config.html.twig:197 164 | msgid "Update ticket status" 165 | msgstr "" 166 | 167 | #: templates/config.html.twig:217 168 | msgid "Update ticket status to pending after a technician adds a follow up" 169 | msgstr "" 170 | 171 | #: templates/config.html.twig:224 172 | msgid "Update ticket status to pending after a technician adds a task" 173 | msgstr "" 174 | 175 | #: templates/config.html.twig:203 176 | msgid "Update ticket status to processing after add document" 177 | msgstr "" 178 | 179 | #: templates/config.html.twig:210 180 | msgid "Update ticket status to processing after approval" 181 | msgstr "" 182 | 183 | #: hook.php:303 184 | msgid "Updated by a user" 185 | msgstr "" 186 | 187 | #: templates/config.html.twig:190 188 | msgid "Urgency impacted justification for the field" 189 | msgstr "" 190 | 191 | #: inc/urgencyticket.class.php:95 192 | msgid "Urgency ticket cannot be saved" 193 | msgstr "" 194 | 195 | #: templates/config.html.twig:180 196 | msgid "Use a justification of the urgency field" 197 | msgstr "" 198 | 199 | #: templates/config.html.twig:101 200 | msgid "Use solution process" 201 | msgstr "" 202 | 203 | #: templates/config.html.twig:158 204 | msgid "Use the 'Duration' field in the add solution interface" 205 | msgstr "" 206 | 207 | #: templates/config.html.twig:51 208 | msgid "Use waiting process" 209 | msgstr "" 210 | 211 | #: templates/config.html.twig:68 212 | msgid "Waiting reason is mandatory" 213 | msgstr "" 214 | 215 | #: inc/waitingticket.class.php:70 216 | msgid "Waiting ticket" 217 | msgid_plural "Waiting tickets" 218 | msgstr[0] "" 219 | msgstr[1] "" 220 | 221 | #: inc/waitingticket.class.php:178 222 | msgid "Waiting ticket cannot be saved" 223 | msgstr "" 224 | 225 | #: inc/waitingticket.class.php:860 226 | msgid "Waiting ticket exceedeed" 227 | msgstr "" 228 | 229 | #: inc/waitingtype.class.php:50 230 | msgid "Waiting type" 231 | msgid_plural "Waiting types" 232 | msgstr[0] "" 233 | msgstr[1] "" 234 | 235 | #: hook.php:331 236 | msgid "Warning" 237 | msgstr "" 238 | -------------------------------------------------------------------------------- /locales/es_AR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Xavier CAILLAUD , 2020 8 | # Luis Angel Uriarte , 2020 9 | # 10 | #, fuzzy 11 | msgid "" 12 | msgstr "" 13 | "Project-Id-Version: GLPI - MoreTicket plugin\n" 14 | "Report-Msgid-Bugs-To: \n" 15 | "POT-Creation-Date: 2020-11-03 13:16+0000\n" 16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 17 | "Last-Translator: Luis Angel Uriarte , 2020\n" 18 | "Language-Team: Spanish (Argentina) (https://www.transifex.com/infotelGLPI/teams/50826/es_AR/)\n" 19 | "MIME-Version: 1.0\n" 20 | "Content-Type: text/plain; charset=UTF-8\n" 21 | "Content-Transfer-Encoding: 8bit\n" 22 | "Language: es_AR\n" 23 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 24 | 25 | #: hook.php:204 inc/waitingticket.class.php:139 26 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317 27 | #: inc/waitingticket.class.php:390 28 | msgid "Reason" 29 | msgstr "Motivo" 30 | 31 | #: hook.php:212 inc/waitingticket.class.php:131 32 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332 33 | #: inc/waitingticket.class.php:392 34 | msgid "Postponement date" 35 | msgstr "Posponer hasta" 36 | 37 | #: hook.php:232 hook.php:239 hook.php:246 hook.php:253 38 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79 39 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178 40 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380 41 | #: inc/config.class.php:167 42 | msgid "Close ticket informations" 43 | msgstr "Informaciones del Req. Cerrado" 44 | 45 | #: setup.php:100 inc/profile.class.php:49 inc/profile.class.php:194 46 | msgid "More ticket" 47 | msgstr "Más requerimientos" 48 | 49 | #: front/config.form.php:66 50 | msgid "Please activate the plugin" 51 | msgstr "Por favor activar el complemento" 52 | 53 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479 54 | msgid "Solution description" 55 | msgstr "Descripción" 56 | 57 | #: inc/closeticket.class.php:154 58 | msgid "Ticket cannot be closed" 59 | msgstr "Requerimiento no se puede cerrar" 60 | 61 | #: inc/closeticket.class.php:580 62 | #, php-format 63 | msgid "%1$s added closing informations" 64 | msgstr "%1$s informaciones de cierres agregada" 65 | 66 | #: inc/closeticket.class.php:599 67 | #, php-format 68 | msgid "%1$s updated closing informations" 69 | msgstr "%1$s informaciones de cierres actualizadas" 70 | 71 | #: inc/closeticket.class.php:618 72 | #, php-format 73 | msgid "%1$s deleted closing informations" 74 | msgstr "%1$s informaciones de cierres borradas" 75 | 76 | #: inc/config.class.php:98 inc/config.class.php:243 77 | #: inc/waitingticket.class.php:807 78 | msgid "Ticket waiting" 79 | msgstr "Solicitación en espera" 80 | 81 | #: inc/config.class.php:102 82 | msgid "Use waiting process" 83 | msgstr "Usar procesos de espera" 84 | 85 | #: inc/config.class.php:120 86 | msgid "Report date is mandatory" 87 | msgstr "Fecha de informe es obligatoria" 88 | 89 | #: inc/config.class.php:127 90 | msgid "Waiting type is mandatory" 91 | msgstr "Tipo de espera es obligatorio" 92 | 93 | #: inc/config.class.php:134 94 | msgid "Waiting reason is mandatory" 95 | msgstr "Motivo de la espera es obligatorio " 96 | 97 | #: inc/config.class.php:140 98 | msgid "Ticket resolution and close" 99 | msgstr "Resolución de solicitación y cierre" 100 | 101 | #: inc/config.class.php:142 102 | msgid "Use solution process" 103 | msgstr "Usar procesos en soución" 104 | 105 | #: inc/config.class.php:160 106 | msgid "Solution type is mandatory" 107 | msgstr "Tipo de solución es obligatorio" 108 | 109 | #: inc/config.class.php:173 110 | msgid "Status used to display solution bloc" 111 | msgstr "Estado usado para mostrar solución en" 112 | 113 | #: inc/config.class.php:186 114 | msgid "Add a followup on immediate ticket closing" 115 | msgstr "Agregar un seguimiento en el cierre inmediato del servicio" 116 | 117 | #: inc/config.class.php:192 118 | msgid "Use the 'Duration' field in the add solution interface" 119 | msgstr "Use el campo \"Duración\" en la interfaz de la solución" 120 | 121 | #: inc/config.class.php:206 122 | msgid "Mandatory 'Duration' field" 123 | msgstr "Campo \"Duración\" obligatorio " 124 | 125 | #: inc/config.class.php:211 126 | msgid "Ticket urgency" 127 | msgstr "Urgencia de la llamada" 128 | 129 | #: inc/config.class.php:213 130 | msgid "Use a justification of the urgency field" 131 | msgstr "Justifique la urgencia de la llamada" 132 | 133 | #: inc/config.class.php:229 134 | msgid "Urgency impacted justification for the field" 135 | msgstr "Impacto de la justificación de la llamada" 136 | 137 | #: inc/config.class.php:245 138 | msgid "Use the option ticket waiting in ticket followup" 139 | msgstr "Utilice la opción ticket esperando en el seguimiento del ticket" 140 | 141 | #: inc/profile.class.php:158 142 | msgid "Adding a justification of urgency" 143 | msgstr "Agregar la justificación de urgencia " 144 | 145 | #: inc/profile.class.php:166 146 | msgid "Hide task duration in tickets" 147 | msgstr "Ocultar la duración de la tarea en los tickets" 148 | 149 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155 150 | msgid "Justification" 151 | msgstr "Justificación" 152 | 153 | #: inc/urgencyticket.class.php:92 154 | msgid "Urgency ticket cannot be saved" 155 | msgstr "Urgencia de la llamada no se puede grabar " 156 | 157 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171 158 | msgid "Ticket cannot be saved" 159 | msgstr "Requerimiento no se puede guardar" 160 | 161 | #: inc/waitingticket.class.php:65 162 | msgid "Waiting ticket" 163 | msgid_plural "Waiting tickets" 164 | msgstr[0] "Esperando servicio" 165 | msgstr[1] "Esperando servicios" 166 | 167 | #: inc/waitingticket.class.php:169 168 | msgid "Waiting ticket cannot be saved" 169 | msgstr "En espera no se puede guardar" 170 | 171 | #: inc/waitingticket.class.php:175 172 | msgid "Report date is inferior of today's date" 173 | msgstr "Fecha de informe es inferior a fecha de hoy" 174 | 175 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426 176 | msgid "Ticket suspension history" 177 | msgstr "Historial de espera" 178 | 179 | #: inc/waitingticket.class.php:389 180 | msgid "Suspension date" 181 | msgstr "Fecha de suspención" 182 | 183 | #: inc/waitingticket.class.php:393 184 | msgid "Suspension end date" 185 | msgstr "Fecha fin de suspención" 186 | 187 | #: inc/waitingticket.class.php:754 188 | msgid "End of standby ticket" 189 | msgstr "Fin de servicio en espera" 190 | 191 | #: inc/waitingtype.class.php:48 192 | msgid "Waiting type" 193 | msgid_plural "Waiting types" 194 | msgstr[0] "Waiting type" 195 | msgstr[1] "Tipo de espera" 196 | -------------------------------------------------------------------------------- /sql/empty-1.6.3.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` DATETIME DEFAULT NULL, -- date de suspension 12 | `date_report` DATETIME DEFAULT NULL, -- date de report 13 | `date_end_suspension` DATETIME DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` INT(11) DEFAULT NULL, -- id du type d'attente 15 | `status` int(11) NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | KEY (`tickets_id`) , 19 | KEY (`plugin_moreticket_waitingtypes_id`) 20 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` INT(11) NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, -- nom du type d'attente 31 | `comment` TEXT COLLATE utf8_unicode_ci, 32 | `plugin_moreticket_waitingtypes_id` INT(11) NOT NULL DEFAULT '0', 33 | `completename` TEXT COLLATE utf8_unicode_ci, 34 | `level` INT(11) NOT NULL DEFAULT '0', 35 | `ancestors_cache` LONGTEXT COLLATE utf8_unicode_ci, 36 | `sons_cache` LONGTEXT COLLATE utf8_unicode_ci, 37 | PRIMARY KEY (`id`), 38 | KEY `name` (`name`), 39 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 40 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 41 | 42 | -- -------------------------------------------------------- 43 | -- 44 | -- Structure de la table 'glpi_plugin_moreticket_configs' 45 | -- Plugin configuration 46 | -- 47 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 48 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 49 | `id` INT(11) NOT NULL AUTO_INCREMENT, 50 | `use_waiting` TINYINT(1) NOT NULL DEFAULT '0', 51 | `use_solution` TINYINT(1) NOT NULL DEFAULT '0', 52 | `close_informations` TINYINT(1) NOT NULL DEFAULT '0', 53 | `solution_status` TEXT COLLATE utf8_unicode_ci, 54 | `waitingtype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 55 | `date_report_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 56 | `solutiontype_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 57 | `close_followup` TINYINT(1) NOT NULL DEFAULT '0', 58 | `waitingreason_mandatory` TINYINT(1) NOT NULL DEFAULT '0', 59 | `urgency_justification` TINYINT(1) NOT NULL DEFAULT '0', 60 | `urgency_ids` TEXT COLLATE utf8_unicode_ci DEFAULT NULL, 61 | `use_duration_solution` TINYINT(1) NOT NULL DEFAULT '0', 62 | `is_mandatory_solution` TINYINT(1) NOT NULL DEFAULT '0', 63 | `use_question` TINYINT(1) NOT NULL DEFAULT '0', 64 | `add_save_button` TINYINT(1) NOT NULL DEFAULT '0', 65 | `day_sending` INT(1) NOT NULL DEFAULT '0', 66 | `day_closing` INT(1) NOT NULL DEFAULT '0', 67 | `update_after_document` TINYINT(1) NOT NULL DEFAULT '0', 68 | `update_after_approval` TINYINT(1) NOT NULL DEFAULT '0', 69 | `followup_text` TEXT, 70 | `closing_with_problem` INT(1) NOT NULL DEFAULT '1', 71 | `add_followup_stop_waiting` INT(1) NOT NULL DEFAULT '0', 72 | PRIMARY KEY (`id`) 73 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 74 | 75 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 76 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 77 | 78 | -- -------------------------------------------------------- 79 | -- 80 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 81 | -- informations pour un ticket 'clos' 82 | -- 83 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 84 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 85 | `id` INT(11) NOT NULL AUTO_INCREMENT, 86 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 87 | `date` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL, 88 | `comment` TEXT COLLATE utf8_unicode_ci, 89 | `requesters_id` INT(11) NOT NULL DEFAULT '0', 90 | `documents_id` INT(11) NOT NULL DEFAULT '0', 91 | PRIMARY KEY (`id`), 92 | KEY (`tickets_id`), 93 | KEY (`documents_id`), 94 | KEY (`requesters_id`) 95 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 96 | 97 | -- -------------------------------------------------------- 98 | -- 99 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 100 | -- zone de justification pour l'urgence 101 | -- 102 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 103 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 104 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 105 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 106 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 107 | PRIMARY KEY (`id`), -- index 108 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 109 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 110 | 111 | -- -------------------------------------------------------- 112 | -- 113 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 114 | -- zone de justification pour l'urgence 115 | -- 116 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_notificationtickets`; 117 | CREATE TABLE `glpi_plugin_moreticket_notificationtickets` ( 118 | `id` INT(11) NOT NULL AUTO_INCREMENT, -- id ... 119 | `tickets_id` INT(11) NOT NULL, -- id du ticket GLPI 120 | `users_id_lastupdater` INT(11) NOT NULL, 121 | PRIMARY KEY (`id`), -- index 122 | FOREIGN KEY (`tickets_id`) REFERENCES glpi_tickets (id) 123 | ) ENGINE = InnoDB DEFAULT CHARSET = utf8 COLLATE = utf8_unicode_ci; 124 | -------------------------------------------------------------------------------- /sql/empty-1.7.0.sql: -------------------------------------------------------------------------------- 1 | -- -------------------------------------------------------- 2 | -- 3 | -- Structure de la table 'glpi_plugin_moreticket_waitingtickets' 4 | -- Champs supplémentaire à gèrer pour les tickets en attente de GLPI 5 | -- 6 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtickets`; 7 | CREATE TABLE `glpi_plugin_moreticket_waitingtickets` ( 8 | `id` int unsigned NOT NULL AUTO_INCREMENT, -- id ... 9 | `tickets_id` int unsigned NOT NULL, -- id du ticket GLPI 10 | `reason` VARCHAR(255) DEFAULT NULL, -- raison de l'attente 11 | `date_suspension` timestamp NULL DEFAULT NULL, -- date de suspension 12 | `date_report` timestamp NULL DEFAULT NULL, -- date de report 13 | `date_end_suspension` timestamp NULL DEFAULT NULL, -- date de sortie de suspension 14 | `plugin_moreticket_waitingtypes_id` int unsigned DEFAULT NULL, -- id du type d'attente 15 | `status` int unsigned NOT NULL DEFAULT '2', -- ancien statut 16 | PRIMARY KEY (`id`), -- index 17 | KEY `date_suspension` (`date_suspension`), 18 | KEY (`tickets_id`) , 19 | KEY (`plugin_moreticket_waitingtypes_id`) 20 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 21 | 22 | -- -------------------------------------------------------- 23 | -- 24 | -- Structure de la table 'glpi_plugin_moreticket_waitingtypes' 25 | -- Liste des types d'attente pour un ticket 'en attente' 26 | -- 27 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_waitingtypes`; 28 | CREATE TABLE `glpi_plugin_moreticket_waitingtypes` ( 29 | `id` int unsigned NOT NULL AUTO_INCREMENT, 30 | `name` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, -- nom du type d'attente 31 | `comment` TEXT COLLATE utf8mb4_unicode_ci, 32 | `plugin_moreticket_waitingtypes_id` int unsigned NOT NULL DEFAULT '0', 33 | `completename` TEXT COLLATE utf8mb4_unicode_ci, 34 | `level` int unsigned NOT NULL DEFAULT '0', 35 | `ancestors_cache` LONGTEXT COLLATE utf8mb4_unicode_ci, 36 | `sons_cache` LONGTEXT COLLATE utf8mb4_unicode_ci, 37 | PRIMARY KEY (`id`), 38 | KEY `name` (`name`), 39 | KEY `unicity` (`plugin_moreticket_waitingtypes_id`, `name`) 40 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 41 | 42 | -- -------------------------------------------------------- 43 | -- 44 | -- Structure de la table 'glpi_plugin_moreticket_configs' 45 | -- Plugin configuration 46 | -- 47 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_configs`; 48 | CREATE TABLE `glpi_plugin_moreticket_configs` ( 49 | `id` int unsigned NOT NULL AUTO_INCREMENT, 50 | `use_waiting` tinyint NOT NULL DEFAULT '0', 51 | `use_solution` tinyint NOT NULL DEFAULT '0', 52 | `close_informations` tinyint NOT NULL DEFAULT '0', 53 | `solution_status` TEXT COLLATE utf8mb4_unicode_ci, 54 | `waitingtype_mandatory` tinyint NOT NULL DEFAULT '0', 55 | `date_report_mandatory` tinyint NOT NULL DEFAULT '0', 56 | `solutiontype_mandatory` tinyint NOT NULL DEFAULT '0', 57 | `close_followup` tinyint NOT NULL DEFAULT '0', 58 | `waitingreason_mandatory` tinyint NOT NULL DEFAULT '0', 59 | `urgency_justification` tinyint NOT NULL DEFAULT '0', 60 | `urgency_ids` TEXT COLLATE utf8mb4_unicode_ci DEFAULT NULL, 61 | `use_duration_solution` tinyint NOT NULL DEFAULT '0', 62 | `is_mandatory_solution` tinyint NOT NULL DEFAULT '0', 63 | `use_question` tinyint NOT NULL DEFAULT '0', 64 | `add_save_button` tinyint NOT NULL DEFAULT '0', 65 | `day_sending` INT(1) NOT NULL DEFAULT '0', 66 | `day_closing` INT(1) NOT NULL DEFAULT '0', 67 | `update_after_document` tinyint NOT NULL DEFAULT '0', 68 | `update_after_approval` tinyint NOT NULL DEFAULT '0', 69 | `followup_text` TEXT, 70 | `closing_with_problem` INT(1) NOT NULL DEFAULT '1', 71 | `add_followup_stop_waiting` INT(1) NOT NULL DEFAULT '0', 72 | PRIMARY KEY (`id`) 73 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 74 | 75 | INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `date_report_mandatory`, `waitingtype_mandatory`, `solutiontype_mandatory`, `solution_status`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`) 76 | VALUES (1, 1, 1, 1, 1, 1, 1, '{"5":1}', 0, 1, 0); 77 | 78 | -- -------------------------------------------------------- 79 | -- 80 | -- Structure de la table 'glpi_plugin_moreticket_closetickets' 81 | -- informations pour un ticket 'clos' 82 | -- 83 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_closetickets`; 84 | CREATE TABLE `glpi_plugin_moreticket_closetickets` ( 85 | `id` int unsigned NOT NULL AUTO_INCREMENT, 86 | `tickets_id` int unsigned NOT NULL, -- id du ticket GLPI 87 | `date` VARCHAR(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 88 | `comment` TEXT COLLATE utf8mb4_unicode_ci, 89 | `requesters_id` int unsigned NOT NULL DEFAULT '0', 90 | `documents_id` int unsigned NOT NULL DEFAULT '0', 91 | PRIMARY KEY (`id`), 92 | KEY (`tickets_id`), 93 | KEY (`documents_id`), 94 | KEY (`requesters_id`) 95 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 96 | 97 | -- -------------------------------------------------------- 98 | -- 99 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 100 | -- zone de justification pour l'urgence 101 | -- 102 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_urgencytickets`; 103 | CREATE TABLE `glpi_plugin_moreticket_urgencytickets` ( 104 | `id` int unsigned NOT NULL AUTO_INCREMENT, -- id ... 105 | `tickets_id` int unsigned NOT NULL, -- id du ticket GLPI 106 | `justification` VARCHAR(255) DEFAULT NULL, -- justification 107 | PRIMARY KEY (`id`) 108 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 109 | 110 | -- -------------------------------------------------------- 111 | -- 112 | -- Structure de la table 'glpi_plugin_moreticket_urgencytickets' 113 | -- zone de justification pour l'urgence 114 | -- 115 | DROP TABLE IF EXISTS `glpi_plugin_moreticket_notificationtickets`; 116 | CREATE TABLE `glpi_plugin_moreticket_notificationtickets` ( 117 | `id` int unsigned NOT NULL AUTO_INCREMENT, -- id ... 118 | `tickets_id` int unsigned NOT NULL, -- id du ticket GLPI 119 | `users_id_lastupdater` int unsigned NOT NULL, 120 | PRIMARY KEY (`id`) 121 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; 122 | -------------------------------------------------------------------------------- /locales/de_DE.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MoreTicket Development Team 3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Michael Schieferer, 2023 8 | # 9 | #, fuzzy 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: GLPI - MoreTicket plugin\n" 13 | "Report-Msgid-Bugs-To: \n" 14 | "POT-Creation-Date: 2023-06-29 13:20+0000\n" 15 | "PO-Revision-Date: 2020-11-02 16:11+0000\n" 16 | "Last-Translator: Michael Schieferer, 2023\n" 17 | "Language-Team: German (Germany) (https://app.transifex.com/infotelGLPI/teams/50826/de_DE/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: de_DE\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: hook.php:253 hook.php:260 hook.php:267 hook.php:274 25 | #: inc/closeticket.class.php:78 inc/closeticket.class.php:82 26 | #: inc/closeticket.class.php:126 inc/closeticket.class.php:186 27 | #: inc/closeticket.class.php:339 inc/closeticket.class.php:393 28 | #: inc/config.class.php:181 29 | msgid "Close ticket informations" 30 | msgstr "Ticket-Infos schließen" 31 | 32 | #: hook.php:288 33 | msgid "Updated by a user" 34 | msgstr "Von Anwender aktualisiert" 35 | 36 | #: setup.php:117 inc/profile.class.php:50 inc/profile.class.php:212 37 | msgid "More ticket" 38 | msgstr "More Ticket" 39 | 40 | #: front/config.form.php:65 41 | msgid "Please activate the plugin" 42 | msgstr "Bitte das Plugin aktivieren" 43 | 44 | #: inc/closeticket.class.php:142 inc/closeticket.class.php:507 45 | msgid "Solution description" 46 | msgstr "Beschreibung der Lösung" 47 | 48 | #: inc/closeticket.class.php:161 49 | msgid "Ticket cannot be closed" 50 | msgstr "Ticket kann nicht geschlossen werden" 51 | 52 | #: inc/closeticket.class.php:643 53 | #, php-format 54 | msgid "%1$s added closing informations" 55 | msgstr "%1$s ergänzte Infos zum Schließen" 56 | 57 | #: inc/closeticket.class.php:663 58 | #, php-format 59 | msgid "%1$s updated closing informations" 60 | msgstr "%1$s aktualisierte Infos zum Schließen" 61 | 62 | #: inc/closeticket.class.php:683 63 | #, php-format 64 | msgid "%1$s deleted closing informations" 65 | msgstr "%1$s löschte Infos zum Schließen" 66 | 67 | #: inc/config.class.php:98 inc/waitingticket.class.php:905 68 | msgid "Ticket waiting" 69 | msgstr "Ticket in Warteposition" 70 | 71 | #: inc/config.class.php:102 72 | msgid "Use waiting process" 73 | msgstr "Nutze den Warteprozess" 74 | 75 | #: inc/config.class.php:120 76 | msgid "Postponement date is mandatory" 77 | msgstr "Verschiebungsdatum ist verpflichtend" 78 | 79 | #: inc/config.class.php:135 80 | msgid "Waiting reason is mandatory" 81 | msgstr "Wartegrund ist verpflichtend" 82 | 83 | #: inc/config.class.php:142 84 | msgid "Add followup when waiting date is reached" 85 | msgstr "Nachricht senden, wenn das Wartedatum erreicht ist" 86 | 87 | #: inc/config.class.php:154 88 | msgid "Ticket resolution and close" 89 | msgstr "Ticketlösung und schließen" 90 | 91 | #: inc/config.class.php:156 92 | msgid "Use solution process" 93 | msgstr "Verwende Lösungs-Prozess" 94 | 95 | #: inc/config.class.php:174 96 | msgid "Solution type is mandatory" 97 | msgstr "Lösungstyp ist verpflichtend" 98 | 99 | #: inc/config.class.php:187 100 | msgid "Status used to display solution block" 101 | msgstr "Verwendeter Status zur Anzeige im Lösungsblock" 102 | 103 | #: inc/config.class.php:200 104 | msgid "Add a followup on immediate ticket closing" 105 | msgstr "Ein Followup erstellen bei unmittelbarem Ticketabschluss" 106 | 107 | #: inc/config.class.php:206 108 | msgid "Use the 'Duration' field in the add solution interface" 109 | msgstr "Verwende das Feld 'Dauer' beim Eintragen einer Lösung" 110 | 111 | #: inc/config.class.php:220 112 | msgid "Mandatory 'Duration' field" 113 | msgstr "Feld 'Dauer' als Pflichtfeld" 114 | 115 | #: inc/config.class.php:225 116 | msgid "Ticket urgency" 117 | msgstr "Ticket-Dringlichkeit" 118 | 119 | #: inc/config.class.php:227 120 | msgid "Use a justification of the urgency field" 121 | msgstr "Verwendete eine Erläuterung für die Dringlichkeit" 122 | 123 | #: inc/config.class.php:243 124 | msgid "Urgency impacted justification for the field" 125 | msgstr "Dringlichkeit beeinflusst die Begründung für das Feld" 126 | 127 | #: inc/config.class.php:265 128 | msgid "Update ticket status" 129 | msgstr "Ticket-Status aktualisieren" 130 | 131 | #: inc/config.class.php:268 132 | msgid "Update ticket status to processing after add document" 133 | msgstr "" 134 | "Ticket-Status auf 'in Arbeit' setzen, wenn ein Dokument angehängt wurde" 135 | 136 | #: inc/config.class.php:274 137 | msgid "Update ticket status to processing after approval" 138 | msgstr "Ticket-Status nach Freigabe auf 'in Arbeit' setzen" 139 | 140 | #: inc/profile.class.php:175 141 | msgid "Adding a justification of urgency" 142 | msgstr "Begründung der Dringlichkeit hinzufügen" 143 | 144 | #: inc/profile.class.php:183 145 | msgid "Hide task duration in tickets" 146 | msgstr "Aufgabendauer in Tickets nicht anzeigen" 147 | 148 | #: inc/urgencyticket.class.php:70 inc/urgencyticket.class.php:167 149 | msgid "Justification" 150 | msgstr "Begründung" 151 | 152 | #: inc/urgencyticket.class.php:93 153 | msgid "Urgency ticket cannot be saved" 154 | msgstr "Dringliches Ticket kann nicht gespeichert werden" 155 | 156 | #: inc/urgencyticket.class.php:95 inc/waitingticket.class.php:169 157 | msgid "Ticket cannot be saved" 158 | msgstr "Ticket kann nicht gespeichert werden" 159 | 160 | #: inc/waitingticket.class.php:65 161 | msgid "Waiting ticket" 162 | msgid_plural "Waiting tickets" 163 | msgstr[0] "Tickets in Wartepositionen" 164 | msgstr[1] "Ticket in Warteposition" 165 | 166 | #: inc/waitingticket.class.php:133 inc/waitingticket.class.php:252 167 | #: inc/waitingticket.class.php:332 inc/waitingticket.class.php:412 168 | #: inc/waitingticket.class.php:475 169 | msgid "Postponement date" 170 | msgstr "Verschiebungsdatum" 171 | 172 | #: inc/waitingticket.class.php:137 inc/waitingticket.class.php:236 173 | #: inc/waitingticket.class.php:317 inc/waitingticket.class.php:397 174 | #: inc/waitingticket.class.php:473 175 | msgid "Reason" 176 | msgstr "Grund" 177 | 178 | #: inc/waitingticket.class.php:167 179 | msgid "Waiting ticket cannot be saved" 180 | msgstr "Wartezeit kann nicht gespeichert werden" 181 | 182 | #: inc/waitingticket.class.php:173 183 | msgid "Postponement date is inferior of today's date" 184 | msgstr "Verschiebungsdatum liegt vor dem heutigen Datum" 185 | 186 | #: inc/waitingticket.class.php:469 inc/waitingticket.class.php:512 187 | msgid "Ticket suspension history" 188 | msgstr "Verlauf der Ticketsperrung" 189 | 190 | #: inc/waitingticket.class.php:472 191 | msgid "Suspension date" 192 | msgstr "Datum der Ticketsperrung" 193 | 194 | #: inc/waitingticket.class.php:476 195 | msgid "Suspension end date" 196 | msgstr "Ende der Ticketsperrung" 197 | 198 | #: inc/waitingticket.class.php:818 199 | msgid "Waiting ticket exceedeed" 200 | msgstr "Warteticket überschritten" 201 | 202 | #: inc/waitingticket.class.php:857 203 | msgid "End of standby ticket" 204 | msgstr "Ende des Standby-Tickets" 205 | 206 | #: inc/waitingtype.class.php:48 207 | msgid "Waiting type" 208 | msgid_plural "Waiting types" 209 | msgstr[0] "Wartetyp" 210 | msgstr[1] "Wartetypen" 211 | --------------------------------------------------------------------------------