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
|
|