This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const elixir = require('laravel-elixir'); | |
| require('laravel-elixir-vue-2'); | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Elixir Asset Management | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Elixir provides a clean, fluent API for defining some basic Gulp tasks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ao selecionar o setor "Tecnologia da Informação" o mesmo deve ser setado como setor padrão. | |
| <?php | |
| echo "<select onchange=\"window.open(this.value,'_self');\">"; | |
| echo "<option value=\"helpdesk.public.php?create_ticket=1\">Escolha para qual setor deseja abrir um chamado</option>"; | |
| echo "<option value=\"helpdesk.public.php?create_ticket=1&active_entity=2\">Tecnologia da Informação</option>"; | |
| echo "<option value=\"helpdesk.public.php?create_ticket=1&active_entity=4\">Comunicação</option>"; | |
| ?> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "<td>Local</td>"; | |
| echo "<td>"; | |
| echo "<select onchange=\"window.open(this.value,'_self');\">"; | |
| echo "<option value=\"helpdesk.public.php?create_ticket=1&active_entity=2\">Tecnologia da Informação</option>"; | |
| echo "<option value=\"helpdesk.public.php?create_ticket=1&active_entity=4\">Comunicação</option>"; | |
| echo "</select>"; | |
| echo "</td>"; | |
| echo "</tr>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "<script>"; | |
| echo "function change(select) {"; | |
| echo " window.open('helpdesk.public.php?create_ticket=1&active_entity=' + select.value,'_self'); " | |
| echo "}" | |
| echo "</script>"; | |
| // ... | |
| echo '<td>Local</td>'; | |
| echo '<td>'; | |
| echo '<select onchange="change(this)">'; | |
| echo '<option value="3">Tecnologia da Informação</option>'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $query = "SELECT id, name FROM `glpi_entities`.`name"; | |
| echo "<script>"; | |
| echo "function change(select) {"; | |
| echo " window.open('helpdesk.public.php?create_ticket=1&active_entity=' + select.value,'_self'); "; | |
| echo "}"; | |
| echo "</script>"; | |
| echo '<td>Deseja abrir chamado para qual setor</td>'; | |
| echo '<td>'; | |
| echo '<select onchange="change(this)">'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| vencido.tickets_id, | |
| Tickets.name, | |
| Tickets.due_date, | |
| Tickets.solvedate, | |
| Cat.completename, | |
| TIMESTAMPDIFF(hour, Tickets.date, Tickets.solvedate) as Tempo | |
| FROM | |
| glpi_vencidos as vencido | |
| INNER JOIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| ------------------------------------------------------------------------- | |
| GLPI - Gestionnaire Libre de Parc Informatique | |
| Copyright (C) 2015-2016 Teclib'. | |
| http://glpi-project.org | |
| based on GLPI - Gestionnaire Libre de Parc Informatique | |
| Copyright (C) 2003-2014 by the INDEPNET Development Team. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $query = "SELECT id, name FROM `glpi_entities`.`name"; | |
| $result = $DB->query($query); | |
| echo "<script>"; | |
| echo "function change(select) {"; | |
| echo " window.open('helpdesk.public.php?create_ticket=1&active_entity=' + select.value,'_self'); "; | |
| echo "}"; | |
| echo "</script>"; | |
| echo '<td>Deseja abrir chamado para qual setor</td>'; | |
| echo '<td>'; | |
| echo '<select onchange="change(this)">'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Database\Eloquent\Model; | |
| use App\Multimodel; | |
| class Multicontroller extends Controller |