fix: Grammar fixes (#21971)

This commit is contained in:
Marica 2020-05-27 20:28:47 +05:30 committed by GitHub
parent 3258a050d0
commit 7634250e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ def get_dashboards():
{ "chart": "Top Suppliers", "width": "Full"} { "chart": "Top Suppliers", "width": "Full"}
], ],
"cards": [ "cards": [
{ "card": "This Year Purchases"}, { "card": "Annual Purchase"},
{ "card": "Purchase Orders to Receive"}, { "card": "Purchase Orders to Receive"},
{ "card": "Purchase Orders to Bill"}, { "card": "Purchase Orders to Bill"},
{ "card": "Active Suppliers"} { "card": "Active Suppliers"}
@ -142,7 +142,7 @@ def get_charts():
def get_number_cards(): def get_number_cards():
return [ return [
{ {
"name": "This Year Purchases", "name": "Annual Purchase",
"aggregate_function_based_on": "base_net_total", "aggregate_function_based_on": "base_net_total",
"doctype": "Number Card", "doctype": "Number Card",
"document_type": "Purchase Order", "document_type": "Purchase Order",
@ -155,7 +155,7 @@ def get_number_cards():
]), ]),
"function": "Sum", "function": "Sum",
"is_public": 1, "is_public": 1,
"label": _("This Year Purchases"), "label": _("Annual Purchase"),
"owner": "Administrator", "owner": "Administrator",
"show_percentage_stats": 1, "show_percentage_stats": 1,
"stats_time_interval": "Monthly" "stats_time_interval": "Monthly"

View File

@ -55,7 +55,7 @@
"idx": 0, "idx": 0,
"is_standard": 1, "is_standard": 1,
"label": "Buying", "label": "Buying",
"modified": "2020-05-19 19:44:36.260982", "modified": "2020-05-27 19:15:05.067756",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Buying", "module": "Buying",
"name": "Buying", "name": "Buying",
@ -66,7 +66,7 @@
"shortcuts": [ "shortcuts": [
{ {
"color": "#cef6d1", "color": "#cef6d1",
"format": "{} available", "format": "{} Available",
"label": "Item", "label": "Item",
"link_to": "Item", "link_to": "Item",
"stats_filter": "{\n \"disabled\": 0\n}", "stats_filter": "{\n \"disabled\": 0\n}",
@ -82,7 +82,7 @@
}, },
{ {
"color": "#ffe8cd", "color": "#ffe8cd",
"format": "{} to Receive", "format": "{} To Receive",
"label": "Purchase Order", "label": "Purchase Order",
"link_to": "Purchase Order", "link_to": "Purchase Order",
"stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\":[\"in\", [\"To Receive\", \"To Receive and Bill\"]]\n}", "stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\":[\"in\", [\"To Receive\", \"To Receive and Bill\"]]\n}",
@ -99,7 +99,7 @@
"type": "Report" "type": "Report"
}, },
{ {
"label": "Buying Dashboard", "label": "Dashboard",
"link_to": "Buying", "link_to": "Buying",
"type": "Dashboard" "type": "Dashboard"
} }

View File

@ -58,7 +58,7 @@
"idx": 0, "idx": 0,
"is_standard": 1, "is_standard": 1,
"label": "Stock", "label": "Stock",
"modified": "2020-05-19 17:36:08.185652", "modified": "2020-05-27 19:14:51.210671",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Stock", "name": "Stock",
@ -69,7 +69,7 @@
"shortcuts": [ "shortcuts": [
{ {
"color": "#cef6d1", "color": "#cef6d1",
"format": "{} available", "format": "{} Available",
"label": "Item", "label": "Item",
"link_to": "Item", "link_to": "Item",
"stats_filter": "{\n \"disabled\" : 0\n}", "stats_filter": "{\n \"disabled\" : 0\n}",
@ -90,7 +90,7 @@
}, },
{ {
"color": "#ffe8cd", "color": "#ffe8cd",
"format": "{} to Bill", "format": "{} To Bill",
"label": "Purchase Receipt", "label": "Purchase Receipt",
"link_to": "Purchase Receipt", "link_to": "Purchase Receipt",
"stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\": \"To Bill\"\n}", "stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\": \"To Bill\"\n}",
@ -98,7 +98,7 @@
}, },
{ {
"color": "#ffe8cd", "color": "#ffe8cd",
"format": "{} to Bill", "format": "{} To Bill",
"label": "Delivery Note", "label": "Delivery Note",
"link_to": "Delivery Note", "link_to": "Delivery Note",
"stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\": \"To Bill\"\n}", "stats_filter": "{\n \"company\": [\"like\", '%' + frappe.defaults.get_global_default(\"company\") + '%'],\n \"status\": \"To Bill\"\n}",
@ -115,7 +115,7 @@
"type": "Report" "type": "Report"
}, },
{ {
"label": "Stock Dashboard", "label": "Dashboard",
"link_to": "Stock", "link_to": "Stock",
"type": "Dashboard" "type": "Dashboard"
} }