Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make t_accounting_account_groups great again. #126

Open
5 tasks
killua-eu opened this issue May 17, 2019 · 2 comments
Open
5 tasks

Make t_accounting_account_groups great again. #126

killua-eu opened this issue May 17, 2019 · 2 comments
Assignees
Labels

Comments

@killua-eu
Copy link
Collaborator

killua-eu commented May 17, 2019

  • add a new route to manage/edit t_accounting_account_groups: /accounting/account-groups
  • on this route have a:
    • select (c_definition_id, c_definition_name) and a possibility to add a new definition
    • upon selecting a definition (or adding a new one), show a form with input pairs containing c_group_number and c_group_description, allow to modify the numbers and descriptions within the definition. Disallow duplicate c_group_numbers within a single c_definition_id. Unique index is c_definition_id.c_group_number
  • have the route should allow to select the default definition to be used. Usually, this will change only from year to year, within the same year, we will use the same definition of groups.
  • change the input into a select2 style input in accounting/costs at managerial_accounting.acc_group and financial_accounting.acc_group ... (we want to have a suggest of possible values while typing, but also with the possibility to input something that is not in the definition list) - the autosuggest should show group_number: group_description, but the value should be only group_number
  • suggest managerial_accounting.project_id and financial_accounting.project_id from vectors. Test using https://www.npmjs.com/package/react-jsonschema-form-extras ... cnd compiled version here: https://unpkg.com/[email protected]/dist/ - specifically the typeahead component. Example here https://codesandbox.io/s/p3z45m8rpq
@pohadkar
Copy link
Collaborator

unique index is c_definition_id.c_group_number.c_group_description
do json dat se bude zadavat retezec c_group_number - c_group_description a pamatovat v novem sloupci c_definition_id

@pohadkar
Copy link
Collaborator

soubor s extras
https://unpkg.com/[email protected]/dist/
nejede s nasi verzi reactu (15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants