Skip to content

Commit

Permalink
wip: ach generation
Browse files Browse the repository at this point in the history
  • Loading branch information
agritheory committed Aug 8, 2022
1 parent 00081ee commit fde92d7
Show file tree
Hide file tree
Showing 7 changed files with 204 additions and 81 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ nano site_config.json

Setup demo data or test data
```
bench execute 'check_run.check_run.doctype.check_run.test_data.create_test_data'
bench execute 'check_run.test_setup.before_test'
```
68 changes: 68 additions & 0 deletions check_run/check_run/custom/bank.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"custom_fields": [
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2022-08-07 15:07:53.297493",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Bank",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "aba_number",
"fieldtype": "Data",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 4,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "column_break_1",
"label": "ABA Number",
"length": 0,
"mandatory_depends_on": null,
"modified": "2022-08-07 15:07:53.297493",
"modified_by": "Administrator",
"name": "Bank-aba_number",
"no_copy": 0,
"non_negative": 0,
"options": null,
"owner": "Administrator",
"parent": null,
"parentfield": null,
"parenttype": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"translatable": 0,
"unique": 0,
"width": null
}
],
"custom_perms": [],
"doctype": "Bank",
"property_setters": [],
"sync_on_migrate": 1
}
60 changes: 60 additions & 0 deletions check_run/check_run/custom/bank_account.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,66 @@
"translatable": 1,
"unique": 0,
"width": null
},
{
"_assign": null,
"_comments": null,
"_liked_by": null,
"_user_tags": null,
"allow_in_quick_entry": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"collapsible_depends_on": null,
"columns": 0,
"creation": "2022-08-07 14:55:42.859002",
"default": null,
"depends_on": null,
"description": null,
"docstatus": 0,
"dt": "Bank Account",
"fetch_from": null,
"fetch_if_empty": 0,
"fieldname": "company_ach_id",
"fieldtype": "Data",
"hidden": 0,
"hide_border": 0,
"hide_days": 0,
"hide_seconds": 0,
"idx": 10,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_preview": 0,
"in_standard_filter": 0,
"insert_after": "check_number",
"label": "Company ACH ID",
"length": 0,
"mandatory_depends_on": null,
"modified": "2022-08-07 14:55:42.859002",
"modified_by": "Administrator",
"name": "Bank Account-company_ach_id",
"no_copy": 0,
"non_negative": 0,
"options": null,
"owner": "Administrator",
"parent": null,
"parentfield": null,
"parenttype": null,
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide_if_no_value": 0,
"print_width": null,
"read_only": 0,
"read_only_depends_on": null,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"translatable": 1,
"unique": 0,
"width": null
}
],
"custom_perms": [],
Expand Down
24 changes: 9 additions & 15 deletions check_run/check_run/doctype/check_run/check_run.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"start_date",
"end_date",
"check_run_date",
"posting_date",
"beg_balance",
"column_break_3",
"initial_check_number",
Expand All @@ -28,11 +27,6 @@
"status"
],
"fields": [
{
"fieldname": "start_date",
"fieldtype": "Date",
"label": "Check Run Start Date"
},
{
"fieldname": "end_date",
"fieldtype": "Date",
Expand Down Expand Up @@ -122,13 +116,6 @@
"print_hide": 1,
"read_only": 1
},
{
"fieldname": "check_run_date",
"fieldtype": "Date",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Check Run Date"
},
{
"allow_on_submit": 1,
"fieldname": "transactions",
Expand All @@ -153,11 +140,18 @@
{
"fieldname": "check_run_table",
"fieldtype": "HTML"
},
{
"fieldname": "posting_date",
"fieldtype": "Date",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Posting Date"
}
],
"is_submittable": 1,
"links": [],
"modified": "2022-08-05 11:04:34.261714",
"modified": "2022-08-07 15:37:57.183907",
"modified_by": "Administrator",
"module": "Check Run",
"name": "Check Run",
Expand Down
Loading

0 comments on commit fde92d7

Please sign in to comment.