diff --git a/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/text.blade.php b/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/text.blade.php
index 5fcb564bb..b184b6547 100644
--- a/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/text.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/components/form/control-group/controls/inline/text.blade.php
@@ -1,4 +1,11 @@
-
+@props([
+ 'allowEdit' => true,
+])
+
+
@@ -15,7 +22,7 @@
-
+
@{{ valueLabel ? valueLabel : inputValue.length > 20 ? inputValue.substring(0, 20) + '...' : inputValue }}
@@ -42,7 +49,7 @@ class="absolute bottom-0 mb-5 hidden flex-col group-hover:flex"
@{{ inputValue }}
-
+
diff --git a/packages/Webkul/Admin/src/Resources/views/contacts/persons/view/attributes.blade.php b/packages/Webkul/Admin/src/Resources/views/contacts/persons/view/attributes.blade.php
index 5a43445c3..0dc2a91ab 100644
--- a/packages/Webkul/Admin/src/Resources/views/contacts/persons/view/attributes.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/contacts/persons/view/attributes.blade.php
@@ -17,8 +17,8 @@
['code', 'NOTIN', ['name', 'jon_title']]
])"
:entity="$person"
- :allow-edit="true"
:url="route('admin.contacts.persons.update', $person->id)"
+ :allow-edit="true"
/>
diff --git a/packages/Webkul/Admin/src/Resources/views/leads/view/attributes.blade.php b/packages/Webkul/Admin/src/Resources/views/leads/view/attributes.blade.php
index 7d1fbc7a0..3c78d1aaa 100644
--- a/packages/Webkul/Admin/src/Resources/views/leads/view/attributes.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/leads/view/attributes.blade.php
@@ -26,6 +26,7 @@ class="icon-edit rounded-md p-1 text-2xl transition-all hover:bg-gray-100 dark:h
])"
:entity="$lead"
:url="route('admin.leads.attributes.update', $lead->id)"
+ :allow-edit="true"
/>
diff --git a/packages/Webkul/Admin/src/Resources/views/products/view/attributes.blade.php b/packages/Webkul/Admin/src/Resources/views/products/view/attributes.blade.php
index 44a25cebf..1906381dd 100644
--- a/packages/Webkul/Admin/src/Resources/views/products/view/attributes.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/products/view/attributes.blade.php
@@ -10,9 +10,9 @@
'entity_type' => 'products',
['code', 'IN', ['SKU', 'price', 'quantity', 'status']]
])->sortBy('sort_order')"
- :allow-edit="true"
:entity="$product"
:url="route('admin.products.update', $product->id)"
+ :allow-edit="true"
/>
diff --git a/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/contact-information.blade.php b/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/contact-information.blade.php
index e987789de..eb8f17d35 100644
--- a/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/contact-information.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/contact-information.blade.php
@@ -5,6 +5,7 @@
@lang('admin::app.settings.warehouses.view.contact-information.title')
+
'warehouses',
['code', 'IN', ['contact_name', 'contact_emails', 'contact_numbers', 'contact_address']]
])"
- :allow-edit="true"
:entity="$warehouse"
:url="route('admin.settings.warehouses.update', $warehouse->id)"
- />
+ :allow-edit="true"
+ />
diff --git a/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/general-information.blade.php b/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/general-information.blade.php
index 9cd030651..d392c5b8f 100644
--- a/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/general-information.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/settings/warehouses/view/general-information.blade.php
@@ -17,9 +17,9 @@
'entity_type' => 'warehouses',
['code', 'NOTIN', ['contact_name', 'contact_emails', 'contact_numbers', 'contact_address']]
])"
- :allow-edit="true"
:entity="$warehouse"
:url="route('admin.settings.warehouses.update', $warehouse->id)"
+ :allow-edit="true"
/>