I have an old script that was working properly and we made some changes and must have broke some of the coding. So we need some help. I'll post the updates below. Please ask any questions if needed.
1 - When adding new items to the delivery receipt it makes a new id. So it only shows the last item i saved even if i have entered in a few, and then there is multiple delivery receipts when there should be only one.
2 - when hitting submit on the add screen it doesn't correctly add last 2 fields and go to the correct page. (i could be wrong but i think once #1 is fixed this one will be too.)
3 - when i delete a delivery receipt it does delete but it doesn't delete any of the delivery_receipt_items tied to that id.
4 - We need help with implementing a choose between 2 dates to see the data report. We got the script from [url removed, login to view] and use it on other pages and it works great so we need help putting that same script of this page.
Hope to hear from you soon as we are anxious to complete this project. Thanks so much and take care.