osmanli-veri-dagitim 2.1.19-dev → 2.1.20-dev

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.
@@ -1827,7 +1827,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1827
1827
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1828
1828
 
1829
1829
  "use strict";
1830
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1830
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1831
1831
 
1832
1832
  /***/ }),
1833
1833
 
@@ -2391,7 +2391,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
2391
2391
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2392
2392
 
2393
2393
  "use strict";
2394
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == \"true\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2394
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == 3 || _vm.getMemberType == \"3\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2395
2395
 
2396
2396
  /***/ }),
2397
2397
 
@@ -1836,7 +1836,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1836
1836
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1837
1837
 
1838
1838
  "use strict";
1839
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1839
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1840
1840
 
1841
1841
  /***/ }),
1842
1842
 
@@ -2400,7 +2400,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
2400
2400
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2401
2401
 
2402
2402
  "use strict";
2403
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == \"true\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2403
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == 3 || _vm.getMemberType == \"3\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2404
2404
 
2405
2405
  /***/ }),
2406
2406
 
@@ -1836,7 +1836,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
1836
1836
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1837
1837
 
1838
1838
  "use strict";
1839
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1839
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components */ \"./src/components/index.js\");\n/* harmony import */ var _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../components/customer/PackageSettigns.vue */ \"./src/components/customer/PackageSettigns.vue\");\n/* harmony import */ var _utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/breadcrumb */ \"./src/utils/breadcrumb.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constants */ \"./src/constants/index.js\");\n/* harmony import */ var _utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/tokenTools */ \"./src/utils/tokenTools.js\");\n/* harmony import */ var _mixins__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../mixins */ \"./src/mixins/index.js\");\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Checkout\",\n components: {\n BaseIcon: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseIcon\"],\n BaseButton: _components__WEBPACK_IMPORTED_MODULE_1__[\"BaseButton\"],\n InfoArea: _components__WEBPACK_IMPORTED_MODULE_1__[\"InfoArea\"],\n PackageSettigns: _components_customer_PackageSettigns_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n CustomerInfo: _components__WEBPACK_IMPORTED_MODULE_1__[\"CustomerInfo\"]\n },\n mixins: [_mixins__WEBPACK_IMPORTED_MODULE_6__[\"default\"]],\n\n data() {\n return {\n getPaymentStatuses: [],\n summaryData: [],\n mergedDatasAfterSummaryPull: [],\n totalFundAmount: 0,\n totalCommissionAmount: 0,\n totalNextMonthFundAmount: 0,\n totalNextMonthCommissionAmount: 0,\n packageDetail: null,\n marketInfo: null,\n isPopupVisible: false,\n isWarningAllowed: false,\n totalPriceTl: [],\n totalPriceDollar: [],\n totalPriceEuro: [],\n totalPriceNextMonthTl: [],\n totalPriceNextMonthDollar: [],\n totalPriceNextMonthEuro: [],\n totalPrice: 0,\n totalPriceForeign: 0,\n isButtonClicked: true,\n esube: Object(_utils_tokenTools__WEBPACK_IMPORTED_MODULE_5__[\"getItem\"])(\"esube\"),\n IsRecommendationPackage: false,\n isUpgradedPurchase: true,\n showNextMonthRow: false,\n infoText: [\"Veri paketiniz iptal edilmemesi durumunda bir sonraki ay başında tekrar güncellenecektir.\", \"BES ve yatırım fonu büyüklüğü ve/veya komisyon şartı sağlandığı taktirde; o ay toplamda belirtilen ekran ücreti sizden alınmayacaktır.\", \"Faturalandırma sırasında ay sonu Merkez Bankası kuru dikkate alınacaktır.\"],\n customerId: null,\n haveCurrency: false,\n isRecomendedPackage: false\n };\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapGetters\"])([\"customer\", \"packageSummary\", \"getPackageInfo\", \"getDraftPackageDetails\", \"getMarketInfo\", \"getUserInfo\", \"recommendationSummary\", \"getFilterList\"]),\n\n getMemberType() {\n return this.getUserInfo.memberType;\n },\n\n currencySymbol() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"CurrencySymbol\"];\n },\n\n packageNumber() {\n return this.$route.params.packageNumber;\n },\n\n getUserNumber() {\n return this.customer.customerNo;\n },\n\n getCustomerId() {\n return this.customer.id;\n },\n\n getUserInfos() {\n return `${this.customer.name} ${this.customer.surName}`;\n },\n\n customerNumber() {\n return this.$route.params.customerNumber;\n },\n\n screenPrice() {\n var _this$summaryData, _this$summaryData$pri;\n\n if (((_this$summaryData = this.summaryData) === null || _this$summaryData === void 0 ? void 0 : (_this$summaryData$pri = _this$summaryData.price) === null || _this$summaryData$pri === void 0 ? void 0 : _this$summaryData$pri.prices) == null) {\n var _this$summaryData2, _this$summaryData2$ne;\n\n return (_this$summaryData2 = this.summaryData) === null || _this$summaryData2 === void 0 ? void 0 : (_this$summaryData2$ne = _this$summaryData2.nextMonthPrice) === null || _this$summaryData2$ne === void 0 ? void 0 : _this$summaryData2$ne.screenPrice;\n } else {\n var _this$summaryData3, _this$summaryData3$pr;\n\n return (_this$summaryData3 = this.summaryData) === null || _this$summaryData3 === void 0 ? void 0 : (_this$summaryData3$pr = _this$summaryData3.price) === null || _this$summaryData3$pr === void 0 ? void 0 : _this$summaryData3$pr.screenPrice;\n }\n },\n\n screenFund() {\n var _this$summaryData4, _this$summaryData4$pr;\n\n if (((_this$summaryData4 = this.summaryData) === null || _this$summaryData4 === void 0 ? void 0 : (_this$summaryData4$pr = _this$summaryData4.price) === null || _this$summaryData4$pr === void 0 ? void 0 : _this$summaryData4$pr.prices) == null) {\n var _this$summaryData$nex;\n\n return (_this$summaryData$nex = this.summaryData.nextMonthPrice) === null || _this$summaryData$nex === void 0 ? void 0 : _this$summaryData$nex.screenFund;\n } else {\n var _this$summaryData$pri2;\n\n return (_this$summaryData$pri2 = this.summaryData.price) === null || _this$summaryData$pri2 === void 0 ? void 0 : _this$summaryData$pri2.screenFund;\n }\n },\n\n screenCommission() {\n var _this$summaryData5, _this$summaryData5$pr;\n\n if (((_this$summaryData5 = this.summaryData) === null || _this$summaryData5 === void 0 ? void 0 : (_this$summaryData5$pr = _this$summaryData5.price) === null || _this$summaryData5$pr === void 0 ? void 0 : _this$summaryData5$pr.prices) == null) {\n var _this$summaryData6, _this$summaryData6$ne;\n\n return (_this$summaryData6 = this.summaryData) === null || _this$summaryData6 === void 0 ? void 0 : (_this$summaryData6$ne = _this$summaryData6.nextMonthPrice) === null || _this$summaryData6$ne === void 0 ? void 0 : _this$summaryData6$ne.screenCommission;\n } else {\n var _this$summaryData7, _this$summaryData7$pr;\n\n return (_this$summaryData7 = this.summaryData) === null || _this$summaryData7 === void 0 ? void 0 : (_this$summaryData7$pr = _this$summaryData7.price) === null || _this$summaryData7$pr === void 0 ? void 0 : _this$summaryData7$pr.screenCommission;\n }\n }\n\n },\n\n mounted() {\n this.customerId = this.$route.query.c === undefined ? localStorage.getItem(\"userCusId\") : this.getCustomerId;\n\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n\n if (this.$route.query.isReco !== undefined && this.$route.query.isReco == \"yes\") {\n this.isRecomendedPackage = true;\n }\n\n this.isButtonClicked = false;\n this.isUpgradedPurchase = this.$route.params.isUpgradedPurchase == undefined ? false : this.$route.params.isUpgradedPurchase;\n this.getPaymentStatus();\n },\n\n methods: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapActions\"])([\"getPackageSummary\", \"getRecommendationSummary\", \"confirm\", \"searchCustomer\", \"getDraftPackageDetail\", \"getMarket\"]),\n\n getPaymentStatus() {\n const paymentStatuses = this.getFilterList.filter(o => {\n return o.name === \"PaymentStatus\";\n });\n if (paymentStatuses.length > 0) this.getPaymentStatuses = paymentStatuses[0].values;\n },\n\n goBack() {\n var _this$$route, _this$$route$meta, _this$$route2, _this$$route2$meta;\n\n const goBack = this.getUserInfo.memberType == \"3\" ? this.$router.go(-1) : this.$router.push({\n name: (_this$$route = this.$route) === null || _this$$route === void 0 ? void 0 : (_this$$route$meta = _this$$route.meta) === null || _this$$route$meta === void 0 ? void 0 : _this$$route$meta.breadcrumb[2].url.name,\n params: (_this$$route2 = this.$route) === null || _this$$route2 === void 0 ? void 0 : (_this$$route2$meta = _this$$route2.meta) === null || _this$$route2$meta === void 0 ? void 0 : _this$$route2$meta.breadcrumb[2].url.params\n });\n return goBack;\n },\n\n addCart(purchaseNo) {\n this.getDraftPackageDetail([purchaseNo, this.customerId]).then(() => {\n this.packageDetail = this.getDraftPackageDetails;\n this.getMarket([this.packageDetail.application.applicationId, this.packageDetail.platform.platformId, this.customerId]).then(() => {\n this.marketInfo = this.getMarketInfo;\n });\n this.isPopupVisible = true;\n });\n },\n\n closePopup() {\n if (this.esube != \"yes\") {\n this.getCustomer();\n }\n\n this.getSummary();\n this.isPopupVisible = false;\n },\n\n getCustomer() {\n this.searchCustomer({\n customerNo: this.customerNumber,\n cusId: this.customerId\n }).then(res => {\n if (res) {\n Object(_utils_breadcrumb__WEBPACK_IMPORTED_MODULE_3__[\"getBreadCrumbs\"])({\n breadcrumbs: [\"CustomerDetail\", \"BuyDataPackage\", \"Checkout\"],\n customer: this.customer,\n customerDetail: this.getUserNumber,\n buyDataPackage: this.getUserNumber,\n checkout: this.packageNumber,\n cusId: this.customerId\n });\n }\n });\n },\n\n async getSummary() {\n if (this.isRecoQueryDefinedAndYes()) {\n await this.getRecommendationSummaryFunc();\n } else {\n await this.getDraftPackageDetailSummary();\n }\n },\n\n isRecoQueryDefinedAndYes() {\n return this.$route.query.isReco !== undefined && this.$route.query.isReco === \"yes\";\n },\n\n async getRecommendationSummaryFunc() {\n const res = await this.getDraftPackageDetail(this.packageNumber);\n\n if (res) {\n this.processSummaryData(res.data);\n this.IsRecommendationPackage = true;\n }\n },\n\n async getDraftPackageDetailSummary() {\n const res = await this.getDraftPackageDetail([this.packageNumber]);\n\n if (res) {\n this.processSummaryData(res.data);\n }\n },\n\n processSummaryData(data) {\n var _this$summaryData8, _this$summaryData8$pa, _this$summaryData9, _this$summaryData9$pa, _this$summaryData10, _this$summaryData11, _this$summaryData12, _this$summaryData13;\n\n this.summaryData = data;\n const isWarningAllowed = (_this$summaryData8 = this.summaryData) === null || _this$summaryData8 === void 0 ? void 0 : (_this$summaryData8$pa = _this$summaryData8.package) === null || _this$summaryData8$pa === void 0 ? void 0 : _this$summaryData8$pa.filter(e => e.perspectiveFeature.name == \"Canlı Piyasa\" || e.perspectiveFeature.name == \"Prime\");\n const hasPriceVal = (_this$summaryData9 = this.summaryData) === null || _this$summaryData9 === void 0 ? void 0 : (_this$summaryData9$pa = _this$summaryData9.package) === null || _this$summaryData9$pa === void 0 ? void 0 : _this$summaryData9$pa.filter(e => e.perspectiveFeature.price != 0);\n this.isWarningAllowed = isWarningAllowed.length && hasPriceVal.length;\n this.totalFundAmount = (_this$summaryData10 = this.summaryData) === null || _this$summaryData10 === void 0 ? void 0 : _this$summaryData10.price.totalFundAmount;\n this.totalCommissionAmount = (_this$summaryData11 = this.summaryData) === null || _this$summaryData11 === void 0 ? void 0 : _this$summaryData11.price.totalCommissionAmount;\n this.totalNextMonthFundAmount = (_this$summaryData12 = this.summaryData) === null || _this$summaryData12 === void 0 ? void 0 : _this$summaryData12.nextMonthPrice.totalFundAmount;\n this.totalNextMonthCommissionAmount = (_this$summaryData13 = this.summaryData) === null || _this$summaryData13 === void 0 ? void 0 : _this$summaryData13.nextMonthPrice.totalCommissionAmount;\n this.totalPriceTl = this.getPriceByCurrencySymbol(\"tl\");\n this.totalPriceNextMonthTl = this.getNextMonthPriceByCurrencySymbol(\"tl\");\n this.totalPriceDollar = this.getPriceByCurrencySymbol(\"dolar\");\n this.totalPriceNextMonthDollar = this.getNextMonthPriceByCurrencySymbol(\"dolar\");\n this.totalPriceEuro = this.getPriceByCurrencySymbol(\"euro\");\n this.totalPriceNextMonthEuro = this.getNextMonthPriceByCurrencySymbol(\"euro\");\n this.doubleVendorAndMarketFeature();\n },\n\n getPriceByCurrencySymbol(symbol) {\n var _this$summaryData14, _this$summaryData14$p, _this$summaryData14$p2;\n\n return (_this$summaryData14 = this.summaryData) === null || _this$summaryData14 === void 0 ? void 0 : (_this$summaryData14$p = _this$summaryData14.price) === null || _this$summaryData14$p === void 0 ? void 0 : (_this$summaryData14$p2 = _this$summaryData14$p.prices) === null || _this$summaryData14$p2 === void 0 ? void 0 : _this$summaryData14$p2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n getNextMonthPriceByCurrencySymbol(symbol) {\n var _this$summaryData15, _this$summaryData15$n, _this$summaryData15$n2;\n\n return (_this$summaryData15 = this.summaryData) === null || _this$summaryData15 === void 0 ? void 0 : (_this$summaryData15$n = _this$summaryData15.nextMonthPrice) === null || _this$summaryData15$n === void 0 ? void 0 : (_this$summaryData15$n2 = _this$summaryData15$n.prices) === null || _this$summaryData15$n2 === void 0 ? void 0 : _this$summaryData15$n2.filter(e => e.info === this.currencySymbol[symbol])[0];\n },\n\n totalPriceCalc() {\n var _this$summaryData16, _this$summaryData16$f, _this$totalPriceDolla, _this$totalPriceDolla2, _this$totalPriceEuro, _this$totalPriceEuro2, _this$totalPriceDolla3, _this$totalPriceEuro3, _this$totalPriceTl;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData16 = this.summaryData) === null || _this$summaryData16 === void 0 ? void 0 : (_this$summaryData16$f = _this$summaryData16.foreignIndice) === null || _this$summaryData16$f === void 0 ? void 0 : _this$summaryData16$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = (_this$totalPriceDolla = this.totalPriceDollar) !== null && _this$totalPriceDolla !== void 0 && _this$totalPriceDolla.totalPrice ? \" + \" + this.formatPriceDollar((_this$totalPriceDolla2 = this.totalPriceDollar) === null || _this$totalPriceDolla2 === void 0 ? void 0 : _this$totalPriceDolla2.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceEuro = this.totalPriceEuro) !== null && _this$totalPriceEuro !== void 0 && _this$totalPriceEuro.totalPrice ? \" + \" + this.formatPriceEuro((_this$totalPriceEuro2 = this.totalPriceEuro) === null || _this$totalPriceEuro2 === void 0 ? void 0 : _this$totalPriceEuro2.totalPrice) + \" Euro\" : \"\";\n\n if (((_this$totalPriceDolla3 = this.totalPriceDollar) === null || _this$totalPriceDolla3 === void 0 ? void 0 : _this$totalPriceDolla3.totalPrice) !== undefined || ((_this$totalPriceEuro3 = this.totalPriceEuro) === null || _this$totalPriceEuro3 === void 0 ? void 0 : _this$totalPriceEuro3.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n return `${((_this$totalPriceTl = this.totalPriceTl) === null || _this$totalPriceTl === void 0 ? void 0 : _this$totalPriceTl.totalPrice) !== undefined ? this.formatPrice(this.totalPriceTl.totalPrice + totalSum) + \" TL\" : \"0 TL\"} ${totalDollar}${totalEuro}`;\n },\n\n totalPriceNextMonthCalc() {\n var _this$summaryData17, _this$summaryData17$f, _this$totalPriceNextM, _this$totalPriceNextM2, _this$totalPriceNextM3, _this$totalPriceNextM4, _this$totalPriceNextM5;\n\n let foreignPricesTL = [];\n let totalSum = 0;\n (_this$summaryData17 = this.summaryData) === null || _this$summaryData17 === void 0 ? void 0 : (_this$summaryData17$f = _this$summaryData17.foreignIndice) === null || _this$summaryData17$f === void 0 ? void 0 : _this$summaryData17$f.forEach(value => {\n if (value.foreignIndiceFeature.priceInfo == \"₺\") {\n foreignPricesTL.push(value.foreignIndiceFeature.price);\n totalSum = foreignPricesTL.reduce(function (a, b) {\n return a + b;\n });\n }\n });\n let totalDollar = this.totalPriceNextMonthDollar ? this.formatPriceDollar((_this$totalPriceNextM = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM === void 0 ? void 0 : _this$totalPriceNextM.totalPrice) + \" Dolar\" : \"\";\n let totalEuro = (_this$totalPriceNextM2 = this.totalPriceNextMonthEuro) !== null && _this$totalPriceNextM2 !== void 0 && _this$totalPriceNextM2.totalPrice ? this.formatPriceEuro((_this$totalPriceNextM3 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM3 === void 0 ? void 0 : _this$totalPriceNextM3.totalPrice) + \" Euro \" : \"\";\n\n if (((_this$totalPriceNextM4 = this.totalPriceNextMonthDollar) === null || _this$totalPriceNextM4 === void 0 ? void 0 : _this$totalPriceNextM4.totalPrice) !== undefined || ((_this$totalPriceNextM5 = this.totalPriceNextMonthEuro) === null || _this$totalPriceNextM5 === void 0 ? void 0 : _this$totalPriceNextM5.totalPrice) !== undefined) {\n this.haveCurrency = true;\n }\n\n const tlTotal = this.totalPriceNextMonthTl && this.totalPriceNextMonthTl.totalPrice !== undefined ? this.formatPrice(this.totalPriceNextMonthTl.totalPrice + totalSum) + \" TL\" : \"0 TL\";\n return tlTotal + (totalDollar !== \"\" && tlTotal !== \"0 TL\" ? \" + \" + totalDollar + (totalEuro !== \"\" && totalDollar ? \" + \" : \"\") : \"\") + totalEuro;\n },\n\n doubleVendorAndMarketFeature() {\n this.mergedDatasAfterSummaryPull = [];\n this.summaryData.package.forEach(item => {\n if (item.marketFeature && item.perspectiveFeature) {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n perspectiveFeature: {\n name: item.perspectiveFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.perspectiveFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.perspectiveFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.perspectiveFeature.price\n });\n }\n\n if (item.marketFeature && item.vendorFeature && item.vendorFeature.name != \"Yok\") {\n this.mergedDatasAfterSummaryPull.push({\n marketFeature: {\n name: item.marketFeature.name\n },\n vendorFeature: {\n name: item.vendorFeature.name\n },\n endDate: item.endDate,\n dateSelection: item.dateSelection,\n totalFundAmount: item.marketFeature.fundAmount + item.vendorFeature.fundAmount,\n totalCommissionAmount: item.marketFeature.commissionAmount + item.vendorFeature.commissionAmount,\n totalPrice: item.marketFeature.price + item.vendorFeature.price\n });\n }\n });\n },\n\n confirmPackage() {\n this.isButtonClicked = true;\n const args = {\n purchaseId: Number(this.packageNumber),\n IsRecommendationPackage: this.IsRecommendationPackage,\n cusId: this.customerId\n };\n this.confirm(args).then(res => {\n if (res.error) {\n this.$toast.error(res.message);\n this.isButtonClicked = false;\n } else {\n this.$router.push({\n name: \"CustomerDetail\",\n params: {\n customerId: this.getCustomerId,\n customerNumber: this.$route.params.customerNumber\n }\n });\n }\n });\n }\n\n },\n watch: {\n summaryData(val) {\n const getDateSelection = val.package.filter(item => item.dateSelection.key == \"1\");\n\n if (getDateSelection.length > 0) {\n this.showNextMonthRow = true;\n } else {\n this.showNextMonthRow = false;\n }\n }\n\n }\n});\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
1840
1840
 
1841
1841
  /***/ }),
1842
1842
 
@@ -2400,7 +2400,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) *
2400
2400
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2401
2401
 
2402
2402
  "use strict";
2403
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == \"true\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2403
+ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n {\n staticClass: \"checkout custom-container\",\n class: _vm.getMemberType == 3 || _vm.getMemberType == \"3\" ? \"mt-20\" : \"\",\n },\n [\n _vm.getUserInfo.memberType == \"3\"\n ? _c(\"div\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"button\",\n { staticClass: \"back-button\", on: { click: _vm.goBack } },\n [\n _c(\"base-icon\", { attrs: { name: \"controls-backward\" } }),\n _vm._v(\"Geri dön \"),\n ],\n 1\n ),\n ])\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-customer\" },\n [\n _c(\"customer-info\", {\n attrs: {\n customerNumber: String(_vm.customerId),\n currentCustomer: _vm.customer,\n getPaymentStatuses: _vm.getPaymentStatuses,\n },\n }),\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"checkout-content\" },\n [\n _c(\"div\", { staticClass: \"checkout-content__title\" }, [\n _c(\"h6\", { attrs: { id: \"data-package\" } }, [\n _vm._v(\"Veri Paketleri\"),\n ]),\n !_vm.isRecomendedPackage\n ? _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isUpgradedPurchase,\n expression: \"!isUpgradedPurchase\",\n },\n ],\n staticClass: \"adjust-btn\",\n },\n [\n _c(\n \"base-button\",\n {\n staticClass: \"adjust\",\n on: {\n click: function ($event) {\n return _vm.addCart(_vm.packageNumber)\n },\n },\n },\n [\n _c(\"base-icon\", { attrs: { name: \"gear\" } }),\n _vm._v(\"Düzenle \"),\n ],\n 1\n ),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _c(\"div\", { staticClass: \"checkout-content__table\" }, [\n _c(\"table\", { attrs: { \"aria-describedby\": \"data-package\" } }, [\n _c(\"thead\", [\n _c(\"tr\", { staticClass: \"package-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm.summaryData.application &&\n _vm.summaryData.application.name\n ? _c(\"span\", [\n _c(\"span\", { staticClass: \"app-name\" }, [\n _vm._v(\n \" (\" +\n _vm._s(_vm.summaryData.application.name) +\n \" - \" +\n _vm._s(\n _vm.summaryData.application.platform.name\n ) +\n \") \"\n ),\n ]),\n ])\n : _vm._e(),\n _vm.summaryData.purchaseNo\n ? _c(\"span\", { staticClass: \"sub-info\" }, [\n _vm._v(_vm._s(_vm.summaryData.purchaseNo)),\n ])\n : _vm._e(),\n ]),\n _c(\"th\", { staticClass: \"bes\", attrs: { scope: \"col\" } }, [\n _vm._v(\" BES ve Yatırım Fonu \"),\n _c(\"br\"),\n _vm._v(\"Büyüklüğü \"),\n _c(\"div\", { staticClass: \"tag tooltip\" }, [\n _vm._m(0),\n _c(\n \"span\",\n { staticClass: \"text\" },\n [_c(\"base-icon\", { attrs: { name: \"question\" } })],\n 1\n ),\n ]),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Komisyon\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Tutar\")]),\n ]),\n ]),\n _c(\n \"tbody\",\n { staticClass: \"separator\" },\n _vm._l(_vm.mergedDatasAfterSummaryPull, function (d) {\n return _c(\"tr\", { key: d.name }, [\n _c(\"td\", [\n d.marketFeature && d.marketFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.marketFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.perspectiveFeature && d.perspectiveFeature.name\n ? _c(\"span\", [\n _vm._v(_vm._s(d.perspectiveFeature.name)),\n ])\n : _vm._e(),\n d.vendorFeature && d.vendorFeature.name\n ? _c(\"span\", [\n _vm._v(\" \" + _vm._s(d.vendorFeature.name) + \" \"),\n ])\n : _vm._e(),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Bu Paket Gelecek Ay Başlayacaktır) \"),\n ])\n : _vm._e(),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(\n _vm._s(_vm.formatPrice(d.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"td\", [\n _vm._v(_vm._s(_vm.formatPrice(d.totalPrice)) + \" TL\"),\n ]),\n ])\n }),\n 0\n ),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\"thead\", [_vm._m(1)])\n : _vm._e(),\n _vm.summaryData.research && _vm.summaryData.research.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.research, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.researchFeature && d.researchFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.researchFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.fundAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.commissionAmount.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.researchFeature && d.researchFeature.price\n ? _c(\"td\", [\n d.researchFeature.priceInfo == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.researchFeature.price.toString()\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.researchFeature.price.toString()\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.researchFeature.priceInfo == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.researchFeature.price.toString()\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\"thead\", [_vm._m(2)])\n : _vm._e(),\n _vm.summaryData.foreignIndice &&\n _vm.summaryData.foreignIndice.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.foreignIndice, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.foreignIndiceFeature && d.foreignIndiceFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.foreignIndiceFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.fundAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.fundAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature &&\n d.foreignIndiceFeature.commissionAmount\n ? _c(\"td\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature && d.foreignIndiceFeature.price\n ? _c(\"td\", [\n d.foreignIndiceFeature.priceInfo.toString() == \"₺\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.foreignIndiceFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"$\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.foreignIndiceFeature.priceInfo.toString() == \"€\"\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.foreignIndiceFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\"thead\", [_vm._m(3)])\n : _vm._e(),\n _vm.summaryData.algorithm && _vm.summaryData.algorithm.length > 0\n ? _c(\n \"tbody\",\n _vm._l(_vm.summaryData.algorithm, function (d) {\n return _c(\"tr\", { key: d.name }, [\n d.algorithmFeature && d.algorithmFeature.name\n ? _c(\"td\", [\n _vm._v(\n \" \" + _vm._s(d.algorithmFeature.name) + \" \"\n ),\n d.endDate\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\"(Ay Sonuna Kadar Geçerli) \"),\n ])\n : _vm._e(),\n d.dateSelection.key == 1\n ? _c(\"span\", { staticClass: \"small-text\" }, [\n _c(\"br\"),\n _vm._v(\n \"(Bu Paket Gelecek Ay Başlayacaktır) \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.fundAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.fundAmount\n )\n ) + \" TL\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.fundAmount\n )\n ) + \" Dolar\"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.fundAmount\n )\n ) + \" Euro\"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature &&\n d.algorithmFeature.commissionAmount\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.commissionAmount\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n d.algorithmFeature && d.algorithmFeature.price\n ? _c(\"td\", [\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.tl\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(\n d.algorithmFeature.price\n )\n ) +\n \" TL \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.dolar\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceDollar(\n d.algorithmFeature.price\n )\n ) +\n \" Dolar \"\n ),\n ])\n : _vm._e(),\n d.algorithmFeature.priceInfo ===\n _vm.currencySymbol.euro\n ? _c(\"span\", [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPriceEuro(\n d.algorithmFeature.price\n )\n ) +\n \" Euro \"\n ),\n ])\n : _vm._e(),\n ])\n : _vm._e(),\n ])\n }),\n 0\n )\n : _vm._e(),\n _c(\"tfoot\", [\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Ekran Ücreti\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenFund)) + \" TL\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.screenCommission)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.formatPrice(_vm.screenPrice)) + \" TL/Ay\"),\n ]),\n ]),\n _c(\"tr\", [\n _vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Bu Ay Toplam\"),\n ])\n : _vm._e(),\n !_vm.showNextMonthRow\n ? _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Toplam\")])\n : _vm._e(),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalFundAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n _vm._s(_vm.formatPrice(_vm.totalCommissionAmount)) + \" TL\"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceCalc())),\n ]),\n ]),\n _c(\"tr\", [\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\"Gelecek Ay Toplam\"),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(_vm.formatPrice(_vm.totalNextMonthFundAmount)) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(\n \" \" +\n _vm._s(\n _vm.formatPrice(_vm.totalNextMonthCommissionAmount)\n ) +\n \" TL \"\n ),\n ]),\n _c(\"th\", { attrs: { scope: \"col\" } }, [\n _vm._v(_vm._s(_vm.totalPriceNextMonthCalc())),\n ]),\n ]),\n ]),\n ]),\n ]),\n _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[0], typeWarning: true },\n }),\n _vm.isWarningAllowed\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[1], typeWarning: true },\n })\n : _vm._e(),\n _vm.haveCurrency\n ? _c(\"info-area\", {\n attrs: { infoText: _vm.infoText[2], typeWarning: true },\n })\n : _vm._e(),\n _c(\n \"div\",\n { staticClass: \"checkout-content__action\" },\n [\n _c(\n \"base-button\",\n {\n class: { \"button-disabled\": _vm.isButtonClicked },\n attrs: { id: \"submit-checkout\" },\n on: { click: _vm.confirmPackage },\n },\n [_vm._v(\"Talep Et\")]\n ),\n ],\n 1\n ),\n ],\n 1\n ),\n _vm.packageDetail\n ? [\n _c(\"package-settigns\", {\n attrs: {\n dataItem: _vm.packageDetail,\n marketInfo: _vm.marketInfo,\n isPopupVisible: _vm.isPopupVisible,\n },\n on: { close: _vm.closePopup },\n }),\n ]\n : _vm._e(),\n ],\n 2\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"tooltiptext down\" }, [\n _c(\"div\", { staticClass: \"texts\" }, [\n _vm._v(\n \" Yatırım Fonu / BES hesaplamasına o ay içerisinde hesapta bulunan ortalama fon büyüklüğü dahil edilir. \"\n ),\n ]),\n _c(\"div\", { staticClass: \"triangle-down\" }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Ek Paketler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Yabancı Endeksler\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"tr\", { staticClass: \"extra-table\" }, [\n _c(\"th\", { attrs: { scope: \"col\" } }, [_vm._v(\"Algoritmalar\")]),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n _c(\"th\", { attrs: { scope: \"col\" } }),\n ])\n },\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack://OsmanliPackage/./src/views/Checkout.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%225a848ef0-vue-loader-template%22%7D!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options");
2404
2404
 
2405
2405
  /***/ }),
2406
2406
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osmanli-veri-dagitim",
3
- "version": "2.1.19-dev",
3
+ "version": "2.1.20-dev",
4
4
  "main": "./dist/OsmanliPackage.umd.min.js?version=2.0.90",
5
5
  "files": [
6
6
  "dist"