filmov
tv
Reports from Bills and sale table by using DateEntry to get day wise sale report with total value
Показать описание
These tables have date column so we have to take a fresh data to get details reports on todays or previous days sell. While displaying the sale of the user selected date, we can show the total value of the sale.
WE will be using treeview to display the sell report showing the product id , price ,quantity, bill number and bill date.
Here on selection of date from the DateEntry widget the trace method will trigger the function to collect the data from MySQL table and populate the children of the Treeview.
The query to get the data is from sell table is here.
SELECT * FROM plus2_sell WHERE bill_date=%s
Here we have used the placeholder and then passed the user selected date as parameter to MySQL table to retrieve the record set.
strftime : Returns the string by using format by taking date object as input
All source codes here
All about DateEntry widget is here
MySQL database connection using SQLAlchemy and error library
Treeview copy
Product table Create Query
All parts of Restaurant Management are here
Part I is here
Part II : database integration
Part III : Generating Invoice
Part IV Installation of product table
Part V Installation of sale and bill tables
Part VI Generating date wise reports
Part VII Using Combobox for selection of items.
Part VIII Select and edit Product table using treeview
#ReportonDailySell #DailySale #Tkinter #plus2net #python #ReportOfdate #DateReport
WE will be using treeview to display the sell report showing the product id , price ,quantity, bill number and bill date.
Here on selection of date from the DateEntry widget the trace method will trigger the function to collect the data from MySQL table and populate the children of the Treeview.
The query to get the data is from sell table is here.
SELECT * FROM plus2_sell WHERE bill_date=%s
Here we have used the placeholder and then passed the user selected date as parameter to MySQL table to retrieve the record set.
strftime : Returns the string by using format by taking date object as input
All source codes here
All about DateEntry widget is here
MySQL database connection using SQLAlchemy and error library
Treeview copy
Product table Create Query
All parts of Restaurant Management are here
Part I is here
Part II : database integration
Part III : Generating Invoice
Part IV Installation of product table
Part V Installation of sale and bill tables
Part VI Generating date wise reports
Part VII Using Combobox for selection of items.
Part VIII Select and edit Product table using treeview
#ReportonDailySell #DailySale #Tkinter #plus2net #python #ReportOfdate #DateReport
Комментарии