I've made some changes! (finally..)

22 views
Skip to first unread message

Jad Kik

unread,
May 23, 2013, 1:21:29 PM5/23/13
to coinb...@googlegroups.com
Hey everybody!

I've made some changes today, and I would like to hear your feedback/opinion on some things. First, let me list what changes I made.

  • I included integration with Babel, which is a library used for localization. It handles properly everything from dates, to number formatting, to currency formatting and symbols, depending on your locale (language/location). We were previously using it as a helper for the translation.
  • The currency model has been updated to make better use of this improvement. The names of the currencies no longer depend on the name you give them, but the standard one is taken from Babel. Also, the way the rates are calculated were improved to accomodate for multiple currencies, while keeping precision as high as possible (use Decimal instead of floats, etc.). There is still an issue with sqlite, which I will fix shortly. It works with MySQL now.
  • The taxes module has been added last week, and today I added the models. This means that the structure is here, but you can see nothing of it (yet).

So, I wanted to see what you think should be in the tax module:

  • Would you find it useful?
  • What kind of tax do you need? (just a simple percentage applied, does it depend on the price of the item, something else?)
  • Would you rather apply taxes to each products individually or apply them to groups of products? Or both?
  • If you need to apply taxes to groups of products, are you more comfortable with a "tagging" system (you tag one product with multiple labels) or a "categories" system (each product belongs to one and only one group, as it is now in coinbox)?
  • Do you prefer to input your prices directly, including taxes, or do you want to enter the base price and let the program add the taxes?

I also attached a MySQL Workbench file for those who want to see an EER diagram of the database (which was mentioned in one of the other threads). Note that some of the tables are just there temporarily, until we make our final choices, so it will definitely change).

Thanks everyone!

Jad.

coinbox-models.mwb
Reply all
Reply to author
Forward
0 new messages