{"version":3,"sources":["webpack:///./src/views/Checkout.vue","webpack:///src/views/Checkout.vue","webpack:///./src/views/Checkout.vue?ce33","webpack:///./src/views/Checkout.vue?fda1","webpack:///./src/views/Checkout.vue?df84"],"names":["render","_vm","this","_c","_self","staticClass","class","active","currentStep","_v","addresses","length","_l","address","key","id","selectedAddress","on","$event","selectAddress","_s","user","town","country","zipCode","phoneNumber","_m","attrs","name","translations","newAddress","posts","post","calculateDeliveryPrice","directives","rawName","value","expressPostId","expression","domProps","_q","setDeliveryType","title","_e","freeShippingEnabled","freeShippingAmount","cart","totalAmount","price","toFixed","replace","shoppingCart","cartItems","item","params","articleId","slug","slugify","article","highlightedImageUrl","baseUrl","quantity","canViewPrices","totalAmountWithoutVat","totalAmountVat","promoCode","discountApplianceType","staticStyle","promoDiscount","giftCard","giftCardDiscount","totalBruttoWeight","deliveryType","selectedPost","paymentMethods","method","paymentMethod","label","note","target","composing","financeInfo","total","acceptTerms","Array","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","disabled","placeOrder","nextStepDisabled","nextStep","staticRenderFns","mixins","components","Photo","data","firstName","lastName","countryId","townId","computed","$store","getters","getShoppingCart","getShippingAddresses","countries","getCountries","cities","getTowns","getExpressPosts","getFinanceInfo","find","i","config","profile","getProfile","userData","methods","helpers","paymentTypesArray","filter","companyPaymentTypes","getFreeShippingAmount","getFreeShippingEnabled","window","scrollTo","top","behavior","dispatch","payload","shoppingCartId","shippingAddressId","paymentType","transportPrice","api","then","response","$toast","info","$router","push","catch","err","error","ranges","minWeight","maxWeight","deliveryPrice","mounted","watch","component"],"mappings":"mHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,KAAK,CAACE,YAAY,yBAAyB,CAACF,EAAG,KAAK,CAACG,MAAM,CAAEC,OAA4B,IAApBN,EAAIO,cAAqB,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A3G,KAAAyB,mBACA,KAAAzB,KAAAyB,mBAAAiD,EAAAkC,WAEA,OAAAF,EAIAA,EAAAG,cAHA,OAMAC,UACAxB,OAAAC,SAAA,CAAAC,IAAA,EAAAC,SAAA,WACA,KAAA1B,OAAA2B,SAAA,wBACA,KAAA3B,OAAA2B,SAAA,0BACA,KAAA3B,OAAA2B,SAAA,yBACA,KAAA3B,OAAA2B,SAAA,mBACAJ,OAAAC,SAAA,CAAAC,IAAA,EAAAC,SAAA,YAEAsB,MAAA,CACAnJ,UAAA0B,IACA,KAAApB,kBAAA,OAAAoB,QAAA,IAAAA,OAAA,EAAAA,EAAAzB,QAAA,KAEA,KAAAK,iBAAAoB,MCj1B+W,I,wBCQ3W0H,EAAY,eACd,EACA9J,EACAmG,GACA,EACA,KACA,WACA,MAIa,aAAA2D,E,6CCnBf,W","file":"js/checkout.971ea083.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"container\"},[_c('ul',{staticClass:\"checkout-progress-bar\"},[_c('li',{class:{ active: _vm.currentStep === 1 }},[_c('span',[_vm._v(\"Dostava\")])]),_c('li',{class:{ active: _vm.currentStep === 2 }},[_c('span',[_vm._v(\"Plaćanje\")])])]),(_vm.currentStep === 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8\"},[_c('ul',{staticClass:\"checkout-steps\"},[_c('li',[_c('h2',{staticClass:\"step-title\"},[_vm._v(\"Adresa za dostavu\")]),(_vm.addresses.length)?_c('div',{staticClass:\"shipping-step-addresses\"},_vm._l((_vm.addresses),function(address){return _c('div',{key:address.id,staticClass:\"shipping-address-box\",class:{ active: _vm.selectedAddress && _vm.selectedAddress.id === address.id },on:{\"click\":function($event){return _vm.selectAddress(address)}}},[_c('address',[_vm._v(\" \"+_vm._s(address.user)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.address)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.town)+\", \"+_vm._s(address.country)+\", \"+_vm._s(address.zipCode)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.country)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(address.phoneNumber)+\" \"),_c('br')]),_vm._m(0,true)])}),0):_c('div',[_c('div',{staticClass:\"alert alert-warning mt-1\"},[_vm._v(\" Molimo Vas da unesete bar jednu adresu za dostavu prije nego što nastavite sa procesuiranjem narudžbe \")]),_c('router-link',{staticClass:\"btn btn-sm btn-outline-secondary btn-new-address\",attrs:{\"to\":{ name: 'NewAddress' }}},[_vm._v(\" \"+_vm._s(_vm.translations.newAddress)+\" \")])],1)]),_c('li',[_c('div',{staticClass:\"checkout-step-shipping\"},[_c('h2',{staticClass:\"step-title\"},[_vm._v(\"Način dostave\")]),_c('table',{staticClass:\"table table-step-shipping\"},[_c('tbody',[_vm._l((_vm.posts),function(post){return _c('tr',{key:post.id},[(_vm.calculateDeliveryPrice(post) != null)?_c('td',[_c('div',{staticClass:\"custom-control custom-radio d-flex my-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.expressPostId),expression:\"expressPostId\"}],staticClass:\"custom-control-input\",attrs:{\"id\":post.id,\"name\":\"shipping-method\",\"type\":\"radio\"},domProps:{\"value\":post.id,\"checked\":_vm._q(_vm.expressPostId,post.id)},on:{\"click\":function($event){return _vm.setDeliveryType(2)},\"change\":function($event){_vm.expressPostId=post.id}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(_vm._s(post.title))])])]):_vm._e(),(_vm.calculateDeliveryPrice(post) != null)?_c('td',[_c('strong',[(_vm.freeShippingEnabled === true\n && (_vm.freeShippingAmount <= _vm.cart.totalAmount || post.price === 0))?_c('span',[_vm._v(\" Besplatno* \")]):_c('span',[_vm._v(\" \"+_vm._s(post.price.toFixed(2).replace(\".\", \",\"))+\" KM \")])])]):_vm._e(),(_vm.calculateDeliveryPrice(post) != null)?_c('td',[_vm._v(\" Vrijeme isporuke 2 do 3 radna dana \")]):_vm._e()])}),_c('tr',[_c('td',[_c('div',{staticClass:\"custom-control custom-radio d-flex my-0\"},[_c('input',{staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"id\":\"delivery-1\",\"name\":\"shipping-method\"},on:{\"click\":function($event){return _vm.setDeliveryType(1)}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(\"Osobno preuzimanje\")])])]),_vm._m(1),_c('td',[_vm._v(\"Osobni dolazak u poslovnicu\")])]),_c('tr',[_c('td',[_c('div',{staticClass:\"custom-control custom-radio d-flex my-0\"},[_c('input',{staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"id\":\"delivery-3\",\"name\":\"shipping-method\"},on:{\"click\":function($event){return _vm.setDeliveryType(3)}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(\"Naša dostava\")])])]),_vm._m(2),_c('td',[_vm._v(\"Vrijeme isporuke cca. 7 dana\")])])],2)]),(_vm.freeShippingEnabled === true)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" *Iznosom narudžbe od \"+_vm._s(_vm.freeShippingAmount)+\" KM ostvarujete besplatnu dostavu \")]):_vm._e()])])])]),_c('div',{staticClass:\"col-lg-4\"},[_c('div',{staticClass:\"order-summary mb-1\"},[_c('h3',[_vm._v(_vm._s(_vm.translations.shoppingCart))]),(_vm.cart && _vm.cart.cartItems)?_c('h4',[_c('a',{staticClass:\"collapsed\",attrs:{\"data-toggle\":\"collapse\",\"href\":\"#order-cart-section\",\"role\":\"button\",\"aria-expanded\":\"true\",\"aria-controls\":\"order-cart-section\"}},[_vm._v(\" \"+_vm._s(_vm.cart.cartItems.length)+\" artikala u košarici \")])]):_vm._e(),(_vm.cart && _vm.cart.cartItems)?_c('div',{staticClass:\"collapse show\",attrs:{\"id\":\"order-cart-section\"}},[_c('table',{staticClass:\"table table-mini-cart\"},[_c('tbody',_vm._l((_vm.cart.cartItems),function(item){return _c('tr',{key:item.id},[_c('td',{staticClass:\"product-col\"},[_c('figure',{staticClass:\"product-image-container\"},[_c('router-link',{staticClass:\"product-image\",attrs:{\"to\":{\n name: 'Article',\n params: { id: item.articleId, slug: _vm.slugify(item.article) }\n }}},[(item.highlightedImageUrl)?_c('Photo',{attrs:{\"src\":`${_vm.baseUrl}${item.highlightedImageUrl}`}}):_c('Photo',{attrs:{\"src\":\"assets/images/no-image.jpg\"}})],1)],1),_c('div',[_c('h2',{staticClass:\"product-title\"},[_c('router-link',{attrs:{\"to\":{\n name: 'Article',\n params: { id: item.articleId, slug: _vm.slugify(item.article) }\n }}},[_vm._v(\" \"+_vm._s(item.article)+\" \")])],1),_c('span',{staticClass:\"product-qty\"},[_vm._v(\" \"+_vm._s(_vm.translations.quantity)+\": \"+_vm._s(item.quantity))])])]),(_vm.canViewPrices)?_c('td',{staticClass:\"price-col\"},[_vm._v(\" \"+_vm._s(item.totalAmount.toFixed(2).replace(\".\", \",\"))+\" KM \")]):_vm._e()])}),0),_c('tfoot',{staticClass:\"custom-table-footer\"},[(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems)?_c('tr',[_c('td',[_vm._v(\"Ukupno narudžba (bez PDV):\")]),(_vm.cart)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmountWithoutVat.toFixed(2))+\" KM \")]):_vm._e()]):_vm._e(),(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems)?_c('tr',[_c('td',[_vm._v(\"+ PDV:\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmountVat.toFixed(2))+\" KM \")])]):_vm._e(),(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems\n && _vm.cart.promoCode\n && _vm.cart.promoCode.discountApplianceType === 1)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),(_vm.cart && _vm.cart.cartItems)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s((_vm.cart.totalAmountWithoutVat + _vm.cart.totalAmountVat) .toFixed(2).replace('.', ','))+\" KM \")]):_vm._e()]):_vm._e(),(_vm.canViewPrices && _vm.cart.promoCode\n && _vm.cart.promoCode.discountApplianceType === 1)?_c('tr',[_c('td',[_vm._v(\"- Promo kod\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\"-\"+_vm._s(_vm.cart.promoDiscount.toFixed(2))+\" KM\")])]):_vm._e(),(_vm.canViewPrices && _vm.cart.giftCard)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),(_vm.cart && _vm.cart.cartItems)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s((_vm.cart.totalAmountWithoutVat + _vm.cart.totalAmountVat) .toFixed(2).replace('.', ','))+\" KM \")]):_vm._e()]):_vm._e(),(_vm.cart.giftCard)?_c('tr',[_c('td',[_vm._v(\"- Poklon kod\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\"-\"+_vm._s(_vm.cart.giftCardDiscount.toFixed(2))+\" KM\")])]):_vm._e(),(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmount.toFixed(2).replace('.', ','))+\" KM \")])]):_vm._e(),_c('tr',[_c('td',[_vm._v(\"Ukupna kilaža\")]),(_vm.cart)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalBruttoWeight.toFixed(2).replace(\".\", \",\"))+\" KG\")]):_vm._e()])])])]):_vm._e()]),(_vm.cart.promoCode\n && _vm.cart.promoCode.discountApplianceType !== 1)?_c('div',{staticClass:\"d-flex justify-content-center align-items-center\"},[_c('span',[_vm._v(\" *Ušteda prilikom korištenja promo koda: \"+_vm._s(_vm.cart.promoDiscount.toFixed(2))+\" KM \")])]):_vm._e()])]):_vm._e(),(_vm.currentStep === 2)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-4\"},[_c('div',{staticClass:\"order-summary mb-1\"},[_c('h3',[_vm._v(_vm._s(_vm.translations.shoppingCart))]),(_vm.cart && _vm.cart.cartItems)?_c('h4',[_c('a',{staticClass:\"expanded\",attrs:{\"data-toggle\":\"collapse\",\"href\":\"#order-cart-section\",\"role\":\"button\",\"aria-expanded\":\"true\",\"aria-controls\":\"order-cart-section\"}},[_vm._v(\" \"+_vm._s(_vm.cart.cartItems.length)+\" artikala u košarici \")])]):_vm._e(),(_vm.cart && _vm.cart.cartItems)?_c('div',{staticClass:\"collapse show\",attrs:{\"id\":\"order-cart-section\"}},[_c('table',{staticClass:\"table table-mini-cart\"},[_c('tbody',_vm._l((_vm.cart.cartItems),function(item){return _c('tr',{key:item.id},[_c('td',{staticClass:\"product-col\"},[_c('figure',{staticClass:\"product-image-container\"},[_c('router-link',{staticClass:\"product-image\",attrs:{\"to\":{\n name: 'Article',\n params: { id: item.articleId, slug: _vm.slugify(item.title) }\n }}},[(item.highlightedImageUrl)?_c('Photo',{attrs:{\"src\":`${_vm.baseUrl}${item.highlightedImageUrl}`}}):_c('Photo',{attrs:{\"src\":\"assets/images/no-image.jpg\"}})],1)],1),_c('div',[_c('h2',{staticClass:\"product-title\"},[_c('router-link',{attrs:{\"to\":{\n name: 'article',\n params: { id: item.id, slug: _vm.slugify(item.title) }\n }}},[_vm._v(\" \"+_vm._s(item.article)+\" \")])],1),_c('span',{staticClass:\"product-qty\"},[_vm._v(\" \"+_vm._s(_vm.translations.quantity)+\": \"+_vm._s(item.quantity))])])]),(_vm.canViewPrices)?_c('td',{staticClass:\"price-col\"},[_vm._v(\" \"+_vm._s(item.totalAmount.toFixed(2).replace(\".\", \",\"))+\" KM \")]):_vm._e()])}),0),(_vm.canViewPrices)?_c('tfoot',{staticClass:\"custom-table-footer\"},[_c('tr',[_c('td',[_vm._v(\"Ukupno narudžba (bez PDV):\")]),(_vm.canViewPrices && _vm.cart)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmountWithoutVat.toFixed(2))+\" KM \")]):_vm._e()]),_c('tr',[_c('td',[_vm._v(\"+ PDV:\")]),(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmountVat.toFixed(2))+\" KM \")]):_vm._e()]),(_vm.canViewPrices && _vm.cart &&\n _vm.cart.promoCode && _vm.cart.promoCode.discountApplianceType === 1)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),(_vm.cart && _vm.cart.cartItems)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s((_vm.cart.totalAmountWithoutVat + _vm.cart.totalAmountVat) .toFixed(2).replace('.', ','))+\" KM \")]):_vm._e()]):_vm._e(),(_vm.canViewPrices && _vm.cart && _vm.cart.promoCode\n && _vm.cart.promoCode.discountApplianceType === 1)?_c('tr',[_c('td',[_vm._v(\"- Promo kod\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\"-\"+_vm._s(_vm.cart.promoDiscount.toFixed(2))+\" KM\")])]):_vm._e(),(_vm.canViewPrices && _vm.cart.giftCard)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),(_vm.cart && _vm.cart.cartItems)?_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s((_vm.cart.totalAmountWithoutVat + _vm.cart.totalAmountVat) .toFixed(2).replace('.', ','))+\" KM \")]):_vm._e()]):_vm._e(),(_vm.canViewPrices && _vm.cart.giftCard)?_c('tr',[_c('td',[_vm._v(\"- Poklon kod\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\"-\"+_vm._s(_vm.cart.giftCardDiscount.toFixed(2))+\" KM\")])]):_vm._e(),(_vm.canViewPrices && _vm.cart && _vm.cart.cartItems)?_c('tr',{staticStyle:{\"border-top\":\"1px solid #ccc\"}},[_c('td',[_vm._v(\"Ukupno s PDV\")]),_c('td',{staticClass:\"text-right\"},[_vm._v(\" \"+_vm._s(_vm.cart.totalAmount.toFixed(2).replace('.', ','))+\" KM \")])]):_vm._e(),(_vm.deliveryType === 2)?_c('tr',[_c('td',[_vm._v(\"Poštarina\")]),_c('td',{staticClass:\"text-right\"},[(_vm.freeShippingEnabled === true &&\n (_vm.freeShippingAmount <= _vm.cart.totalAmount || _vm.selectedPost.price === 0))?_c('span',[_vm._v(\" Besplatno \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.selectedPost.price.toFixed(2).replace(\".\", \",\"))+\" KM \")])])]):_vm._e(),(_vm.deliveryType === 2)?_c('tr',[_c('td',[_vm._v(\"Ukupno s poštarinom\")]),_c('td',{staticClass:\"text-right\"},[(_vm.freeShippingEnabled === true)?_c('div',[(_vm.freeShippingAmount >= _vm.cart.totalAmount)?_c('span',[_vm._v(\" \"+_vm._s((_vm.selectedPost.price + _vm.cart.totalAmount) .toFixed(2).replace(\".\", \",\"))+\" KM \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.cart.totalAmount.toFixed(2).replace(\".\", \",\"))+\" KM \")])]):_c('span',[_vm._v(\" \"+_vm._s((_vm.selectedPost.price + _vm.cart.totalAmount).toFixed(2).replace(\".\", \",\"))+\" KM \")])])]):_vm._e()]):_vm._e()])]):_vm._e()]),(_vm.cart.promoCode\n && _vm.cart.promoCode.discountApplianceType !== 1)?_c('div',{staticClass:\"d-flex justify-content-center align-items-center mb-3\"},[_c('span',[_vm._v(\" *Ušteda prilikom korištenja promo koda: \"+_vm._s(_vm.cart.promoDiscount.toFixed(2))+\" KM \")])]):_vm._e(),_c('div',{staticClass:\"checkout-info-box\"},[_c('h3',{staticClass:\"step-title\"},[_vm._v(\" Dostaviti na: \")]),_c('address',[_vm._v(\" \"+_vm._s(_vm.selectedAddress.user)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedAddress.address)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedAddress.town)+\", \"+_vm._s(_vm.selectedAddress.country)+\", \"+_vm._s(_vm.selectedAddress.zipCode)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedAddress.country)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedAddress.phoneNumber)+\" \"),_c('br')])])]),_c('div',{staticClass:\"col-lg-8 order-lg-first\"},[_c('div',{staticClass:\"checkout-payment\"},[_c('h2',{staticClass:\"step-title\"},[_vm._v(\"Način plaćanja:\")]),_vm._l((_vm.paymentMethods),function(method){return _c('div',{key:method.id,staticClass:\"form-group form-group-custom-control\"},[_c('div',{staticClass:\"custom-control custom-radio d-flex\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.paymentMethod),expression:\"paymentMethod\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"radio\",\"name\":\"radio\"},domProps:{\"value\":method.id,\"checked\":_vm._q(_vm.paymentMethod,method.id)},on:{\"change\":function($event){_vm.paymentMethod=method.id}}}),_c('label',{staticClass:\"custom-control-label-radio\"},[_vm._v(_vm._s(method.label))])])])}),_c('div',{staticClass:\"form-group form-group-custom-control\",staticStyle:{\"max-width\":\"100%\"}},[_c('label',[_vm._v(\"Napomena: \")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.note),expression:\"note\"}],staticClass:\"form-control form-control-sm\",attrs:{\"cols\":\"9\",\"rows\":\"6\"},domProps:{\"value\":(_vm.note)},on:{\"input\":function($event){if($event.target.composing)return;_vm.note=$event.target.value}}})]),(this.financeInfo.total > 0)?_c('div',{staticClass:\"checkout-info\"},[_c('div',{staticClass:\"checkout-info\"},[_c('div',{staticClass:\"cta-simple cta-border2\"},[_vm._m(3),_vm._m(4),_c('router-link',{staticClass:\"btn btn-lg btn-primary mt-2\",attrs:{\"to\":{ name: 'ProfileFinance' }}},[_vm._v(\" Vidi financije \")])],1)])]):_vm._e(),_c('div',{staticClass:\"d-flex justify-content-between\"},[_c('div',{staticClass:\"d-flex align-items-center\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.acceptTerms),expression:\"acceptTerms\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"value\":_vm.acceptTerms,\"checked\":Array.isArray(_vm.acceptTerms)?_vm._i(_vm.acceptTerms,_vm.acceptTerms)>-1:(_vm.acceptTerms)},on:{\"change\":function($event){var $$a=_vm.acceptTerms,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.acceptTerms,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.acceptTerms=$$a.concat([$$v]))}else{$$i>-1&&(_vm.acceptTerms=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.acceptTerms=$$c}}}}),_c('router-link',{staticClass:\"ml-2\",attrs:{\"to\":{ name: 'TermsOfService' },\"target\":\"_blank\"}},[_vm._v(\" Prihvatam uvjete korištenja \")])],1),_c('div',{staticClass:\"d-flex\"},[_c('button',{staticClass:\"btn btn-primary mx-2\",on:{\"click\":function($event){_vm.currentStep = 1}}},[_vm._v(\"Natrag\")]),_c('button',{staticClass:\"btn btn-primary\",class:{ disabled: !_vm.paymentMethod || !_vm.acceptTerms},attrs:{\"disabled\":!_vm.paymentMethod || !_vm.acceptTerms},on:{\"click\":function($event){return _vm.placeOrder()}}},[_vm._v(\" Zaključi narudžbu \")])])])],2)])])])]):_vm._e(),(_vm.currentStep === 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-8\"},[_c('div',{staticClass:\"checkout-steps-action\"},[_c('button',{staticClass:\"btn btn-primary float-right\",attrs:{\"disabled\":_vm.nextStepDisabled},on:{\"click\":function($event){return _vm.nextStep()}}},[_vm._v(\" DALJE \")])])])]):_vm._e()]),_c('div',{staticClass:\"mb-4\"})])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"address-box-action clearfix\"},[_c('button',{staticClass:\"btn btn-sm btn-outline-secondary float-right\"},[_vm._v(\" Dostaviti ovdje \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('td',[_c('strong',[_vm._v(\"Besplatno\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('td',[_c('strong',[_vm._v(\"Besplatno\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('h3',{staticClass:\"font-weight-normal\"},[_vm._v(\" Vaša \"),_c('b',[_vm._v(\"valuta\")]),_vm._v(\" je \"),_c('b',[_vm._v(\"dospjela\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('p',[_vm._v(\"Molimo \"),_c('b',[_vm._v(\"platite Vaše ranije narudžbe\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkout.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkout.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Checkout.vue?vue&type=template&id=72a56045&scoped=true\"\nimport script from \"./Checkout.vue?vue&type=script&lang=js\"\nexport * from \"./Checkout.vue?vue&type=script&lang=js\"\nimport style0 from \"./Checkout.vue?vue&type=style&index=0&id=72a56045&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"72a56045\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Checkout.vue?vue&type=style&index=0&id=72a56045&prod&lang=scss&scoped=true\""],"sourceRoot":""}