Actually i create, I created a multi vendor-vendor site. i doneI did most of the things but now am stuck in in invoice creation.
I filter the invoice items in the New Invoice page shown in the screenshot
inIn this order, there are 4 Items but iI already filter each vendor can see own items. in
In this screenshort, you can see 2 items because the current login vendor has 2 items in this order.
.
My
My Problem is when iI click on "submit invoice""submit invoice" button in this page it createcreates 4 records mean insert 4 items in sales_invoice_item
sales_invoice_item
table. I want to insert just those records that shown in New Invoice Page which iI filtered .others
Others invoice item will be exclude excluded.
How can iI make restriction ? please guide me. Thanks