leiflm / bksystem Goto Github PK
View Code? Open in Web Editor NEWSystem for selling accouting sales based on sqlite3 and Enlightenment Foundation Libraries
System for selling accouting sales based on sqlite3 and Enlightenment Foundation Libraries
Certain status codes in the user account list will prevent the user to purchase products. These user should be displayed in a different color.
if database is not found in configured path, an error code should be returned to the controller that it can take appropriate actions.
The following actions should be documented / explained how they can be accomplished. Still there is more than one possible way. Mostly usage of SQL Manager extension for Firefox will be explained to allow administration from various platforms.
To avoid error while manipulating the database (adding user, etc.), add default values/constraints for tables where needed.
e.g. missig:
show UI where a user can select a new location of the database.
If a sale is done, show a short notification perhaps with status.
function to set the path of the database, from where it will be loaded
Views can't be modified. Either convert previous_fav_users to a table or remove the statements, that try to update the view as seen below.
CREATE TRIGGER "check_delete_user"
BEFORE DELETE ON "user_accounts"
FOR EACH ROW
BEGIN
SELECT CASE
WHEN OLD.uid = (SELECT userid FROM current_account_list)
THEN RAISE(ABORT, "Some unpaid products left in current_account_balance. Please make a new bill first.")
END;
DELETE FROM sales WHERE OLD.uid = sales.userid;
END;
add status field to database. Purpose is to exclude a product from being listed in the application views without the necessity to delete it from the database. Document status codes and meaning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.