Jump to content

Service Fields With Qty Affect All Following Services.


Timothy

Recommended Posts


When adding a service to a customer that has multiple addons and at least one of the addons has a qty field the value is passed down to all services that follow it.

How to duplicate: Create 3 Products with the universal module. A primary product and two addon products.

1: The primary product should have no fields
2: The first addon product should have a required service field with qty in the label area.
3: The second addon product should have no qty field.
3: Create the associated packages and link the two addon products to the primary.

Adding services to client
1: On a client profile click to add a service.
2: Add the primary service
3: Select both addon services.
4: On the first addon service set a quantity.
5: Add the second addon and proceed to the review screen.

The bug: The second addon has the same quantity as the first addon. The qty field from the first addon product applies to each addon service that comes after it. This happens even if the additional addons do not have 'qty' fields of their own. If the additional services have their own 'qty' fields then the issue does not come up.

Expected behavior. The 'qty' field from one service should not affect any additional services.

Server setup is Freebsd 9.2 with Nginx 1.4.2 using PHP 5.4.21 through php-fpm and Mariadb 5.3.  I am using Blesta v3.0.5
 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...