GithubHelp home page GithubHelp logo

cuba-platform / currency-addon Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 244 KB

Currency CUBA addon provides currencies and currency rates for CUBA application. Component is under development.

Java 94.29% XSLT 5.71%

currency-addon's People

Contributors

maksim-leshukov avatar nikitashchienko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

currency-addon's Issues

UI component for change currency/amount/date

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>

Ability to see Currency field in other Currencies

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.

Override platform Currency UI field by addon field

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.

Add "active" flag to Currency

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

Rename Classes

Currency (USD/EUR) -> CurrencyDescriptor
CurrancyValueEntity (value, currency, date) -> Currency
AddonCurrencyValue -> CurrencyRateAware
CurrencyAPI - ???

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.