From cdaecb3969fa0e900c8e0d2fe66bd2d118128d02 Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Sat, 6 Aug 2022 11:31:43 +0200 Subject: [PATCH] Ticket system link from ticket to adresse, changed icon from png to svg --- www/pages/content/ticket_edit.tpl | 2 +- www/pages/ticket.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/pages/content/ticket_edit.tpl b/www/pages/content/ticket_edit.tpl index c571efc1..67118ba5 100644 --- a/www/pages/content/ticket_edit.tpl +++ b/www/pages/content/ticket_edit.tpl @@ -23,7 +23,7 @@ {|Letzte Aktion|}:[ZEIT] {|Von|}:[MAILADRESSE] ([KUNDE]) {|Projekt|}: - {|Adresse|}: + {|Adresse|}: {|Tags|}: diff --git a/www/pages/ticket.php b/www/pages/ticket.php index b36e42d9..1de9e941 100644 --- a/www/pages/ticket.php +++ b/www/pages/ticket.php @@ -53,7 +53,7 @@ class Ticket { $defaultorder = 1; $defaultorderdesc = 0; - $menu = "
" . "Conf->WFconf['defaulttheme']}/images/edit.png\" border=\"0\">" . "
"; + $menu = "
" . "Conf->WFconf['defaulttheme']}/images/edit.svg\" border=\"0\">" . "
"; $timedifference = "if ( @@ -466,6 +466,10 @@ class Ticket { $this->app->Tpl->Set('STATUSICON', $this->ticket_status_icon($ticket_from_db['status'])." "); $this->app->YUI->AutoComplete("adresse","adresse"); $this->app->Tpl->Set('ADRESSE', $this->app->erp->ReplaceAdresse(false,$ticket_from_db['adresse'],false)); // Convert ID to form display + + + $this->app->Tpl->Set('ADRESSE_ID',$ticket_from_db['adresse']); + $this->app->YUI->AutoComplete("projekt","projektname",1); $this->app->YUI->AutoComplete("status","ticketstatus",1); $this->app->YUI->TagEditor('tags', array('width'=>370));