From dc28298d53fe2e22a03edcf9ed016f99b1994294 Mon Sep 17 00:00:00 2001
From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com>
Date: Sat, 22 Mar 2025 15:51:36 +0100
Subject: [PATCH] feat: add username field to customer query

---
 system/controllers/message.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/system/controllers/message.php b/system/controllers/message.php
index b2df636d..078482a1 100644
--- a/system/controllers/message.php
+++ b/system/controllers/message.php
@@ -200,6 +200,7 @@ EOT;
                 ['tbl_customers.phonenumber', 'phonenumber'],
                 ['tbl_user_recharges.customer_id', 'customer_id'],
                 ['tbl_customers.fullname', 'fullname'],
+                ['tbl_customers.username','username'],
             ]);
             $customers = $query->find_array();
         } else {