Insert value into time_accounting in database
Moderator: crythias
-
- Znuny newbie
- Posts: 7
- Joined: 26 Sep 2017, 21:53
- Znuny Version: 6.0.0.beta1
- Real Name: Josiah Huff
- Company: Automation Concepts
Insert value into time_accounting in database
So I've created a simple start/stop/reset javascript timer that I use on the AgentTicketZoom page under the TicketInformation column to just keep track of how long we work on tickets. I would like to add a button maybe called log that would send the time in the timer to the Accounted Time field. In the database I saw that it records to a table called time_accounting. Does anyone know what code might be able to accomplish this? I don't need to know how to create the button, just how to "onClick" send the current counted time to the database. I'll add a visual to help make sense of my words.
You do not have the required permissions to view the files attached to this post.
Re: Insert value into time_accounting in database
times need to set to an article.(e.g.note or email)
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 7
- Joined: 26 Sep 2017, 21:53
- Znuny Version: 6.0.0.beta1
- Real Name: Josiah Huff
- Company: Automation Concepts
Re: Insert value into time_accounting in database
Thanks for the help!
I'm sorry though, not sure I'm following you.
I'm sorry though, not sure I'm following you.