krayin / laravel-crm

Free & Opensource Laravel CRM solution for SMEs and Enterprises for complete customer lifecycle management.
https://krayincrm.com
Open Software License 3.0
11.19k stars 762 forks source link

Getting Console Error when we add Inventory in the Product Inventory Source and Select Add More option. #1441

Closed ashishkumar-webkul closed 2 months ago

ashishkumar-webkul commented 2 months ago

Bug report

Title

Getting Console Error when we add Inventory in the Product Inventory Source and Select Add More option.

Issue Description

When I was viewing Product and there when I was adding Inventory, there we can see the inventory sources and then we can see that the Add more option is present. When we click on it, In console we can see errors are appearing.

Preconditions

  1. Admin Must Be logged in.
  2. Atleast 1 Product must be created
  3. Atleast 2 Warehouse must be created.

Steps to reproduce

  1. Go to Admin -> Products -> View Product -> Side Section -> Inventory
  2. Click on Add Source -> Select Warehouse -> Add more button.
  3. Check console we can see syntax error.

Expected result

We should not be able to get Console Errors.

Actual result

Please check the video for reference.

Video

https://github.com/user-attachments/assets/13065491-1443-447b-afa7-3168f21370a1

devansh-webkul commented 2 months ago

Not able to reporduce.

ashishkumar-webkul commented 2 months ago

Checked and Found now the issue is not appearing, hence I am closing the issue and also attaching a video for the same.

Video

https://github.com/user-attachments/assets/d2edee53-1cab-450e-a5cf-9711963fbb94