Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.6.26 #523

Merged
merged 4 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ SCHEME=http
VEND_CLIENT_ID=
VEND_CLIENT_SECRET=
VEND_AUTHORIZATION_URL=https://secure.vendhq.com/connect
VEND_TOKEN_SERVICE=.vendhq.com/api/1.0/token


##
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.6.26 - 14 Sept 2023
- update consignment api to version 2.0

1.6.25 - 7 Apr 2022
- Supply price from CSV for Generated
- Supply price import using CSV for FulFill
Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stockup",
"version": "1.6.25",
"version": "1.6.26",
"dependencies": {
"@mean-expert/loopback-component-realtime": "1.0.0-rc.9.6",
"@mean-expert/loopback-sdk-builder": "2.3.1",
Expand Down
1 change: 1 addition & 0 deletions workers/jobs/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ function updateStockOrderLineitemForVend(db, reportModelInstance, stockOrderLine
var args = vendSdk.args.consignments.products.update();
args.apiId.value = stockOrderLineitemModelInstance.vendConsignmentProductId;
// args.body.value = _.omit(stockOrderLineitemModelInstance.vendConsignmentProduct, 'id'); // omitting id is BAD in this case
args.body.vendConsignmentId = reportModelInstance.vendConsignment.id;
args.body.value = stockOrderLineitemModelInstance.vendConsignmentProduct;
args.body.value.count = stockOrderLineitemModelInstance.orderQuantity;
args.body.value.cost = stockOrderLineitemModelInstance.supplyPrice;
Expand Down
Loading