hide the "Pending Date (for pending* states): (Solved)

Moderator: crythias

Locked
RickyA
Znuny newbie
Posts: 15
Joined: 20 Apr 2010, 19:58
Znuny Version: 2.7.4

hide the "Pending Date (for pending* states): (Solved)

Post by RickyA »

Hello OTRS goeroes,

how can i hide the "pending date (for pending*states):" field in 'phone tickets' , email tickets and notes etc.

I hope someone can help me with this one.

Thanks in advance.
Last edited by RickyA on 21 Dec 2010, 20:49, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: hide the "Pending Date (for pending* states):

Post by crythias »

You can remove the entry from the dtl file for each screen, but do you want to permanently remove it or just not show it if there is no pending entry... It's rather important.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
RickyA
Znuny newbie
Posts: 15
Joined: 20 Apr 2010, 19:58
Znuny Version: 2.7.4

Re: hide the "Pending Date (for pending* states):

Post by RickyA »

Hi Crysthias,

Thanks for the response.

I just would like to not show it if there is no pending entry. Not permanent.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: hide the "Pending Date (for pending* states):

Post by crythias »

Wait. If I'm reading this right, you want to hide the ability to make pending tickets on new ticket creation and notes?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
RickyA
Znuny newbie
Posts: 15
Joined: 20 Apr 2010, 19:58
Znuny Version: 2.7.4

Re: hide the "Pending Date (for pending* states):

Post by RickyA »

Yes you are reading it right.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: hide the "Pending Date (for pending* states):

Post by crythias »

You can remove the entries pending auto, pending reminder from the statetype entries in sysconfig for the modules you don't want to see. I don't know if that also removes the calendar lookup.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
RickyA
Znuny newbie
Posts: 15
Joined: 20 Apr 2010, 19:58
Znuny Version: 2.7.4

Re: hide the "Pending Date (for pending* states):

Post by RickyA »

I removed the states 'pending reminder' and 'pending auto' from the modules 'phone ticket' etc.. but the field 'Pending Date (for pending* states):' is stil there if you would like to make a new 'phone ticket'. Is there no other way then changing the .dtl file to hide this field?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: hide the "Pending Date (for pending* states):

Post by crythias »

Since this code is in, for instance, AgentTicketEmail.dtl, and there doesn't seem to be code to ignore it, no. Change it in your own custom theme, so it survives updates.

Code: Select all

 <label>$Text{"Pending Date"} ($Text{"for pending* states"}):</label>
                    <div class="Field">
                        $Data{"PendingDateString"}
                        <div id="DayServerError" class="TooltipErrorMessage"><p>$Text{"Date invalid!"}</p></div>
                        <div id="HourServerError" class="TooltipErrorMessage"><p>$Text{"Date invalid!"}</p></div>
                    </div>
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
RickyA
Znuny newbie
Posts: 15
Joined: 20 Apr 2010, 19:58
Znuny Version: 2.7.4

Re: hide the "Pending Date (for pending* states): (Solved)

Post by RickyA »

Crythias,

Thanks for your help!
Locked