Skip to content

Commit

Permalink
feat(picqer): naming priority
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Oct 25, 2023
1 parent 24d7382 commit 31ae5c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/vendure-plugin-picqer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.13

- Patch priority order of names when sending to Picqer: invoicename ?? deliveryname ?? customerFullname

# 1.0.12

- Set company as name and full name as contactname for placed orders.
Expand Down
2 changes: 1 addition & 1 deletion packages/vendure-plugin-picqer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pinelab/vendure-plugin-picqer",
"version": "1.0.12",
"version": "1.0.13",
"description": "Vendure plugin syncing to orders and stock with Picqer",
"author": "Martijn van de Brug <[email protected]>",
"homepage": "https://pinelab-plugins.com/",
Expand Down
2 changes: 1 addition & 1 deletion packages/vendure-plugin-picqer/src/api/picqer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ export class PicqerService implements OnApplicationBootstrap {
name = address.company;
contactname = address.fullName;
} else {
name = address?.fullName ?? '';
name = address?.fullName;
contactname = undefined;
}
return [name, contactname];
Expand Down

0 comments on commit 31ae5c3

Please sign in to comment.