alexanderzatko / rovas

Application for participating in the NEO economy
0 stars 0 forks source link

Project-specific exchange rates #177

Closed alexanderzatko closed 8 months ago

alexanderzatko commented 8 months ago

In order to increase adoption of Rovas in certain situations, it is desirable to allow projects owners to set the payments made to their projects to be retained within the projects. Workers filing reports in such a project would then be able to exchange Chrons earned by work performed in the project for Euros at a different (presumably better) rate that the normal Rovas forex rate offers.

alexanderzatko commented 8 months ago

Implemented. The list of changes is outlined below

fx-sandbox project rewards functionality

content types project new fields field_reward_target field_euro_basket field_chron_basket field_project_exchange_rate

    display - adjust

co_worker_merit_allocation
    new fields
        field_project_chrons

formatters exchange_rate

templates template.php

modules rovas_project_edit

views project_coworkers worker_merit_allocations_for_project

rules process_fx_sandbox_project rules_verify_work_report rules_update_user_chron_account rules_reward_work_report rules_money_transfer_was_made rules_worker_merit_shares_for_fx_sandbox_projects rules_process_forex_order + TRANSLATE DRUPAL MESSAGE rules_process_purchase_core

UPDATES due to update rules chrons rule rules_delete_work_report rules_work_report_updatedoriginal rules_create_work_report rules_deleting_verification rules_make_money_transfer

blocks chron_balance-block //remove forex page from the list