Open f1-outsourcing opened 2 years ago
"Add seconds to call duration view field" on module config page can update this field to display seconds to. But it looks like a hack, rather than solution. I think better way would be to create own field for that purpose. Will think about it for the next release.
Also this field can't be hidden, otherwise "call reminder" function will beak.
I have currently a partial working setup, that is logging calls in the activies/calls section of suitecrm. What annoyed me is that if I am testing I have to wait a minute before time is registered. At first I thought when I saw the log entry below, seconds were just not submitted, but then I noticed that de database has duration stored in two separate fields (wtf ??? wtf ??? wtf ???)
When they change it to one field using something like seconds or interval, it would be nice to update this module for it.
time="2022-06-26T19:44:14+02:00" level=trace msg="map[data:map[asterlink_call_seconds_c:17 date_end:2022-06-26 17:44:14 duration_hours:0 duration_minutes:1 status:]
Later I will link the issue to request this change in the suitecrm database here.