Skip to content

Commit

Permalink
fix: minor changes to configurations of pan doc
Browse files Browse the repository at this point in the history
(cherry picked from commit cc260db)
  • Loading branch information
vorasmit authored and mergify[bot] committed Aug 22, 2024
1 parent 531efe2 commit 9b15669
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion india_compliance/gst_india/doctype/pan/pan.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
{
"fieldname": "pan_status",
"fieldtype": "Data",
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Pan Status"
},
{
Expand All @@ -37,14 +39,15 @@
"in_create": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-08-08 14:01:44.876614",
"modified": "2024-08-08 14:08:25.490761",
"modified_by": "Administrator",
"module": "GST India",
"name": "PAN",
"naming_rule": "By fieldname",
"owner": "Administrator",
"permissions": [
{
"delete": 1,
"export": 1,
"read": 1,
"report": 1,
Expand Down
2 changes: 1 addition & 1 deletion india_compliance/gst_india/doctype/pan/pan.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def fetch_and_update_pan_status(pan, throw):
"EF40026": "Valid", # pan linked but not to generated aadhar card
"EF40119": "Valid", # not an individual taxpayer : AAACS8577K
"EF40089": "Invalid", # invalid pan : OIMPS2320M
"EF40024": "Not-Linked",
"EF40024": "Not Linked",
"EF40077": "", # Invalid Aadhaar number
}

Expand Down
2 changes: 1 addition & 1 deletion india_compliance/public/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Object.assign(india_compliance, {
const [pan_status, datetime] = message;
const STATUS_COLORS = {
Valid: "green",
"Not-Linked": "red",
"Not Linked": "red",
Invalid: "red",
};
let pan_desc;
Expand Down

0 comments on commit 9b15669

Please sign in to comment.