Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

MerchandiseReturn - minor changes

DanielŻuławski252279b179d3
diff --git a/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml b/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
index 4f7faf248..765d8b42b 100644
--- a/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
+++ b/src/Web/Grand.Web/Views/MerchandiseReturn/MerchandiseReturn.cshtml
@@ -213,5 +213,13 @@
}
newAddress: false,
}),
+ created() {
+ @if (Model.ShowPickupAddress && !Model.ExistingAddresses.Any())
+ {
+ <text>
+ this.newAddress = true;
+ </text>
+ }
+ }
});
</script>
\ No newline at end of file