Question: Order creation - Service Removal Issue

Order creation - Service Removal Issue

When we create order, if i select same service multiple times, it removes all services of same type, screen capture here: https://www.dropbox.com/s/fo1h11hy58crsi2/Screen%20Recording%202020-

MR

Muhammad Kamran Rafi

Asked

When we create order, if i select same service multiple times, it removes all services of same type, screen capture here: https://www.dropbox.com/s/fo1h11hy58crsi2/Screen Recording 2020-07-14 at 4.26.32 PM.mov?dl=0

Is it possible to add quantity of existing service if it gets added multiple times?

Thanks!

  • MR

    Muhammad Kamran Rafi

    Answered

    There is another issue where fields does not gets populated white looking on to Customer’s edit page. See attached screenshoots.

    Thanks!

  • MR

    Muhammad Kamran Rafi

    Answered
  • MS

    Mian Saleem

    Answered

    Hello,

    The link in question is broken. You can add same service to order as many times as you need.

    Which field are you talking about. All the fields in screenshot looks fine. I have tested the edit customer and measurements and didn’t find any issue.

    To test demo, you should add customer and then measurements and orders.

    Please be informed that demo don’t set the any fields for measurement. The demo data is a bulk generate without any validation.

    Thank you

  • MR

    Muhammad Kamran Rafi

    Answered

    Please go through the following link for the issue: Video Link.

  • MS

    Mian Saleem

    Answered

    Thank you for the video. Let me check and I shall fix this soon.

  • MR

    Muhammad Kamran Rafi

    Answered

    Thank you so much! Once you update it, can you please list down the files got modified for this bug, so that i can just update that particular file instead of going to setup again, since i already have made plenty of changes to most of the files.

    Thanks!

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry as we can’t provide the modified files list.

    I am not sure about your use case but updating quantity won’t be useful for many as they might need different measurements for the server. Quantity can be updated easily by changing input than adding service.

    For delete issue, I have update the deleteService method to splice using service index. Now it accepts index instead of service id. You can check resources/js/Pages/Orders/Create.vue and Edit.vue

    Thank you

  • Login to Reply