denisechapman Posted July 29, 2014 Share Posted July 29, 2014 Want to use this as a time sheet.. thanks. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted July 29, 2014 Share Posted July 29, 2014 Hello denisechapman, You should be able to set minutes by using fractions of an hour. For example, if you want to use a billable item for 30 minutes it would be 0.5 hours. It does round up however, so if you enter 0.25 it will round up to 0.3. --Thanks 0 Quote Link to comment Share on other sites More sharing options...
denisechapman Posted July 29, 2014 Author Share Posted July 29, 2014 yes, I understand that, but I would prefer it to just say minutes.. I am having to edit each and every billable item... I charge $50 per hour or .84 per minute... - - - Updated - - - Just want to change the default word to minute rather than hour 0 Quote Link to comment Share on other sites More sharing options...
denisechapman Posted July 29, 2014 Author Share Posted July 29, 2014 Just want to change the default word to minute rather than hour 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 29, 2014 Share Posted July 29, 2014 Just want to change the default word to minute rather than hour if you just want to change the wording, then you should be able to use language overrides... http://docs.whmcs.com/Language_Overrides if you look in lang/english.php (or your default language), you should find two entries... $_LANG['billableitemshours'] = "Hours"; $_LANG['billableitemshour'] = "Hour"; if you follow the instructions on the above documentation page and create an "overrides" folder and add an english.php file within it, you can change these variables to... <? $_LANG['billableitemshours'] = "Minutes"; $_LANG['billableitemshour'] = "Minute"; ?> if you do that, then the invoices will state... 60 Minutes @ 0.84/Minute $50.40 if you experiment with adding the minute price at 0.8333, you'll get... 60 Minutes @ 0.8333/Minute $50.00 though if you go back to edit it and save changes, it will set it back to two decimal places, e.g 0.83... so if you set it to 0.8333 and the invoice is created, it should use those figures. one other thing you could do, though it is purely cosmetic on the admin side, would be to change the text in the billable item pages - switching "Hours/Qty" to "Minutes/Qty". this would be achieved by modifying the "english.php" (or your admin language) in the admin/lang directory. $_ADMINLANG['billableitems']['hoursqty'] = "Hours/Qty"; $_ADMINLANG['billableitems']['hours'] = "Hours"; to... $_ADMINLANG['billableitems']['hoursqty'] = "Minutes/Qty"; $_ADMINLANG['billableitems']['hours'] = "Minutes"; in the above image, i've changed the "House" entry to "Minutes" - but not the Hours/Qty text. however, as with the client area language files, don't edit them directly - using a similar procedure as we used previously, in the admin/lang folder create a folder called "overrides" and add an english.php file with only the changes you want to make... <? $_ADMINLANG['billableitems']['hoursqty'] = "Minutes/Qty"; $_ADMINLANG['billableitems']['hours'] = "Minutes"; ?> http://docs.whmcs.com/Admin_Area#Multi-Language when you update whmcs in the future, it won't overwrite any entries in your language "overrides" folder(s). 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.