Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use of " . " in Monthly Cost
#11
(11-22-2010, 01:04 PM)tewarishubham Wrote: I have to enable use of "." (dot) for setting my package price. My package price is $3.75/month but I'm unable to write "." so its coming $375... I cannot increase price to $4 so please don't suggest that.
What should I edit and where so that decimals can be enabled and my package price can be $3.75..???

I'm new to thehostingtool so please tell me where and what should I edit...

hi tewarishubham,
I asked this to a staff member ZzBomb he managed todo it straight away, if you are using Internet explorer then change to Mozzilla Firefox as there seems to be a problem with Iinternet explorer.

Hope this helps
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB: http://eddieslife247.co.uk/

Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.
#12
I believe this has been resolved in v1.2.3 but I'll need to test that.
Kevin Mark - TheHostingTool Lead Developer
#13
Hi,

I just fixed this on mine today - easy fix.

Do you have phpMyAdmin on your server? If you do:
  • Go to your database in phpMyAdmin, press the "structure" icon for the "tht_invoices" table.
  • Highlight the "amaount" field, then press the 'change' button
  • Set the "Type" to: "DOUBLE"
  • Save
-----
Now you need to edit a file to allow you to type "."

Edit: includes/types/paid.php

Change this line:
$this->acpForm[] = array("Monthly Cost", '<input name="monthly" type="text" id="monthly" size="5" onkeypress="return onlyNumbers();" />', 'monthly');

So that is now says:
$this->acpForm[] = array("Monthly Cost", '<input name="monthly" type="text" id="monthly" size="5"/>', 'monthly');
-----

All seems to be working fine for me now!

Thanks,
Gary
#14
Thanks Garry! If you don't know how todo this, you can still use another browser like firefox or google Chrome
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB: http://eddieslife247.co.uk/

Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.
#15
Even by using Firefox - it lets you set the package price with a ".", but the Invoice amount will always be rounded unless you edit the table type.
#16
ok, well hopefully this should have been fixed in the next version.
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB: http://eddieslife247.co.uk/

Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.


Forum Jump:


Users browsing this thread: 2 Guest(s)