I created a Package with available quantity "1" on http://localhost/blesta/admin/packages/add/
Then I consumed it for a client. Now the quantity is "0" and it is displayed correctly on http://localhost/blesta/admin/packages/
But this package still appears in the dropdown selection on http://localhost/blesta/admin/clients/addservice/2/
I am aware that this package can not be consumed again as it produces the ERROR message to indicate that the package is NOT available. Everything works perfect. But how can I get rid of all the "0" quantity packages in in the dropdown selection when adding services. I noticed that this question has been asked befoe back in 2013 or so. The ERROR message, when adding services, has been added after that. But the hiding of the "0" quatity packages in the dropdown selections still exists. Has somebody fixed this issue? If so would you mind posting the code sample please?
Question
siteAdmin
I created a Package with available quantity "1" on http://localhost/blesta/admin/packages/add/
Then I consumed it for a client. Now the quantity is "0" and it is displayed correctly on http://localhost/blesta/admin/packages/
But this package still appears in the dropdown selection on http://localhost/blesta/admin/clients/addservice/2/
I am aware that this package can not be consumed again as it produces the ERROR message to indicate that the package is NOT available. Everything works perfect. But how can I get rid of all the "0" quantity packages in in the dropdown selection when adding services. I noticed that this question has been asked befoe back in 2013 or so. The ERROR message, when adding services, has been added after that. But the hiding of the "0" quatity packages in the dropdown selections still exists. Has somebody fixed this issue? If so would you mind posting the code sample please?
Using blesta v.3.6.2 and Universal Module.
Thank you in advance.
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.