{"version":3,"sources":["webpack:///./resources/js/src/app/components/basket/BasketTotals.vue","webpack:///resources/js/src/app/components/basket/BasketTotals.vue","webpack:///./resources/js/src/app/components/basket/BasketTotals.vue?8c12","webpack:///./resources/js/src/app/components/basket/BasketTotals.vue?55ca"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","$translate","class","isBasketLoading","_t","visibleFields","includes","displayedProperties","length","_l","property","key","propertyId","showNetPrices","attrs","name","_f","price","_e","calculateBaseValue","basket","itemSumNet","basketRebate","itemSum","shippingAmountNet","shippingAmount","couponCode","couponCampaignType","couponDiscount","subAmount","totalVats","totalVat","vatValue","vatAmount","displayedPropertiesWithoutTax","basketAmountNet","basketAmount","openAmount","isExportDelivery","deliveryExportTranslation","_withStripped","data","created","watch","basketItems","deep","handler","props","type","default","computed","currentShippingCountry","shopCountry","from","to","mapState","shippingCountries","methods","isVariationProperty","isInBasketItemOrderParams","setPropertiesForTotals","newBasketItems","isAdditionalCosts","existsIndisplayedProperties","existsIndisplayedPropertiesWithoutTax","existingProperty","quantity","surcharge","basketItem","vatId","entry","component"],"mappings":"wHAAIA,EAAS,WACX,IAAIC,EAAMC,KACRC,EAAKF,EAAIG,MAAMD,GACjB,OAAOA,EAAG,MAAO,CAAEE,YAAa,cAAgB,CAC9CF,EAAG,MAAO,CAAEE,YAAa,MAAQ,CAC/BJ,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,WAAW,iCAE/BP,EAAIK,GAAG,KACPH,EACE,MACA,CACEE,YAAa,yCACbI,MAAO,CAAE,aAAcR,EAAIS,kBAE7B,CACEP,EACE,KACA,CACEF,EAAIU,GAAG,mBACPV,EAAIK,GAAG,MACNL,EAAIW,cAAcC,SAAS,oBAC1BZ,EAAIW,cAAcC,SAAS,6BAC7BZ,EAAIa,oBAAoBC,OACpB,CACEd,EAAIe,GAAGf,EAAIa,qBAAqB,SAAUG,GACxC,MAAO,CACLd,EACE,KACA,CACEe,IAAK,iBAAmBD,EAASE,WACjCV,MAAO,CA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AAA,WACA,sCACA,gCACA,EADA,IACAC,GAAA,qCACA,2EACA,GACA,mCACAC,iBACA,iDACA,CACA,kCACA,kDAEA,EACA,sCACA,kDAEA,EACAC,GACAC,EAGA,KACAC,2BACA,CACA,OACArD,wBACAG,2BACAmD,oBACAC,+CACAC,4BACA1D,cAEA2D,wBAEA,eAEA,8BADA,8CAjCA,+BAsCA,8BACA,wDACAC,kCAEA,8CACAA,qC,OEzhBIC,EAAY,YACd,EACA9E,EHkpBoB,IGhpBpB,EACA,KACA,KACA,MAIa,UAAA8E,E","file":"chunks/ceres-22.min.js","sourcesContent":["var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"div\", { staticClass: \"cmp-totals\" }, [\n _c(\"div\", { staticClass: \"h3\" }, [\n _vm._v(_vm._s(_vm.$translate(\"Ceres::Template.basketSum\"))),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"component-loading with-icon refreshing\",\n class: { \"is-loading\": _vm.isBasketLoading },\n },\n [\n _c(\n \"dl\",\n [\n _vm._t(\"before-item-sum\"),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"additionalCosts\") ||\n _vm.visibleFields.includes(\"basket.additional_costs\")) &&\n _vm.displayedProperties.length\n ? [\n _vm._l(_vm.displayedProperties, function (property) {\n return [\n _c(\n \"dt\",\n {\n key: \"property-name-\" + property.propertyId,\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: { \"data-testing\": \"additionalcost-with-tax\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(property.name) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n key: \"property-price-\" + property.propertyId,\n class: { \"font-weight-bold\": _vm.showNetPrices },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(property.price)) +\n \"\\n \"\n ),\n ]\n ),\n ]\n }),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"basketValueNet\") ||\n _vm.visibleFields.includes(\"basket.value_of_items_net\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketValue\")\n ) +\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketNet\")) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: { \"data-testing\": \"item-sum-net\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(\n _vm.calculateBaseValue(\n _vm.basket.itemSumNet,\n _vm.basket.basketRebate\n )\n )\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"basketValueGross\") ||\n _vm.visibleFields.includes(\"basket.value_of_items_gross\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": !_vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketValue\")\n ) +\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketGross\")\n ) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": !_vm.showNetPrices },\n attrs: { \"data-testing\": \"item-sum\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(\n _vm.calculateBaseValue(\n _vm.basket.itemSum,\n _vm.basket.basketRebate\n )\n )\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"rebate\") ||\n _vm.visibleFields.includes(\"basket.rebate\")) &&\n _vm.basket.basketRebate\n ? [\n _c(\"dt\", { staticClass: \"rebate-hint\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketRebate\")) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n !_vm.showNetPrices\n ? _c(\"dd\", { staticClass: \"rebate-hint\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketRebateSign\")\n ) +\n _vm._s(\n _vm._f(\"currency\")(\n _vm.calculateBaseValue(\n _vm.basket.itemSum,\n _vm.basket.basketRebate\n ) - _vm.basket.itemSum\n )\n ) +\n \"\\n \"\n ),\n ])\n : _c(\"dd\", { staticClass: \"rebate-hint\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketRebateSign\")\n ) +\n _vm._s(\n _vm._f(\"currency\")(\n _vm.calculateBaseValue(\n _vm.basket.itemSumNet,\n _vm.basket.basketRebate\n ) - _vm.basket.itemSumNet\n )\n ) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketSubTotal\")\n ) +\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketNet\")) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(_vm.basket.itemSumNet)) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": !_vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketSubTotal\")\n ) +\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketGross\")\n ) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n { class: { \"font-weight-bold\": !_vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(_vm.basket.itemSum)) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm._t(\"after-item-sum\"),\n _vm._v(\" \"),\n _vm._t(\"before-shipping-costs\"),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"shippingCostsNet\") ||\n _vm.visibleFields.includes(\"basket.shipping_costs_net\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.basketShippingCosts\"\n )\n ) +\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketNet\")) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: { \"data-testing\": \"shipping-amount-net\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.shippingAmountNet)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"shippingCostsGross\") ||\n _vm.visibleFields.includes(\"basket.shipping_costs_gross\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": !_vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.basketShippingCosts\"\n )\n ) +\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketGross\")\n ) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": !_vm.showNetPrices },\n attrs: { \"data-testing\": \"shipping-amount\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.shippingAmount)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm._t(\"after-shipping-costs\"),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"promotionCoupon\") ||\n _vm.visibleFields.includes(\"basket.promotion_coupon\")) &&\n _vm.basket.couponCode &&\n _vm.basket.couponCampaignType === \"promotion\"\n ? [\n _c(\"dt\", { staticClass: \"font-weight-bold\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketCoupon\")) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n staticClass: \"font-weight-bold\",\n attrs: { \"data-testing\": \"promotion-coupon\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.couponDiscount)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"subAmount\") ||\n _vm.visibleFields.includes(\"basket.order_total_net\") ||\n _vm.visibleFields.includes(\"vats\") ||\n _vm.visibleFields.includes(\"basket.vat\")\n ? _c(\"hr\")\n : _vm._e(),\n _vm._v(\" \"),\n _vm._t(\"before-total-sum\"),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"subAmount\") ||\n _vm.visibleFields.includes(\"basket.order_total_net\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketSubAmount\")\n ) +\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketNet\")) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: { \"data-testing\": \"basket-sub-amount\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(_vm.basket.subAmount)) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm._t(\"before-vat\"),\n _vm._v(\" \"),\n _vm._l(_vm.basket.totalVats, function (totalVat) {\n return _vm.visibleFields.includes(\"vats\") ||\n _vm.visibleFields.includes(\"basket.vat\")\n ? [\n _c(\"dt\", [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.basketVAT\")) +\n \"\\n \" +\n _vm._s(totalVat.vatValue) +\n \"%\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\"dd\", { attrs: { \"data-testing\": \"vat-amount\" } }, [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(totalVat.vatAmount)) +\n \"\\n \"\n ),\n ]),\n ]\n : _vm._e()\n }),\n _vm._v(\" \"),\n _vm._t(\"after-vat\"),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"additionalCosts\") ||\n _vm.visibleFields.includes(\"basket.additional_costs\")) &&\n _vm.displayedPropertiesWithoutTax.length\n ? [\n _vm._l(\n _vm.displayedPropertiesWithoutTax,\n function (property) {\n return [\n _c(\n \"dt\",\n {\n key: \"property-name-\" + property.propertyId,\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: {\n \"data-testing\": \"additionalcost-without-tax\",\n },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(property.name) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n key: \"property-price-\" + property.propertyId,\n class: { \"font-weight-bold\": _vm.showNetPrices },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm._f(\"currency\")(property.price)) +\n \"\\n \"\n ),\n ]\n ),\n ]\n }\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"totalSum\" },\n [\n _c(\"hr\"),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"totalSumNet\") ||\n _vm.visibleFields.includes(\"basket.order_total_net\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": _vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketTotalSum\")\n ) +\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketNet\")\n ) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": _vm.showNetPrices },\n attrs: { \"data-testing\": \"basket-amount-net\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.basketAmountNet)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n _vm.visibleFields.includes(\"totalSumGross\") ||\n _vm.visibleFields.includes(\"basket.order_total_gross\")\n ? [\n _c(\n \"dt\",\n { class: { \"font-weight-bold\": !_vm.showNetPrices } },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketTotalSum\")\n ) +\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketGross\")\n ) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n class: { \"font-weight-bold\": !_vm.showNetPrices },\n attrs: { \"data-testing\": \"basket-amount\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.basketAmount)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"salesCoupon\") ||\n _vm.visibleFields.includes(\"basket.sales_coupon\")) &&\n _vm.basket.couponCode &&\n _vm.basket.couponCampaignType === \"sales\"\n ? [\n _c(\"dt\", { staticClass: \"font-weight-bold\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketCoupon\")\n ) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n staticClass: \"font-weight-bold\",\n attrs: { \"data-testing\": \"sales-coupon\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.couponDiscount)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n _vm._v(\" \"),\n (_vm.visibleFields.includes(\"openAmount\") ||\n _vm.visibleFields.includes(\"basket.open_amount\")) &&\n _vm.basket.couponCampaignType === \"sales\"\n ? [\n _c(\"dt\", { staticClass: \"font-weight-bold\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.basketOpenAmount\")\n ) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"dd\",\n {\n staticClass: \"font-weight-bold\",\n attrs: { \"data-testing\": \"open-amount\" },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm._f(\"currency\")(_vm.basket.openAmount)\n ) +\n \"\\n \"\n ),\n ]\n ),\n ]\n : _vm._e(),\n ],\n 2\n ),\n _vm._v(\" \"),\n _vm._t(\"after-total-sum\"),\n ],\n 2\n ),\n ]\n ),\n _vm._v(\" \"),\n _vm.basket.isExportDelivery && _vm.deliveryExportTranslation\n ? _c(\"div\", { staticClass: \"alert alert-info w-100\" }, [\n _vm._v(\"\\n \" + _vm._s(_vm.deliveryExportTranslation) + \"\\n \"),\n ])\n : _vm._e(),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketValue\") }}\n {{ $translate(\"Ceres::Template.basketNet\") }}\n
\n \n \n {{\n calculateBaseValue(basket.itemSumNet, basket.basketRebate)\n | currency\n }}\n \n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketValue\") }}\n {{ $translate(\"Ceres::Template.basketGross\") }}\n
\n \n \n {{\n calculateBaseValue(basket.itemSum, basket.basketRebate) | currency\n }}\n \n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketRebate\") }}\n
\n \n
\n {{ $translate(\"Ceres::Template.basketRebateSign\")\n }}{{\n (calculateBaseValue(basket.itemSum, basket.basketRebate) -\n basket.itemSum)\n | currency\n }}\n
\n \n
\n {{ $translate(\"Ceres::Template.basketRebateSign\")\n }}{{\n (calculateBaseValue(basket.itemSumNet, basket.basketRebate) -\n basket.itemSumNet)\n | currency\n }}\n
\n
\n {{ $translate(\"Ceres::Template.basketSubTotal\") }}\n {{ $translate(\"Ceres::Template.basketNet\") }}\n
\n \n
\n {{ basket.itemSumNet | currency }}\n
\n
\n {{ $translate(\"Ceres::Template.basketSubTotal\") }}\n {{ $translate(\"Ceres::Template.basketGross\") }}\n
\n \n
\n {{ basket.itemSum | currency }}\n
\n \n \n\n \n\n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketShippingCosts\") }}\n {{ $translate(\"Ceres::Template.basketNet\") }}\n
\n \n \n {{ basket.shippingAmountNet | currency }}\n \n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketShippingCosts\") }}\n {{ $translate(\"Ceres::Template.basketGross\") }}\n
\n \n \n {{ basket.shippingAmount | currency }}\n \n \n \n\n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketCoupon\") }}\n
\n \n
\n {{ basket.couponDiscount | currency }}\n
\n \n \n\n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketSubAmount\") }}\n {{ $translate(\"Ceres::Template.basketNet\") }}\n
\n \n \n {{ basket.subAmount | currency }}\n \n \n \n\n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketVAT\") }}\n {{ totalVat.vatValue }}%\n
\n \n
\n {{ totalVat.vatAmount | currency }}\n
\n \n \n\n \n\n \n \n \n \n \n\n
\n
\n\n \n \n
\n {{ $translate(\"Ceres::Template.basketTotalSum\") }}\n {{ $translate(\"Ceres::Template.basketNet\") }}\n
\n \n \n {{ basket.basketAmountNet | currency }}\n \n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketTotalSum\") }}\n {{ $translate(\"Ceres::Template.basketGross\") }}\n
\n \n \n {{ basket.basketAmount | currency }}\n \n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketCoupon\") }}\n
\n \n
\n {{ basket.couponDiscount | currency }}\n
\n \n \n\n \n \n
\n {{ $translate(\"Ceres::Template.basketOpenAmount\") }}\n
\n \n
\n {{ basket.openAmount | currency }}\n
\n \n \n
\n\n \n \n \n\n \n {{ deliveryExportTranslation }}\n \n \n\n\n\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasketTotals.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BasketTotals.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BasketTotals.vue?vue&type=template&id=1d91611c&\"\nimport script from \"./BasketTotals.vue?vue&type=script&lang=js&\"\nexport * from \"./BasketTotals.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}