mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-23 19:31:13 +01:00
Some frontend adaption for the ticket system
This commit is contained in:
parent
b2610079d6
commit
910a8544a4
@ -443,10 +443,10 @@ class erpooSystem extends Application
|
|||||||
|
|
||||||
// Creates user specific items
|
// Creates user specific items
|
||||||
$possibleUserItems = [
|
$possibleUserItems = [
|
||||||
/* 'Inbox' => [
|
'Tickets' => [
|
||||||
'link' => 'index.php?module=ticket&action=offene',
|
'link' => 'index.php?module=ticket&action=list',
|
||||||
'counter' => $this->erp->AnzahlOffeneTickets()
|
'counter' => $this->erp->AnzahlOffeneTickets()
|
||||||
],*/
|
],
|
||||||
'Aufgaben' => [
|
'Aufgaben' => [
|
||||||
'link' => 'index.php?module=aufgaben&action=list',
|
'link' => 'index.php?module=aufgaben&action=list',
|
||||||
'counter' => $this->erp->AnzahlOffeneAufgaben()
|
'counter' => $this->erp->AnzahlOffeneAufgaben()
|
||||||
|
@ -2631,7 +2631,7 @@ public function NavigationHooks(&$menu)
|
|||||||
|
|
||||||
public function AnzahlOffeneTickets($eigene=true)
|
public function AnzahlOffeneTickets($eigene=true)
|
||||||
{
|
{
|
||||||
return 0;
|
return (int)$this->app->DB->Select("SELECT COUNT(t.id) FROM ticket t WHERE t.status = 'neu' AND t.warteschlange IN (SELECT w.adresse FROM warteschlangen w WHERE w.adresse = '".$this->app->User->GetAdresse()."')");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td><a [TICKETVORLAGENLINK]>{|Ticket Vorlagen|}</a></td>
|
<td><a [TICKETVORLAGENLINK]>{|Ticket Vorlagen|}</a></td>
|
||||||
<td><a [WARTESCHLANGENLINK]>{|Warteschlangen|}</a></td>
|
<td><a [WARTESCHLANGENLINK]>{|Ticket Warteschlangen|}</a></td>
|
||||||
<!--<td><a href="index.php?module=generic&action=edit">Startseite</a></td>-->
|
<!--<td><a href="index.php?module=generic&action=edit">Startseite</a></td>-->
|
||||||
<td><a [ARTIKELKATEGORIENLINK]>{|Artikel Kategorien|}</a></td>
|
<td><a [ARTIKELKATEGORIENLINK]>{|Artikel Kategorien|}</a></td>
|
||||||
<td><a href="index.php?module=artikeleinheit&action=list">{|Artikel Einheiten|}</a></td>
|
<td><a href="index.php?module=artikeleinheit&action=list">{|Artikel Einheiten|}</a></td>
|
||||||
|
File diff suppressed because it is too large
Load Diff
5
www/themes/new/images/sidebar/tickets.svg
Normal file
5
www/themes/new/images/sidebar/tickets.svg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.95314 8.71436C9.34786 9.7745 8.22077 10.4289 7 10.4289C5.77923 10.4289 4.65214 9.7745 4.04686 8.71436H1.85714C1.38376 8.71436 1 9.09811 1 9.5715V12.1429C1 12.6163 1.38376 13.0001 1.85714 13.0001H12.1429C12.6162 13.0001 13 12.6163 13 12.1429V9.5715C13 9.09811 12.6162 8.71436 12.1429 8.71436H9.95314Z" stroke="#94979E" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M7 7V1" stroke="#94979E" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M4.85693 5.28564L6.99979 6.99993L9.14265 5.28564" stroke="#94979E" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 741 B |
Loading…
x
Reference in New Issue
Block a user