Company Status show in ticket

Moderator: crythias

Locked
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Company Status show in ticket

Post by StClaus »

Hello Everyone,

can i show the "company status" (http://puu.sh/1ZSMJ) from the customer information center, in all tickets from this company?

Image


Thanks in advance for any reply!


greetings,
StClaus
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Re: Company Status show in ticket

Post by StClaus »

Nobody any idea?
Who can I contact otherwise for this issue?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Company Status show in ticket

Post by jojo »

this requires custom development
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dantheman972
Znuny newbie
Posts: 16
Joined: 11 Oct 2012, 00:11
Znuny Version: 3.100
Real Name: Dan S

Re: Company Status show in ticket

Post by dantheman972 »

jojo, could you point us in the direction of where to edit? I am a novice coder, this seems within reach (check to see if a customerID is present and then display the related info) but I have no idea where the appropriate files to edit are. Thanks, Dan.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Company Status show in ticket

Post by reneeb »

Kernel/Modules/AgentTicketZoom.pm (Perl module that collects all the info and passes them to the template)
Kernel/Output/HTML/Standard/AgentTicketZoom.dtl
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
dantheman972
Znuny newbie
Posts: 16
Joined: 11 Oct 2012, 00:11
Znuny Version: 3.100
Real Name: Dan S

Re: Company Status show in ticket

Post by dantheman972 »

Hello all, I believe I found a solution to this! If you add:

Code: Select all

CustomerCompanySupport => 1,
to the CustomerUser section of your config file it will show the company information in the customer info widget. For more info about this look for "CustomerCompanySupport" in Defaults.pm and also the section on "CustomerCompany" parameters in the same file. Cheers!
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Re: Company Status show in ticket

Post by StClaus »

Hey dantheman972,

thanks for your answer!

I have removed in the Default.pm (Kernel/Config/Defaults.pm) "#" and changed the 0 into 1.

Code: Select all

CustomerCompanySupport => 1,
After that i saved the setting, and have restarted the apache server. Bug in OTRS there were no changes found. The "company status" widget was not shown in the tickets.

What have i done wrong? Should i do more changes in the settings?

Thanks in advanced!
StClaus
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company Status show in ticket

Post by crythias »

don't change Defaults.pm! It gets overwritten with updates.
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
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Re: Company Status show in ticket

Post by StClaus »

Oh, thanks crythias!

I have copied the Config.pm to pastebin.
=> http://pastebin.com/0rkbk0dy

Where should i add the "CustomerCompanySupport => 1,"?
I have already copied the block "$Self->{CustomerUser} = {" (http://pastebin.com/qVmsXj5s) to my Config.pm. After that, i restarted apache.
But the "Company Info Widget", does not appear.

What have i done wrong?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company Status show in ticket

Post by crythias »

There is no "Company Info Widget".

There is no "Company Status" widget.

What information do you wish to see populated in said widget?

By default, you will only see (in Customer Information) filled fields related to the Customer (and, if Customer Company Support is enabled, Company fields where Customer Customer_ID= Company Customer ID).
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
StClaus
Znuny newbie
Posts: 9
Joined: 06 Feb 2013, 18:10
Znuny Version: 3.1.2

Re: Company Status show in ticket

Post by StClaus »

Hi crythias,

thanks for your answer.

In the "Customer Information Center" you have on the right side the box "Company Status":

Image



This "Company Status" ("widget") i want to show in all tickets from the company. Like this:

Image


I hope, that you now know what i mean :)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Company Status show in ticket

Post by crythias »

There is no provision for that. It would require some development.
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
dantheman972
Znuny newbie
Posts: 16
Joined: 11 Oct 2012, 00:11
Znuny Version: 3.100
Real Name: Dan S

Re: Company Status show in ticket

Post by dantheman972 »

Yeah, I misspoke and wasn't very clear on my previous post. Defaults.PM is just the file where you can see all of your options for setting which is why I reference it to find more info. Any changes should of course be made to config.pm. And by Company Status I meant Customer Status. Separating the company info into it's own widget would definitely require further development but as long as your customers are always at the exact same company this should be a suitable solution.

And I guess the company info you are looking for is actually the number of tickets but what this gives you is the contact info entered for that company. Based on your original post this is what it sounded like you were looking for.
Locked