Really sick bug. I can't understand how this can happen. OK, this is open source software, no one has the right to "complain", the authors are providing the software freely, free of charge and all that stuff. And they are spending a lot of time into it to provide a nice piece of software. Anyway, it's a shame that something basic and fundamental like this can happen, I just don't understand why there are so many bugs in this software.
It's a real shame. I wish I had the money to pay a bunch of coders to join the A2Billing dev team and build the whole thing again from scratch! Right now it's like driving with only one headlight or something like that... every corner you find some new bugs and you write them down and try to remember them and post them here hoping they are getting fixed, only to find another new bug a couple of minutes later. So, slowly I get a feeling for "this is working, this is not, on this link I can click, on this I shouldn't click, I have to do it in this order to work around the bug, if I press here I lose 1 day of work etc."
Anyway, the bug:
As admin, choose Rates, Rates, select a Ratecard, hit Search. I have e.g. 20,000 rates in this Ratecard.
Then, Filter on Dialprefix: enter something, e.g. 226 for Burkina Faso which will bring up 12 rates. Next, click on "Delete All" and a javascript thingie will prompt you: "Are you sure to delete 12 selected records?".
Click "Yes" and see all your 20,000 rates deleted.
Unbelievable.
I'm stunned.
Oh, this is on 1.9.3.
Thanks.