2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

fix: order in address quick view

This commit is contained in:
18alantom 2023-08-28 12:48:11 +05:30
parent 6bbee25dd5
commit f91e2e89df
3 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ export function getMakeReturnDocAction(fyo: Fyo): Action {
doc.isSubmitted && doc.isSubmitted &&
!doc.isReturn, !doc.isReturn,
action: async (doc: Doc) => { action: async (doc: Doc) => {
const returnDoc = await (doc as StockTransfer).getReturnDoc(); const returnDoc = await (doc as StockTransfer)?.getReturnDoc();
if (!returnDoc || !returnDoc.name) { if (!returnDoc || !returnDoc.name) {
return; return;
} }

View File

@ -83,8 +83,8 @@
"addressLine1", "addressLine1",
"addressLine2", "addressLine2",
"city", "city",
"state",
"country", "country",
"state",
"postalCode" "postalCode"
], ],
"linkDisplayField": "addressDisplay" "linkDisplayField": "addressDisplay"

View File

@ -13,8 +13,8 @@
"addressLine1", "addressLine1",
"addressLine2", "addressLine2",
"city", "city",
"state",
"country", "country",
"state",
"postalCode", "postalCode",
"pos" "pos"
] ]