Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 6:20 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Low case in Destination Name field
PostPosted: Fri Feb 15, 2008 12:01 am 
Offline

Joined: Thu Jul 26, 2007 6:15 pm
Posts: 7
Hello everybody:

I´m using a2billing YellowJacket 1.3.2. I have noted in my installation that the destination names in rates table are written in "low case", even when in my rates cvs file they were written with the first letter using capital letter when they were imported.... I tried to change from "argentina" to "Argentina" manually and it was impossible, so, that is a bug or a control rutine in the program?...is there any way to change that?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 15, 2008 2:36 am 
Offline
Moderator
User avatar

Joined: Tue Jun 06, 2006 12:14 pm
Posts: 685
Location: florida
I do believe that there was some talk on this subject before. Try to search for the answer, I do believe that it was resolved in TRAC though. If you can't find anything in either TRAC or Search, I bet someone will then pipe up with an answer for you.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 15, 2008 3:08 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Yes, we covered this recently. I don't believe any related changes reached the svn repo, though.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 15, 2008 6:45 pm 
Offline

Joined: Thu Jul 26, 2007 6:15 pm
Posts: 7
Thanks for your reply, I saw the similar case. I checked the script:

/Public/form_data/FG_var_def_ratecard.inc

and locate the line 9:

// put all the destination name to lowercase
$_POST["destination"] = strtolower ($_POST["destination"]);


so, Must I comment the line to disable that rule?....what about of the rest of code (maybe this could be a disaster for the application)?. Also for the php script "CC_card_import_analyse.php", what would be the lines to comment?....

Finally, is there any problem in use upper case?, or a mix of that...what was implemented this control?...
Sorry, but i´m not a developer guy... :)

Alfredo


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 15, 2008 7:02 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I can't guarantee you commenting out that line (with //) won't cause problems, but I'd be surprised if it did.
I'm not sure why the original decision was taken to convert everything to lower case. This also breaks importing customers with a currency, as the currency needs to be in capitals.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group