From b3744a50074f3d39f0c5c93e46af51b87aed4f3f Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Thu, 17 Oct 2024 14:09:11 +0700 Subject: [PATCH] fix Customer view to view tbl_payment_gateway --- system/controllers/customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/customers.php b/system/controllers/customers.php index f111fe0e..2b8b0987 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -282,7 +282,7 @@ switch ($action) { } if ($v == 'order') { $v = 'order'; - $query = ORM::for_table('tbl_transactions')->where('username', $customer['username'])->order_by_desc('id'); + $query = ORM::for_table('tbl_payment_gateway')->where('username', $customer['username'])->order_by_desc('id'); $order = Paginator::findMany($query); $ui->assign('order', $order); } else if ($v == 'activation') {