Skip to content

Commit

Permalink
fix: fetch from item_name instead
Browse files Browse the repository at this point in the history
  • Loading branch information
iRaySpace committed May 2, 2019
1 parent 0af6f04 commit ab2eda6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@

# v1.2.0 [30 апреля 2019]
- Cancel Order
- Change Order Table
- Change Order Table

# v1.2.1 [2 мая 2019]
- Fetches description from item name
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ android {
multiDexEnabled true
targetSdkVersion 26
versionCode 1
versionName "1.2.0"
versionName "1.2.1"
versionCode _VERSION_CODE
versionName _VERSION_NAME
ndk {
Expand Down
4 changes: 2 additions & 2 deletions src/store/PosStore/syncInBackground.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ export async function itemSync(itemObject, store) {
name:
itemObject.syncObject.name !== null ? itemObject.syncObject.name : "",
description:
itemObject.syncObject.description !== null
? itemObject.syncObject.description
itemObject.syncObject.item_name !== null
? itemObject.syncObject.item_name
: "",
soldBy:
itemObject.syncObject.stock_uom !== null
Expand Down

0 comments on commit ab2eda6

Please sign in to comment.