@jetthai/cuora 1.1.207 → 1.1.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.1.208](https://github.com/jetthai/cuora-module/compare/v1.1.207...v1.1.208) (2023-11-23)
6
+
5
7
  ### [1.1.207](https://github.com/jetthai/cuora-module/compare/v1.1.206...v1.1.207) (2023-11-23)
6
8
 
7
9
  ### [1.1.206](https://github.com/jetthai/cuora-module/compare/v1.1.205...v1.1.206) (2023-11-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.207",
3
+ "version": "1.1.208",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -383,7 +383,7 @@ export default function (request) {
383
383
  isSubmittable: (context, event) => {
384
384
  const { amount, userAccountNumber, userAccountName, userAccountBranchCode, depositTime, receipt } = context
385
385
  const { branchCodeEnable = '0', bankDepositProofIsOptional = '1' } = context.siteConfig
386
- const defaultCheck = amount && userAccountNumber && userAccountName && depositTime && (receipt || bankDepositProofIsOptional)
386
+ const defaultCheck = amount && userAccountNumber && userAccountName && depositTime && (receipt || bankDepositProofIsOptional === '0')
387
387
  if (branchCodeEnable === '1') {
388
388
  return defaultCheck && userAccountBranchCode
389
389
  } else {