HolismHolding / Issues

1 stars 0 forks source link

Create MonetaryValues module #252

Open Nefcanto opened 1 week ago

Nefcanto commented 1 week ago

This module is needed to store 4 parameters that are required in order to represent a monetary value:

  1. Quantity
  2. Currency
  3. Base unit, subunit or super unit
  4. Magnitude

And we will use it to specify the monetary value of these modules and future concepts:

  1. the price in the pricing module
  2. the discount in the discounts
  3. the reward in the future payroll module
  4. the loan in the future loan module
  5. ...

It can have a calculated property that presents the stored value in the base unit and the base magnitude for comparison and filtering.