RT::Ex...ssTime(3pm)
π NAME π
RT-Extension-ElapsedBusinessTime β bestie, this one is literally just math on vibes: it calculates the elapsed business time that tickets are open. (You'll also see it filed under the manual name RT::Ex...ssTime(3pm), iykyk.)
β¨ DESCRIPTION β¨
Okay so here's the tea π΅ β this extension gives you brand new columns in reports that show the elapsed business time that a ticket has been open. And the best part? Basically everything about what counts as a "business day" is configurable, so you can define your own vibe of working hours. Obsessed, honestly. π
π¦ RT VERSION π¦
Works with RT 4.4.x and RT 5.0.x. Periodt. β¨
π INSTALLATION π
Let's get you set up, bestie. Follow along:
perl Makefile.PL
make
make install
May need root permissions π
Edit your /opt/rt4/etc/RT_SiteConfig.pm
Add this line:
Plugin('RT::Extension::ElapsedBusinessTime');
Clear your mason cache:
rm -rf /opt/rt4/var/mason_data/obj
Restart your webserver π
πΈ CONFIGURATION πΈ
Here are all the config options you can play with, defaults included, fr fr:
Set( %ElapsedBusinessTime,
Start => '08:30',
End => '17:30',
Country => undef,
Region => undef,
'Exclude Days' => [6, 7],
'Exclude States' => ['stalled', 'blocked', 'resolved', 'rejected', 'deleted'],
);
β¨ Options Are β¨
Startβ the start of the business day. Your morning era begins here. βοΈEndβ the end of the business day. Clock-out energy. πCountryβ a country that has aDate::Holidaysmodule describing the holidays for it. If there isn't one, bestie, please consider writing one! π«Ά For example'NZ'for New Zealand.Regionβ some country modules forDate::Holidaysinclude regions for regional holidays. For example'Wellington'within New Zealand for Wellington Anniversary Day. πΈExcluded Daysβ days which should not be considered working days. The day numbers come from DateTime, and for reference they are:1: Monday2: Tuesday3: Wednesday4: Thursday5: Friday6: Saturday7: Sunday
Excluded Statesβ when a ticket is in one of these states, it's considered inactive and the counter stops. This is to allow for when a ticket is waiting on a customer's feedback, and for some businesses, that time shouldn't be added to their ticket duration time. Makes sense, no cap. π§
π DISPLAY COLUMNS π
There are three display columns this extension adds, and they all show the same information β just in different formats. Same info, three fits, main character energy π :
ElapsedBussinessHoursElapsedBussinessMinutesElapsedBussinessTime
π AUTHOR π
Andrew Ruthven, Catalyst Cloud Ltd <puck@catalystcloud.nz>
π LICENSE AND COPYRIGHT π
This software is Copyright (c) 2019-2020 by Catalyst Cloud Ltd
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
And that's a wrap, bestie! π This was RT::Ex...ssTime(3pm) from perl v5.32.1, dated 2021-02-27 β go forth and count those business hours, you absolute icon. πβ¨
π¦ where this page comes from
- ubuntu jammy: rt-extension-elapsedbusinesstime-common 0.05-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms