diff --git a/application/modules/invoices/models/Mdl_invoices_recurring.php b/application/modules/invoices/models/Mdl_invoices_recurring.php index 248262afa..f3b275237 100644 --- a/application/modules/invoices/models/Mdl_invoices_recurring.php +++ b/application/modules/invoices/models/Mdl_invoices_recurring.php @@ -52,6 +52,7 @@ public function default_select() { $this->db->select("SQL_CALC_FOUND_ROWS ip_invoices.*, ip_clients.client_name, + ip_clients.client_surname, ip_invoices_recurring.*, IF(recur_end_date > date(NOW()) OR recur_end_date = '0000-00-00', 'active', 'inactive') AS recur_status", false); } diff --git a/application/modules/invoices/views/index_recurring.php b/application/modules/invoices/views/index_recurring.php index f09fcdeab..2207a5221 100644 --- a/application/modules/invoices/views/index_recurring.php +++ b/application/modules/invoices/views/index_recurring.php @@ -44,7 +44,7 @@ - client_id, htmlsc($invoice->client_name)); ?> + client_id, format_client($invoice)); ?> recur_start_date); ?>