GithubHelp home page GithubHelp logo

dreller / glutax Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 4.2 MB

Online tool to track gluten-free expenses.

Home Page: https://dreller.dev/glutax

License: GNU General Public License v3.0

Hack 0.02% PHP 3.70% JavaScript 93.90% CSS 2.31% SCSS 0.07%
canada gluten-free impot tax

glutax's People

Contributors

dreller avatar

glutax's Issues

Edit a product in purchase

When I try to modify an existing product in a purchase, the form is cleared and it save an empty product.

Add User’s Preferences

Allow user to set various preferences:

  • Display the Purchase number (PN) in a modal instead of a toast. Must be a personal setting because not every user will write the PN on their receipt.
  • Use Product Categories.
  • Number or purchases to show on Welcome Page.
  • Number of lines on one page in reports.
  • Use Persons.
  • Default date value in a new purchase.

Global Include

Create a php script that will manage:

  • session_start & redirect if not set,
  • initialize currency & date formatter
  • import translations
  • import sql fields map

Database Class

Enhance the database class to create functions that return data instead of creating selects in the pages code.

Enhancements to SKUs

The SKU field must be enhanced as follow:

  • Uppercase all characters
  • Spaces unallowed
  • Must be unique in Account's database

Theme

Add a parameter in User's preferences to control the visual color of the interface (changing the blue background).

Add a Purchase Identifier

Create a small Purchase ID, user-friendly, for users to write on their physical receipts to match with their datas.

Load Product Price

Load Product Price when loading a product. A specific product can change price but not that volatile.

SQL fields map

Create a set of define() to map a simple name to each SQL Column Names to the database.

define "PROD.WG.NAME" to "productEquName"
define "EXP.PROD.WG.NAME" to "expenseEquProductName"

Handle SKU or Product Code

Allow a function to load a product by it's product code or SKU.

  1. Scan/Enter SKU/Code instead of selecting the product in a select list.
  2. Load the info as it does like using the select list.

Clean JS in 'purch.php'

This page gets a lot of JS code to handle products. Clean the code to make it clear and readable.

Unable to edit a purchase

When Glutax is loaded to a Webserver, unable to edit an existing purchase:

Uncaught ReferenceError: myPurchaseID is not defined at HTMLButtonElement.onclick (page.php:149)

Purchase Browser

Add a new feature to allow to browse all purchases, by year/month.

Mandatory fields

Add the concept of mandatory fields in Purchase Screen and Tables.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.