Hi,
I have this basic Orderdetails table:
Product | Unit Price | Quantity | Discount
Where the product supposed to be filled with items selected from Items table.
Normally when you want to enter Order Details data from the add page, you search for one item then select it then enter the item then go to next item till you complete the order. Like this demo:
https://xlinesoft.com/livedemo/phprunner/livedemo5/orders_add.php
However, I want to enhance data entry process. I want to achieve similar task but NOT to enter items one by one. Instead I want to add all items to my list first (with blank details like quantities and prices) in one shot. Later I will fill details like quantities and prices. This can be achieve with the following as general:
On Orderdetails/Add page: I want initially all items (Items table) to be displayed with a select option that user can select the items he wants to add to the orderdetails. Exactly as if we put the Items_list page (with search and filter controls) into the OrderDetails_Add page. Once user filters and selects all the required items then press one button [Add to the Page] then all items will be add to the screen with blank fields (Unit Price | Quantity | Discount). Nothing saved to the database so far.
Now user start filling these (Unit Price | Quantity | Discount) details and press [Submit] only now the data save to the database.Orderdetails.
Imbed the products_list page into the order_details_add page
Any idea how to achieve it? Any link?
thanks
I have this basic Orderdetails table:
Product | Unit Price | Quantity | Discount
Where the product supposed to be filled with items selected from Items table.
Normally when you want to enter Order Details data from the add page, you search for one item then select it then enter the item then go to next item till you complete the order. Like this demo:
https://xlinesoft.com/livedemo/phprunner/livedemo5/orders_add.php
However, I want to enhance data entry process. I want to achieve similar task but NOT to enter items one by one. Instead I want to add all items to my list first (with blank details like quantities and prices) in one shot. Later I will fill details like quantities and prices. This can be achieve with the following as general:
On Orderdetails/Add page: I want initially all items (Items table) to be displayed with a select option that user can select the items he wants to add to the orderdetails. Exactly as if we put the Items_list page (with search and filter controls) into the OrderDetails_Add page. Once user filters and selects all the required items then press one button [Add to the Page] then all items will be add to the screen with blank fields (Unit Price | Quantity | Discount). Nothing saved to the database so far.
Now user start filling these (Unit Price | Quantity | Discount) details and press [Submit] only now the data save to the database.Orderdetails.
Imbed the products_list page into the order_details_add page
Any idea how to achieve it? Any link?
thanks