diff --git a/agent/invoice.php b/agent/invoice.php index 106b7765..15e3d609 100644 --- a/agent/invoice.php +++ b/agent/invoice.php @@ -163,7 +163,9 @@ if (isset($_GET['invoice_id'])) { //Product autocomplete $products_sql = mysqli_query($mysqli, " SELECT - product_name AS label, + CONCAT(product_code, ' - ', product_name) AS label, + product_name, + product_code, product_type AS type, product_description AS description, product_price AS price, @@ -747,12 +749,20 @@ require_once "../includes/footer.php";