Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 27, 2024 8:18 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: An improvement to the way ratecards are attached to TariffGr
PostPosted: Sat Jun 02, 2007 2:39 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Warning : this patch has been tested in a2billing 1.2.3 (chameleon) only. It is not guaranteed to work properly with other version of a2billing. Make a backup copy of the 2 files as mentionned below (just in case)

When adding an existing ratecard to a TariffGroup, one has to do it one by one for each ratecard. In my case, one of my TariffGroups had new 500 rate cards (for the entire world). Fortunately, I had to use SQL statements to attach them. The whole process took about 20 minutes to create, check and double check the query, and 6.23 seconds to run it.

The average person will probably do it the hard way, and that can take a very long time.

Here is a patch that will allow administrators to select as many ratecards as possible and add them in a single click.

Simply download the attached zip file and unzip it in the /lib/Form/ folder of your a2billing installation folder.

The affected files are Class.FormHandler.EditForm.inc.php and Class.FormHandler.inc.php


Attachments:
patch.zip [23.41 KiB]
Downloaded 393 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot] and 38 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