Skip to content

Commit 4883443

Browse files
chore(export-order): send s/n in orders without number
1 parent 44b7a77 commit 4883443

File tree

1 file changed

+2
-0
lines changed
  • functions/lib/integration/parsers/order-to-tiny

1 file changed

+2
-0
lines changed

functions/lib/integration/parsers/order-to-tiny/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module.exports = (order, appData, storeId) => {
3333
tinyObject[tinyField] = String(address[addressField]).substring(0, maxLength).replaceAll('&', 'e')
3434
} else if (tinyField === 'numero' && appData.non_number) {
3535
tinyObject['numero'] = '0'
36+
} else if (tinyField === 'numero' && !appData.non_number) {
37+
tinyObject['numero'] = 'S/N'
3638
}
3739
})
3840
}

0 commit comments

Comments
 (0)