PageSourceSearch

https://shop.hlmd.de/assets/OrderReview-2gNIslw9.js

js hlmd.de collected 2026-10-02 10:22:40 UTC 7,462 bytes, 2 lines download raw bytes

1import{_ as O,I as R,m as U,k,r as p,o as a,c as i,b as s,a as v,w as m,t,e as o,F as d,j as C,g as _,d as l,n as A}from"./index-Bb2ZKNhF.js";import{B as N}from"./Breadcrumbs-Crdycub-.js";import{f as T}from"./formater-DTCZAuwV.js";import{C as L}from"./ConfirmOrder-BJZJRksw.js";import{P as G}from"./PaymentTypes-Bp8wDw-N.js";import"./Loading-BL3nHdRm.js";import"./CheckInput-DTh74AHb.js";import"./TextInput-NnywQG9L.js";import"./RadioInput-ystTVNhn.js";const b={name:"OrderReview",data(){return{id:null,navName:"ORDER_REVIEW",isExpress:!1,isApplePay:!1,isGooglePay:!1,itemVisibility:[]}},components:{Breadcrumb:N,Icon:R,ConfirmOrder:L,PaymentTypes:G},computed:{...U({order:e=>e.orderReview.order,language:e=>e.language,navTranslations:e=>e.app.navTranslations,userIsLoggedIn:e=>e.user.isLoggedIn,isGuest:e=>e.customer.data.isGuest,hasUserRegistration:e=>e.app.hasUserRegistration,paypalExpress:e=>e.app.paypalExpress,hasGuestRegistration:e=>e.app.hasGuestRegistration,forceBillingForm:e=>e.app.hasBillingFormOnCheckout,status:e=>e.orderReview.status,paymentTypes:e=>e.payments.data.types})},methods:{...k({getOrder:"orderReview/getOrder"}),formatCurrency(e){return typeof e>"u"||e===null?"":T.currency(e)},paymentLogoURL(e){return`${window.visitate.webshopSrc}img/${e}`},percentage(e){return typeof e>"u"||e===null?"":T.percentage(e)},setPaymentId(e){this.paymentId=e},toggleExtendedInfo(e){this.itemVisibility[e]=!this.itemVisibility[e],this.itemVisibility.forEach((y,h)=>{h!==e&&(this.itemVisibility[h]=!1)})},getNavName(e){return typeof this.navTranslations<"u"&&typeof this.navTranslations[e]<"u"&&typeof this.navTranslations[e][this.language]<"u"&&this.navTranslations[e][this.language]!==""?this.navTranslations[e][this.language]:this.$t(e)},expressPayment(e){this.isExpress=e},applePayPayment(e){this.isApplePay=e},googlePayPayment(e){this.isGooglePay=e}},mounted(){this.id=this.$route.params.id,this.id&&(this.getOrder({id:this.id}),this.userIsLoggedIn&&sessionStorage.setItem("recentOrder",this.id))}},S={class:"OrderReview"},V={key:0,class:"orderInfo"},H={class:"customer"},K={class:"orderNumber"},B={key:1,class:"notAvailable"},$={key:2,class:"checkoutTable"},w={class:"itemList"},D={class:"item itemHeaders"},M={class:"content"},F={class:"title"},q={class:"singlePrice"},Y={class:"quantity"},W={class:"vat"},Q={class:"price"},X={class:"toggler"},j=["onClick"],z={class:"content"},J={class:"product primary"},Z={class:"nameAndDate"},x={class:"name"},ee={key:0,class:"singlePrice"},se={class:"label"},te={class:"currency"},ae={class:"price"},ie={class:"vat"},ne={key:0},oe={class:"label"},re={key:0,class:"singlePrice"},le={class:"label"},de={class:"currency"},ce={class:"quantity"},ue={class:"label"},_e={class:"item shippingCosts"},pe={class:"content"},me={class:"product primary"},ye={class:"name"},he={class:"price"},ge={class:"currency"},Ee={class:"totalRow"},ve={class:"totalLabel"},Ce={class:"total"},Te={class:"label"},fe={class:"currency"},Pe={key:1,class:"actions notLoggedin"},Ie={key:0,class:"notLoggedinMessage"},Oe={key:0,class:"guestMessage"},Re={key:2,class:"info"},Ue={class:"payments"},ke=["src"];function Ae(e,y,h,Ne,c,r){const f=p("Breadcrumb"),E=p("Icon"),P=p("PaymentTypes"),I=p("ConfirmOrder"),g=p("router-link");return a(),i(d,null,[s("div",S,[v(f,null,{default:m(()=>[s("span",null,t(r.getNavName(c.navName)),1)]),_:1}),s("h2",null,t(e.$t("CHECKOUT_CONFIRM_ORDER_PAGE_TITLE")),1),e.status==="available"?(a(),i("div",V,[s("div",H,t(e.$t("ORDER_REVIEW_CUSTOMER"))+": "+t(e.order.customer),1),s("div",K,t(e.$t("ORDER_REVIEW_ORDER_NUMBER"))+": "+t(e.$route.params.id),1)])):o("",!0),e.status==="notAvailable"?(a(),i("div",B,[s("div",null,t(e.$t("ORDER_REVIEW_ORDER_NOT_AVAILABLE")),1)])):(a(),i("div",$,[s("div",w,[s("div",D,[s("div",M,[s("div",F,t(e.$t("CHECKOUT_PRODUCT")),1),s("div",q,t(e.$t("CHECKOUT_UNIT_PRICE")),1),s("div",Y,t(e.$t("CHECKOUT_QUANTITY")),1),s("div",W,t(e.$t("CHECKOUT_VAT")),1),s("div",Q,t(e.$t("CHECKOUT_PRICE")),1)])]),(a(!0),i(d,null,C(e.order.items,(n,u)=>(a(),i("div",{class:A(["item",[n.type,{expanded:c.itemVisibility[u],collapsed:!c.itemVisibility[u]}]]),key:u},[s("div",X,[s("button",{onClick:Le=>r.toggleExtendedInfo(u)},[c.itemVisibility[u]?o("",!0):(a(),_(E,{key:0,icon:"angleDown"})),c.itemVisibility[u]?(a(),_(E,{key:1,icon:"angleUp"})):o("",!0)],8,j)]),s("div",z,[s("div",J,[s("div",Z,[s("div",x,t(e.$filters.truncate(n.name,45)),1)]),n.price&&n.type==="merchandise"?(a(),i("div",ee,[s("span",se,t(e.$t("CHECKOUT_UNIT_PRICE")),1
1),s("span",te,t(r.formatCurrency(n.price)),1)])):o("",!0),s("div",ae,[s("span",null,t(r.formatCurrency(parseInt(n.price,10)*parseInt(n.count,10))),1)])]),s("div",ie,[n.price?(a(),i("span",ne,[s("span",oe,t(e.$t("CHECKOUT_VAT")),1),l(" "+t(r.percentage(n.vat_rate)),1)])):o("",!0)]),n.price&&n.type!=="merchandise"?(a(),i("div",re,[s("span",le,t(e.$t("CHECKOUT_UNIT_PRICE")),1),s("span",de,t(r.formatCurrency(n.price)),1)])):o("",!0),s("div",ce,[s("span",ue,t(e.$t("CHECKOUT_QUANTITY")),1),l(" "+t(n.count),1)])])],2))),128))]),s("div",_e,[s("div",pe,[s("div",me,[s("div",ye,[s("b",null,t(e.$t("CHECKOUT_SHIPPING_COSTS")),1)]),s("div",he,[s("span",ge,t(r.formatCurrency(e.order.shipping)),1)]),y[0]||(y[0]=s("div",{class:"actions"},null,-1))])])]),s("div",Ee,[s("div",ve,t(e.$t("CHECKOUT_TOTAL")),1),s("div",Ce,[s("span",Te,t(e.$t("CHECKOUT_TOTAL")),1),s("span",fe,t(r.formatCurrency(e.order.total)),1)])])]))]),e.order.items?(a(),i(d,{key:0},[v(P,{onPaymentId:r.setPaymentId,onExpressPayment:r.expressPayment,onApplePayPayment:r.applePayPayment,onGooglePayPayment:r.googlePayPayment,ref:"paymentTypes"},null,8,["onPaymentId","onExpressPayment","onApplePayPayment","onGooglePayPayment"]),e.userIsLoggedIn||e.isGuest||c.isExpress||c.isApplePay||c.isGooglePay?(a(),_(I,{key:0})):o("",!0),!e.userIsLoggedIn&&!e.isGuest&&e.order.items.length>0?(a(),i("div",Pe,[e.hasUserRegistration?(a(),i("div",Ie,[e.paypalExpress.id?(a(),i(d,{key:0},[l(t(e.$t("CHECKOUT_PAYPAL_EXPRESS_NOT_LOGGEDIN_MESSAGE")),1)],64)):(a(),i(d,{key:1},[l(t(e.$t("CHECKOUT_NOT_LOGGEDIN_MESSAGE")),1)],64))])):o("",!0),e.hasUserRegistration?(a(),_(g,{key:1,class:"loginLink",to:{name:"login",query:{returnTo:e.$route.fullPath}}},{default:m(()=>[l(t(e.$t("NAV_LOGIN")),1)]),_:1},8,["to"])):o("",!0),e.hasUserRegistration?(a(),_(g,{key:2,to:{name:"register",query:{returnTo:e.$route.fullPath,orderId:this.id}}},{default:m(()=>[l(t(e.$t("NAV_REGISTER")),1)]),_:1},8,["to"])):o("",!0),e.hasGuestRegistration?(a(),i(d,{key:3},[e.hasUserRegistration?(a(),i("div",Oe,[e.paypalExpress.id?(a(),i(d,{key:0},[l(t(e.$t("CHECKOUT_PAYPAL_EXPRESS_AS_GUEST_MESSAGE")),1)],64)):(a(),i(d,{key:1},[l(t(e.$t("CHECKOUT_AS_GUEST_MESSAGE")),1)],64))])):o("",!0),e.forceBillingForm?o("",!0):(a(),_(g,{key:1,to:{name:"guestRegister",query:{returnTo:e.$route.fullPath}},class:"checkoutAsGuestBtn"},{default:m(()=>[l(t(e.$t("CHECKOUT_AS_GUEST_BUTTON")),1)]),_:1},8,["to"]))],64)):o("",!0)])):o("",!0),!e.userIsLoggedIn&&e.paymentTypes.length!==0?(a(),i("div",Re,[l(t(e.$t("CHECKOUT_AVAILABLE_PAYMENTS_ON_LOGIN"))+" ",1),s("div",Ue,[(a(!0),i(d,null,C(e.paymentTypes,n=>(a(),i("div",{class:"paymentType",key:n.id},[s("span",null,t(n.name[e.language]),1),n.image?(a(),i("img",{key:0,class:"paymentLogo",src:r.paymentLogoURL(n.image)},null,8,ke)):o("",!0)]))),128))])])):o("",!0)],64)):o("",!0)],64)}const De=O(b,[["render",Ae],["__scopeId","data-v-17d18347"]]);export{De as default};
2//# sourceMappingURL=OrderReview-2gNIslw9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.