Cannot access billing page

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ismithers
Posts: 6
Joined: 08 Jul 2015, 13:48

Cannot access billing page

Post by ismithers »

I've been using the built in Time Tracking functionality with Mantis 1.2.19 and have recorded time for issues, added notes and can view my tasks with the time totals. I was reading this https://www.mantisbt.org/wiki/doku.php/ ... issue:4428 which mentions billing. I cannot seem to get access to this functionality. I believe I should see a menu item called "Billing" on the menu - but I don't. I have set my user to have access to time tracking, and to be a Manager level user rather than just a developer, and still no menu item. I try to browse to the page manually via /mantisbt/billing_page.php and I get an "Access Denied" message. So its there, its just locked away.

Any ideas what setting I might have missed?
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Cannot access billing page

Post by atrol »

You have to add at least the following lines to file config_inc.php

Code: Select all

$g_time_tracking_enabled = ON;
$g_time_tracking_with_billing = ON;
Please use Search before posting and read the Manual
ismithers
Posts: 6
Joined: 08 Jul 2015, 13:48

Re: Cannot access billing page

Post by ismithers »

atrol wrote:You have to add at least the following lines to file config_inc.php

Code: Select all

$g_time_tracking_enabled = ON;
$g_time_tracking_with_billing = ON;
Can I not set them in the configuration options as shown below?
configuration options
configuration options
mantis.PNG (17.63 KiB) Viewed 4192 times
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Cannot access billing page

Post by atrol »

ismithers wrote: Can I not set them in the configuration options as shown below?
You can, but thresholds are not type string. They are integer.
Check core/constant_inc.php for the values.
E.g. DEVELOPER is 55
Please use Search before posting and read the Manual
ismithers
Posts: 6
Joined: 08 Jul 2015, 13:48

Re: Cannot access billing page

Post by ismithers »

atrol wrote:
ismithers wrote: Can I not set them in the configuration options as shown below?
You can, but thresholds are not type string. They are integer.
Check core/constant_inc.php for the values.
E.g. DEVELOPER is 55
Oh how silly of me. Many thanks for that, I have the Time Tracking menu item now. Great stuff :)
Post Reply