The past week I have been working on the implementation of the Ticket seller logic into the graphic interface. I explained the logic of the ticket seller section in previous posts. In order to do this I had to do several points:
- Create the HTML file named assignSellers.hmtl.
- Create the showsTicketsSellers method in views.py.
The main changes were created in the assignSellers.html file.
The two parts of the code that are more important are the creation of the assignSellers button in the toolbar and the creation of the pop up of the assign sellers. In general, this two codes are the more relevant to make possible the graphic interface. There are some variables that I had to adjust. Those variables were width and height. Also, there is a mouseOver function, that is the responsible of changing the color of an icon when the mouse goes over it.
The name of the fields were changed in the table that can be found at the end of the archive:
Since I had all the logic ready, it was not so hard to finish the graphic interface. All I had to do was make the proper convertions and use those files that I had made in the last month.
The next step would be do the same (Converting from logic to graphic interface), but in the Incomes and Expenses sections.
No comments:
Post a Comment