-
Notifications
You must be signed in to change notification settings - Fork 9
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
Refactor dev #13
base: dev
Are you sure you want to change the base?
Refactor dev #13
Changes from 70 commits
9fcc39b
50baba5
4dd7187
7100cc4
6a982d7
96cb562
2c416db
59a753e
4cca4f2
ab6574f
053ec3b
18b2562
ced0555
acc11ad
7769578
d4238a0
8f6eadf
f9d53d5
a130b7e
f0b8ec8
8d247b6
bcea160
ca33687
5c8068f
98f6575
9aa3f2e
c8190a2
f2e03d1
041b86f
1c0b726
62fe81f
a12094f
a82af1a
a8cd08a
7ee6a6c
e28e4c3
83a6919
c360f36
6e8a23c
62b6087
818b1b0
94af04d
7a4f927
0a6f8e3
32f0851
0cf8191
aab8f6b
5f51998
9fa4b72
71ec851
660c80d
d13164d
dc69f0d
b20ba2e
901ea7b
316ebd6
41dea60
ff3f27c
418623b
f706ad0
bf6d5c5
336b5cf
a7b871b
eb16ac0
848611f
c1a3410
c26fa4b
bb6dc91
d0e1781
80b9214
d949117
60fee11
8cb72e6
c1113a4
206933e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
DEFAULT_MODE_OF_TRANSFERS = [ | ||
{ | ||
"mode": "IMPS", | ||
"minimum_limit": 0, | ||
"maximum_limit": 200000, | ||
"start_time": "0:00:00", | ||
"end_time": "23:59:59", | ||
"disabled": 1, | ||
"priority": "1", | ||
}, | ||
{ | ||
"mode": "RTGS", | ||
"minimum_limit": 200000, | ||
"maximum_limit": 50000000, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make 50 Crore as the upper limit, beyond that LEI number is required. |
||
"start_time": "0:00:00", | ||
"end_time": "23:59:59", | ||
"disabled": 1, | ||
"priority": "1", | ||
}, | ||
{ | ||
"mode": "NEFT", | ||
"minimum_limit": 0, | ||
"maximum_limit": 100000000000, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make 50 Crore as the upper limit, beyond that LEI number is required. |
||
"start_time": "0:00:00", | ||
"end_time": "23:59:59", | ||
"disabled": 1, | ||
"priority": "1", | ||
}, | ||
{ | ||
"mode": "A2A/FT/Internal", | ||
"minimum_limit": 0, | ||
"maximum_limit": 0, | ||
"start_time": "0:00:00", | ||
"end_time": "23:59:59", | ||
"disabled": 1, | ||
"priority": "1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is account specific. Please bring in that key here. And do the following priority.
by default. Let the user re-order as per their need. |
||
}, | ||
] | ||
|
||
STD_BANK_LIST = [ | ||
"Yes Bank", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove Yes Bank as of now. Reorder this in alphabetical order. |
||
"HDFC Bank", | ||
"ICICI Bank", | ||
"Axis Bank", | ||
"Kotak Mahindra Bank", | ||
] | ||
|
||
DEFAULT_WORKFLOW_STATE = [ | ||
"Pending", | ||
"Approved", | ||
] | ||
|
||
DEFAULT_WORKFLOW_ACTIONS = ["Approve", "Reject"] | ||
|
||
DEFAULT_WORKFLOW_LIST = [ | ||
{ | ||
"doctype": "Workflow", | ||
"document_type": "Bank Account", | ||
"workflow_name": "Bank Account Approval", | ||
"workflow_state_field": "workflow_state", | ||
"is_active": 1, | ||
"states": [ | ||
{ | ||
"allow_edit": "All", | ||
"doc_status": "0", | ||
"parent": "Bank Account Approval", | ||
"parentfield": "states", | ||
"parenttype": "Workflow", | ||
"state": "Pending", | ||
"update_value": "Pending", | ||
}, | ||
{ | ||
"allow_edit": "Accounts Manager", | ||
"doc_status": "0", | ||
"parent": "Bank Account Approval", | ||
"parentfield": "states", | ||
"parenttype": "Workflow", | ||
"state": "Approved", | ||
"update_value": "Approved", | ||
}, | ||
], | ||
"transitions": [ | ||
{ | ||
"state": "Pending", | ||
"action": "Approve", | ||
"next_state": "Approved", | ||
"allowed": "Accounts Manager", | ||
"allow_self_approval": 1, | ||
"parent": "Bank Account Approval", | ||
"parentfield": "transitions", | ||
"parenttype": "Workflow", | ||
}, | ||
{ | ||
"action": "Reject", | ||
"next_state": "Pending", | ||
"allowed": "Accounts Manager", | ||
"allow_self_approval": 1, | ||
"parent": "Bank Account Approval", | ||
"parentfield": "transitions", | ||
"parenttype": "Workflow", | ||
"state": "Approved", | ||
}, | ||
], | ||
} | ||
] |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is every mode of transfer, by default disabled?