Last week, I had developed some part of the order page. The orderList page was the first thing I built. The orderList will be able to list all orders and filter specific orders based on the order number. I had not established the layout appropriately because the order list was still missing the dummy data. By the end of the week, I saw that the layout of the orderlist page was flawed and needed to be corrected.
Following that, I created the order creation function. Because every order system requires an order creation function, the order creation function is regarded as the most crucial aspect of this project. As a result, I spent some time on the layout. I divide the main page into two sections; the left section is fixed and cannot be scrolled, and vice versa. In addition, I made a header for the search customer Id and cancel order functions. The user can search for the customer by entering the customer’s name, and the customer Id is important for order creation. Every order has a customer Id; if the customer is making a one-time purchase, the order system will record the sales order under a default Id.
Between the new and previous orders on the order page. The user can return to the order page and adjust the orderList row that needs to be changed by clicking on it. It differs from the prototype created by one of my coworkers since she intended to change the order data in the order list page using the prompt form function. Fortunately, the changes were not difficult to implement, and I should be able to complete the task within a day. However, this will cause a new issue; now I should create a button to reset the order page, which will affect the layout I already specified.
In addition, I modified sections of the customer page and integrated Mr. Peter’s general alert feature. The general alert function is the one that occurs after the API connection is established. For example, if I click to create a new customer data, the data will be provided over API and an alert page will notify me whether the creation was successful or unsuccessful. When creating, changing, or removing customer data, the customer page will now display a notification. In addition, I integrated a webcam option that will capture the data. Mr. Peter told me that he will buy a webcam to record the data, and I believe that the webcam function will be useful.
At the conclusion of the week, I successfully created a sales order using dummy data, and it appears in the sales order list. I should keep working on improving the order page so that sales orders may be created without having to set up dummy data. Mr Peter told me that I must use the item API to choose the item to be included to the sales order. This will be my primary task, which I intend to complete by the year 2024.
