(function (itxApp) { "use strict"; if (inditex.iFrontVersion === "17.0.2") { angular .module("itxApp.common") .factory("ItxTemplatesFixFct", ItxTemplatesFixFct); ItxTemplatesFixFct.$inject = ["$templateCache"]; /** * * @constructor */ function ItxTemplatesFixFct($templateCache) { return { fixTemplates: function (module) { switch (module) { case "common": $templateCache.put( "components/order/order-detail-addresses.tpl", '
We chat scan QR

{{ ::("global.shipping.address" | property) }}

{{itxOrderDetailAddressesCtrl.shippingAddress.addressLines[0]}}

{{itxOrderDetailAddressesCtrl.shippingAddress.addressLines[1]}}

{{itxOrderDetailAddressesCtrl.shippingAddress.addressLines[2]}}

{{itxOrderDetailAddressesCtrl.shippingAddress.zipCode}}, {{itxOrderDetailAddressesCtrl.shippingAddress.cityName}}

{{itxOrderDetailAddressesCtrl.shippingAddress.stateName}} - {{itxOrderDetailAddressesCtrl.shippingAddress.countryName}}

{{itxOrderDetailAddressesCtrl.shippingAddress.countryName}}

{{itxOrderDetailAddressesCtrl.shippingAddress.company.name}}

{{itxOrderDetailAddressesCtrl.shippingAddress.firstName}}{{itxOrderDetailAddressesCtrl.shippingAddress.middleName}} {{itxOrderDetailAddressesCtrl.shippingAddress.lastName}}

{{itxOrderDetailAddressesCtrl.shippingAddress.phones[0].countryCode}} {{itxOrderDetailAddressesCtrl.shippingAddress.phones[0].subscriberNumber}}

{{ ::("ItxOrderConfirmation.detail.physicalStore" | property) }}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.addressLines[0]}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.addressLines[1]}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.zipCode}}, {{itxOrderDetailAddressesCtrl.physicalStoreAddress.city}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.colony}} {{itxOrderDetailAddressesCtrl.physicalStoreAddress.municipality}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.state}} - {{itxOrderDetailAddressesCtrl.physicalStoreAddress.countryName}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.firstName}} {{itxOrderDetailAddressesCtrl.physicalStoreAddress.lastName}}

{{itxOrderDetailAddressesCtrl.physicalStoreAddress.phones[0]}}

{{ ::("global.billing.address" | property) }}

{{itxOrderDetailAddressesCtrl.billingAddress.addressLines[0]}}

{{itxOrderDetailAddressesCtrl.billingAddress.addressLines[1]}}

{{itxOrderDetailAddressesCtrl.billingAddress.addressLines[2]}}

{{itxOrderDetailAddressesCtrl.billingAddress.zipCode}}, {{itxOrderDetailAddressesCtrl.billingAddress.cityName}}

{{itxOrderDetailAddressesCtrl.billingAddress.stateName}} - {{itxOrderDetailAddressesCtrl.billingAddress.countryName}}

{{itxOrderDetailAddressesCtrl.billingAddress.countryName}}

{{itxOrderDetailAddressesCtrl.billingAddress.company.name}}

{{itxOrderDetailAddressesCtrl.billingAddress.firstName}} {{itxOrderDetailAddressesCtrl.billingAddress.middleName}} {{itxOrderDetailAddressesCtrl.billingAddress.lastName}}

{{itxOrderDetailAddressesCtrl.billingAddress.phones[0].countryCode}} {{itxOrderDetailAddressesCtrl.billingAddress.phones[0].subscriberNumber}}

{{itxOrderDetailAddressesCtrl.billingAddress.email}}

{{ ::("selectDDD.title" | property) }}

{{ ::(\'selectDDDDay.label\' | property) }}:

{{ ::(itxOrderDetailAddressesCtrl.dddInfo.rangeSelectedByUser ? (\'shipping.selectedShippingRange\' | property) : ((\'selectDDDRange.label\' | property) + \':\')) }}

{{ ::("ItxOrderDetail.delivery.info" | property) }}

{{ ::("ItxOrderDetail.delivery.expected" | property) }}:

{{ itxOrderDetailAddressesCtrl.order.deliveryInfoDate | date:$root.inditex.iXDateFormat }}

{{ ("suborder.shipment" | property:[$index + 1, itxOrderDetailAddressesCtrl.order.subordersNumber]) }}

{{ ::("ItxOrderDetail.delivery.expected" | property) }}:
{{subOrder.fechaEstimadaUTCMoment}}

{{itxOrderDetailAddressesCtrl.ItxOrderFactory.getTECState(trackingItem.subStatus)}}:
{{trackingItem.fechaActualizacionMoment}}
' ); $templateCache.put( "modals/message/message-ddd-modal.tpl", '

{{ ::(\'DDD_infoModal_String1\' | property) }}

-
' ); $templateCache.put( "components/return/return-transfer.tpl", '
{{ ::documentType.label }}
{{ ::("validate_required" | property) }}
{{ ::("invalidDocumentNumber" | property) }}
{{ ::(\'validate_required\' | property) }}
{{ ::bank.bankName }}
{{ ::("validate_required" | property) }}
{{ ::(\'validate_required\' | property) }}
{{ ::(\'isBankAccountValidForCODReturn\' | property) }}
{{accountType.property | property}}
{{ ::("validate_required" | property) }}
' ); break; case "giftlist": break; case "account": $templateCache.put( "account-new/purchases/order/online-store/order-list-summary.tpl", '
{{ ::("order.number" | property) }} {{itxOrderListSummaryCtrl.order.id }} {{ ::("ItxMyAccountReturnsPage.replacement" | property) }} {{itxOrderListSummaryCtrl.order.id }} -
{{ itxOrderListSummaryCtrl.lastTracking.fechaActualizacion | date:itxOrderListSummaryCtrl.dateFormat }}
{{ ::("ItxOrderDetail.delivery.expected" | property) }}: {{ itxOrderListSummaryCtrl.order.deliveryInfoDate | date:$root.inditex.iXDateFormat }}

{{ ::(\'selectDDDDay.label\' | property) }}:

{{ ::(itxOrderListSummaryCtrl.order.dddInfo.rangeSelectedByUser ? (\'shipping.selectedShippingRange\' | property) : ((\'selectDDDRange.label\' | property)+\':\')) }}

{{ itxOrderListSummaryCtrl.order.date | date:itxOrderListSummaryCtrl.dateFormat }} -
{{item.name}}
{{ ::("ItxMailMessageStockNotificationPage.button" | property) }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("ItxRepayment.introduce.data" | property) }}
{{ ::("ItxOrderRepaymentPage.changePaymentMethod" | property) }}{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("return.payment.data" | property) }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
' ); $templateCache.put( "account-new/purchases/order/online-store/detail/order-status.tpl", '
{{ ::("ItxOrderDetail.delivery.expected" | property) }}: {{ itxOrderStatusCtrl.order.deliveryInfoDate | date:$root.inditex.iXDateFormat }}

{{ ::(\'transportCompany\' | property) }}: {{itxOrderStatusCtrl.orderTracking.courier}}

{{ ::(\'trackingNumber\' | property) }}: {{itxOrderStatusCtrl.orderTracking.trackingNumber}}

{{ ::("locateOrder" | property) }}

{{ ::(\'selectDDD.title\' | property) }}

{{ ::(\'selectDDDDay.label\' | property) }}:

{{ ::(itxOrderStatusCtrl.order.dddInfo.rangeSelectedByUser ? (\'shipping.selectedShippingRange\' | property) : ((\'selectDDDRange.label\' | property)+\':\')) }}

{{itxOrderStatusCtrl.order.statusText}} {{ itxOrderStatusCtrl.ItxHelper.trimDate(itxOrderStatusCtrl.order.lastUpdate, true) | date:itxOrderStatusCtrl.dateFormat }}

{{ ::("account.purchases.detail.status.title" | property) }}.

{{ ::("account.purchases.detail.status.order.date" | property) }}: {{itxOrderStatusCtrl.order.date | date:$root.inditex.iXDateFormat}}

{{itxOrderStatusCtrl.order.id}}

{{ ::("BCT_SHIPPING" | property) }}: {{itxOrderStatusCtrl.order.shipping.name}}

{{ ::("account.purchases.detail.status.download.invoice" | property) }}
{{ ::("ItxOrderConfirmation.efactura.request" | property) }}
{{ ::("account.purchases.detail.status.eInvoiceCreated" | property) }}
Phone purchase {{ ::(\'ItxPhonePurchase.PHONE_PURCHASE\' | property) }}
{{ ::("Multibanco.info.title" | property) }}
{{ ::("Multibanco.info.reference" | property) }} {{ itxOrderStatusCtrl.order.multibancoInfo.reference }}
{{ ::("Multibanco.info.entity" | property) }} {{ itxOrderStatusCtrl.order.multibancoInfo.entity }}
{{ ::("Multibanco.info.amount" | property) }} {{ itxOrderStatusCtrl.order.multibancoInfo.amount }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("ItxRepayment.introduce.data" | property) }}
{{ ::("ItxOrderRepaymentPage.changePaymentMethod" | property) }}{{ ::("ItxOrderRepaymentPage.pay" | property) }}
{{ ::("return.payment.data" | property) }}
{{ ::("ItxOrderRepaymentPage.pay" | property) }}
' ); break; case "catalog": break; case "checkout": $templateCache.put( "shipping/checkout-shipping.tpl", '

{{ ::("ItxOrderShippingPage.envio.tipo.label" | property) }}

  • {{ shippingMethod.name }}: {{ ::("ItxPropertyGeneral.category.new" | property) }} {{ shippingMethod.minDayStr }} - {{ shippingMethod.maxDayStr }} {{ shippingMethod.maxDayStr }}

    {{ shippingMethod.description }}

{{ (\'ddd.indiferentDay\' | property) }}{{ day.dateTime | date:$root.inditex.iXDateFormat }}
{{ (\'ddd.notSpecified\' | property) }}{{ range.rangeDescription }}
' ); $templateCache.put( "addresses/checkout-addresses.tpl", '
{{ ::("global.shipping.address" | property) }}
{{ ::("global.billing.address" | property) }} {{ ::("global.shipping.address" | property) }}
{{ ::("address.sameBillingAddress" | property) }} {{ ::("ItxOrderShippingPage.envio.send.to.billing.address" | property) }}
' ); itxApp.checkout.ItxCheckoutCmpCtrl.prototype.updateShippingMethods = function (zipcode, countryCode) { var _this = this; if ( !_this.isVirtualOrder && _this.cart && (zipcode !== _this.shippingZipCode || (inditex.iCountryCode === "WW" && _this.shippingCountry && countryCode && _this.shippingCountry !== countryCode)) ) { _this.shippingZipCode = zipcode; _this.shippingCountry = countryCode; var oldShippingMethodsWithDDD = _.filter( _this.shippingMethods, function (shippingMethod) { return shippingMethod.isDDDAllowed; } ); _this .getShippingMethods( _this.cart.id, zipcode, _this.$rootScope.newShippingMethods, countryCode ) .then(function (shippingMethods) { var newShippingMethodsWithDDD = _.filter( shippingMethods, function (newShippingMethod) { return newShippingMethod.isDDDAllowed; } ); if ( (!oldShippingMethodsWithDDD || !oldShippingMethodsWithDDD.length) && newShippingMethodsWithDDD && newShippingMethodsWithDDD.length ) { _this.ItxModalFct.openModal( "modals/message/message-ddd-modal.tpl", { dddAvailableMethods: newShippingMethodsWithDDD, formatPrice: _this.ItxHelper.formatPrice, }, { clickOutsideToClose: true, }, function (data) {}, function () {} ); } if (_this.selectedShippingMethod) { var reloadedSelectedShippingMethod = _.find( shippingMethods, function (shipMethod) { return ( shipMethod.id === _this.selectedShippingMethod.id ); } ); if (reloadedSelectedShippingMethod) { _this.selectShippingMethod( reloadedSelectedShippingMethod ); } } _this.shippingMethods = shippingMethods; }); } //restricted Zip warning _this.restrictedZipcodeWarning = _this.checkRestrictedZipCode.test(zipcode) && inditex.iStoreJSON.details.zipcodeRestricted !== "" && inditex.iStoreJSON.details.postalCodeRestriction === "1" && _this.selectedShippingMethod && _this.selectedShippingMethod.kind !== "pickup"; if (_this.restrictedZipcodeWarning) { _this.ItxModalFct.showError({ message: inditex.text( "ItxOrderShippingPage.envio.restrictedZipCode" ), }); } }; break; case "confirmation": break; case "contact": break; case "giftcard": break; case "home": break; case "login": break; case "newsletter": break; case "returns": break; case "search": $templateCache.put( "search-filters/search-filters.tpl", '

{{itxSearchFiltersCtrl.results}} {{ ::("ItxCategoryPage.article.title" | property) }}

{{ ::("btn.show.upper.cased" | property) }} 2 4
' ); break; case "shopcart": break; case "shopguide": break; case "storeLocator": break; case "wishlist": break; case "worldwide": break; case "checkTools": break; case "ticketToInvoice": break; case "ticketless": } }, }; } /** Public */ itxApp.common.ItxTemplatesFixFct = ItxTemplatesFixFct; } })(window.itxApp);