@shisyamo4131/air-guard-v2-schemas 1.3.1-dev.24 → 1.3.1-dev.25
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/package.json +1 -1
- package/src/Billing.js +3 -1
package/package.json
CHANGED
package/src/Billing.js
CHANGED
|
@@ -153,7 +153,9 @@ export default class Billing extends FireModel {
|
|
|
153
153
|
// 消費税額を計算
|
|
154
154
|
Object.defineProperty(this, "taxAmount", {
|
|
155
155
|
get() {
|
|
156
|
-
return
|
|
156
|
+
return this.operationResults.reduce((sum, item) => {
|
|
157
|
+
return sum + (item.tax || 0);
|
|
158
|
+
}, 0);
|
|
157
159
|
},
|
|
158
160
|
set() {},
|
|
159
161
|
enumerable: true,
|