Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed currency status selected value
givanz97189f13b4a5
diff --git a/admin/template/localization/currency.tpl b/admin/template/localization/currency.tplold mode 100755new mode 100644index bb8787d..6cc7b8e--- a/admin/template/localization/currency.tpl+++ b/admin/template/localization/currency.tpl@@ -1,6 +1,6 @@import(crud.tpl, {"type":"currency"})-[data-v-currency] select[data-v-currency-*] option|addNewAttribute = <?php if (isset($this->currency) && isset($this->currency['status']) == '@@__value__@@') echo 'selected';?>+[data-v-currency] select[data-v-currency-*] option|addNewAttribute = <?php if (isset($this->currency['status']) && ($this->currency['status'] == '@@__value__@@')) echo 'selected';?>[data-v-currency] [data-v-image]|data-v-image = $this->currency['image_url']diff --git a/admin/template/product/product/points.tpl b/admin/template/product/product/points.tplold mode 100644new mode 100755index 4866d69..0b7a643--- a/admin/template/product/product/points.tpl+++ b/admin/template/product/product/points.tpl@@ -14,7 +14,7 @@ foreach ($this->product['product_points'] as $product_points_id => $points) {@product-points [data-v-user_group_id]|name = <?php echo "product_points[$product_points_id][user_group_id]";?>- [data-v-product] [data-v-product-points] [data-v-user_group_id]|before = <?php+ @product-points [data-v-user_group_id]|before = <?php$name = 'user_group';$selected = $points['user_group_id'] ?? 1;?>diff --git a/admin/template/settings/order-statuses.tpl b/admin/template/settings/order-statuses.tplindex 77e717f..47ae20a 100755--- a/admin/template/settings/order-statuses.tpl+++ b/admin/template/settings/order-statuses.tpl@@ -1,3 +1,2 @@import(listing.tpl, {"type":"order_status", "list": "order_status"})-import(filters.tpl)\ No newline at end of file