gap-nodejs-sdk 1.0.203 → 1.0.204
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.
|
@@ -229,12 +229,12 @@ export function GetSiteIncomeDetail(data) {
|
|
|
229
229
|
details: data === null || data === void 0 ? void 0 : data.details.map((detail) => {
|
|
230
230
|
var _a, _b, _c, _d, _e, _f;
|
|
231
231
|
return ({
|
|
232
|
-
date: (_a =
|
|
233
|
-
total_income: (_b =
|
|
234
|
-
total_commission: (_c =
|
|
235
|
-
total_tip: (_d =
|
|
236
|
-
total_sales: (_e =
|
|
237
|
-
total_supply: (_f =
|
|
232
|
+
date: (_a = detail === null || detail === void 0 ? void 0 : detail.date) !== null && _a !== void 0 ? _a : null,
|
|
233
|
+
total_income: (_b = detail === null || detail === void 0 ? void 0 : detail.total_income) !== null && _b !== void 0 ? _b : null,
|
|
234
|
+
total_commission: (_c = detail === null || detail === void 0 ? void 0 : detail.total_commission) !== null && _c !== void 0 ? _c : null,
|
|
235
|
+
total_tip: (_d = detail === null || detail === void 0 ? void 0 : detail.total_tip) !== null && _d !== void 0 ? _d : null,
|
|
236
|
+
total_sales: (_e = detail === null || detail === void 0 ? void 0 : detail.total_sales) !== null && _e !== void 0 ? _e : null,
|
|
237
|
+
total_supply: (_f = detail === null || detail === void 0 ? void 0 : detail.total_supply) !== null && _f !== void 0 ? _f : null,
|
|
238
238
|
payroll_daily_details: ((detail === null || detail === void 0 ? void 0 : detail.payroll_daily_details) || []).map((item) => {
|
|
239
239
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
240
240
|
return ({
|