cuba-platform / currency-addon Goto Github PK
View Code? Open in Web Editor NEWCurrency CUBA addon provides currencies and currency rates for CUBA application. Component is under development.
Currency CUBA addon provides currencies and currency rates for CUBA application. Component is under development.
Annotation com.haulmont.cuba.core.entity.annotation.CurrencyValue
Interface com.haulmont.addon.currency.entity.CurrencyValue
Please check release notes first http://files.cuba-platform.com/cuba/release-notes/6.10/
Create a separate git branch for CUBA 6.9.
In different currencies we need different precisions e.g:
For USD we need 2 digits precision, but for BTC we need many digits precision
If field implements CurrencyValue
interface then UI field should allow a user to change currency.
UI Field should be defined as
<field>
<currencyAddonField property='<>' datasource='<>'/>
</field>
Currency UI component field should provide an ability to see value in other active currencies.
If field annotated as standard CUBA @Currency
annotation then UI field should not allow a user to change currency.
App property or xml attr??
Currency UI field
(currency addon) should be used by default in fieldgroup for @CurrencyValue
(platform annotation) annotated fields or for fields which have implemented CurrencyValue
(currency addon) interface.
By default is 19.2, need to choose.
If a currency is not active then this currency will be excluded from the automatic scheduler update.
For fields where this currency was as selected as main, this currency should be still available in the list of available currencies
Update the "Installation" section of readme.md: describe how to install the component using Add-ons Marketplace
Create project in separate repository
Add to class CurrencyRateWorkerMBean
method void removeRatesOlderWhen(long days)
For all DB types
We should have ability to specify precision for specific Currency.
Example: for USD is 2 fraction digits, for BTC is more 6 fraction digits.
MBean should be only interface for call methods
Currency (USD/EUR) -> CurrencyDescriptor
CurrancyValueEntity (value, currency, date) -> Currency
AddonCurrencyValue -> CurrencyRateAware
CurrencyAPI - ???
in annotation value, there should be a field name which will be used to check currency date
I should can fields in next order:
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.