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

Add ability to configure custom terms for billing account. #7

Open
ajefts opened this issue Jan 23, 2017 · 2 comments
Open

Add ability to configure custom terms for billing account. #7

ajefts opened this issue Jan 23, 2017 · 2 comments

Comments

@ajefts
Copy link
Member

ajefts commented Jan 23, 2017

No description provided.

@skyhit
Copy link
Collaborator

skyhit commented Feb 10, 2017

@ajefts for configuring custom terms, you mean when creating billing account, it is allowed to create new payment term by adding recording to payment_terms table?

@ajefts
Copy link
Member Author

ajefts commented Feb 10, 2017

No, I'm actually referring to the ability to define custom terms_of_use.

We have the ability to define a terms_of_use per billing account per challenge role. So, we manually setup inserts like this for a given billing account:


insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (7000,71000600, 21203, current, current, 1);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4000,71000600, 21203, current, current, 1);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4001,71000600, 21203, current, current, 2);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4002,71000600, 21203, current, current, 4);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4003,71000600, 21203, current, current, 5);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4004,71000600, 21203, current, current, 6);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4005,71000600, 21203, current, current, 7);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4006,71000600, 21203, current, current, 8);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4007,71000600, 21203, current, current, 9);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4008,71000600, 21203, current, current, 14);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4009,71000600, 21203, current, current, 19);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4010,71000600, 21203, current, current, 18);	
insert into client_terms_mapping (client_terms_mapping_id, client_project_id, terms_of_use_id, create_date, modify_date, resource_role_id) values (4011,71000600, 21203, current, current, 16);	

Then, when the challenge is created in Direct it uses that mapping to set the challenge terms.

For this task, I'd like to be able to add/remove terms per role for the billing account.

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

No branches or pull requests

2 participants