Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Mods and Customizations

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2010, 09:15 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Cool [MOD] Ticket Aging, Ticket Summary, and Ticket For Staff Report

Dear osTicket Community,

I have successfully created three kinds of report related to the ticket items monitoring. These reports can be accessed from the Dashboard in Admin Panel of your osTicket. The first time they were being displayed, you will see only the description and its count based on the report criteria. However, you will be able to view the detail (ticket items) by expanding/clicking the description or its count.

Here are the screenshots:

1) Ticket Aging:


Active Tickets means that the tickets are Open, but they are assigned and
currently actively being worked on.

2) Ticket Summary:


3) Ticket For Staff:


I will publish the modification code tomorrow, and I hope this will be helpful for all of you. So, stay tuned!

Sincerely,
Masino Sinaga
Reply With Quote
  #2  
Old 01-31-2010, 02:34 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Lightbulb Modification Code

As I promised yesterday, you can now get the modification code:

Adding Ticket Aging, Ticket Summary, and Ticket for Staff Report Feature into osTicket v1.6 RC5

Thanks.

Sincerely,
Masino Sinaga
Reply With Quote
  #3  
Old 01-31-2010, 10:59 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Wink Feedback?

Please do not hesitate to post any feedback regarding the MOD I created above.

Thanks,
Masino Sinaga
Reply With Quote
  #4  
Old 02-01-2010, 03:07 PM
beeman beeman is offline
Member
 
Join Date: May 2009
Posts: 62
Default

Thanks Masino,

I am looking to add some reporting functionality to my osTicket and I think your MOD will come in handy. Can you enable Department managers to be able to use this feature over and above just the administrator? Thanks.

Regards
Beeman
Reply With Quote
  #5  
Old 06-08-2010, 09:46 AM
wyotriumphrider wyotriumphrider is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Default

Quote:
Originally Posted by masino_sinaga View Post
Please do not hesitate to post any feedback regarding the MOD I created above.

Thanks,
Masino Sinaga
Fantastic job! This mod is exactly what my boss was looking for...
By the way, I have this mod (and a couple of others) up and running on 1.6ST.

Thank you!
Reply With Quote
  #6  
Old 08-12-2010, 04:21 AM
Scirocco Scirocco is offline
Member
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 92
Default

If I have the mod "Allocation of tickets to maintain closed" installed, an incorrect amount of active tickets will be displayed.

I have corrected the error with the following addition:
in ticketsummary.inc.php
this:
PHP Code:
if ($staffid) {
  
$sqltotal='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id = '.$staffid.'';
} else {
  
$sqltotal='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id <> "0"';

to:
PHP Code:
if ($staffid) {
  
$sqltotal='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id = '.$staffid.' AND status = "open"';
} else {
  
$sqltotal='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id <> "0" AND status = "open"';


sorry for my english
Reply With Quote
  #7  
Old 08-12-2010, 04:57 AM
Scirocco Scirocco is offline
Member
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 92
Default

in ticketstaff.inc.php the same:

this (Line 95):
PHP Code:
$sqln='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id='.$row["staff_id"].''
to:
PHP Code:
$sqln='SELECT * FROM '.TICKET_TABLE.' WHERE staff_id='.$row["staff_id"].' AND status = "open"'
and this (Line 113):
PHP Code:
$sqlt='SELECT ticketID, ticket_id FROM '.TICKET_TABLE.' WHERE staff_id='.$row["staff_id"].''
to:
PHP Code:
$sqlt='SELECT ticketID, ticket_id FROM '.TICKET_TABLE.' WHERE staff_id='.$row["staff_id"].' AND status = "open"'
Reply With Quote
  #8  
Old 10-06-2010, 02:55 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Lightbulb Thanks for the feedback!

Quote:
Originally Posted by wyotriumphrider View Post
Fantastic job! This mod is exactly what my boss was looking for...
By the way, I have this mod (and a couple of others) up and running on 1.6ST.

Thank you!
Thanks for informing us about it, as many people asked me whether this mod working in 1.6 ST version or not. Now it has been answered as well.


@roniwahyu,

You may visit my blog, and there you can find another mods and or guidance how you can customize your osTicket. Click/follow the link that I have given in the second post in this thread.

@Scirocco,

Thanks for your modification.

Sincerely,
Masino Sinaga
Reply With Quote
  #9  
Old 02-02-2010, 09:38 AM
asaygi asaygi is offline
Junior Member
 
Join Date: Nov 2009
Location: Turkey
Posts: 11
Default Very good

Thank you masino_sinaga. I have install and no problem work at the system
Good Job.
Reply With Quote
  #10  
Old 02-05-2010, 08:48 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Talking Glad you like it

@beeman,

You're welcome. I will try to implement it for being to be used by dapartment managers, too.

@asaygi,

You're welcome. Glad it works fine at yours.

Sincerely,
Masino Sinaga
Reply With Quote
Reply

Bookmarks

Tags
admin panel, report, ticket aging, ticket for staff, ticket summary

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:52 AM.