From 4c272e0e67a23a8a553cdb9eefea5d2d1db55ecb Mon Sep 17 00:00:00 2001 From: Subash Date: Fri, 22 Aug 2025 11:48:23 +0545 Subject: [PATCH] fix: Correct data attributes for first and last name fields in franchise index --- Modules/CCMS/resources/views/franchise/index.blade.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Modules/CCMS/resources/views/franchise/index.blade.php b/Modules/CCMS/resources/views/franchise/index.blade.php index 18a4159..cbb7cc8 100644 --- a/Modules/CCMS/resources/views/franchise/index.blade.php +++ b/Modules/CCMS/resources/views/franchise/index.blade.php @@ -17,15 +17,19 @@ 'searchable' => false, 'sortable' => false, ], - ['title' => 'First Name', 'data' => 'name', 'first_name' => 'first_name'], - ['title' => 'Last Name', 'data' => 'name', 'first_name' => 'first_name'], + ['title' => 'First Name', 'data' => 'first_name', 'name' => 'first_name'], + ['title' => 'Last Name', 'data' => 'last_name', 'name' => 'first_name'], ['title' => 'Email', 'data' => 'email', 'name' => 'email'], ['title' => 'Phone', 'data' => 'phone', 'name' => 'phone'], ['title' => 'Address', 'data' => 'address', 'name' => 'address'], ['title' => 'City', 'data' => 'city', 'name' => 'city'], ['title' => 'State', 'data' => 'state', 'name' => 'state'], ['title' => 'Invest Level', 'data' => 'invest_level', 'name' => 'invest_level'], - ['title' => 'Franchise Location', 'data' => 'franchise_location', 'name' => 'franchise_location'], + [ + 'title' => 'Franchise Location', + 'data' => 'franchise_location', + 'name' => 'franchise_location', + ], [ 'title' => 'Action', 'data' => 'action',