From 4dd97214eed76584a27ac819d97cf9dff43d80d5 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sat, 8 Nov 2008 22:19:12 +0000 Subject: [PATCH] Code cleanup. --- sales/inquiry/customer_allocation_inquiry.php | 11 +---------- sales/inquiry/customer_inquiry.php | 5 ----- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/sales/inquiry/customer_allocation_inquiry.php b/sales/inquiry/customer_allocation_inquiry.php index b82dda85..6d6d656f 100644 --- a/sales/inquiry/customer_allocation_inquiry.php +++ b/sales/inquiry/customer_allocation_inquiry.php @@ -188,17 +188,8 @@ function fmt_credit($row) ."trans.ov_freight + trans.ov_freight_tax + " ."trans.ov_discount) - trans.alloc,6) != 0) "; } - -// $sql .= " ORDER BY trans.tran_date"; - -/* -if (db_num_rows($result) == 0) -{ - display_note(_("The selected customer has no transactions for the given dates."), 1, 1); -} else { -*/ -// start_table("$table_style width='80%'"); //------------------------------------------------------------------------------------------------ + $cols = array( _("Type") => array('type'=>'spec', 'fun'=>'systype_name'), _("Number") => array('type'=>'spec', 'fun'=>'view_link'), diff --git a/sales/inquiry/customer_inquiry.php b/sales/inquiry/customer_inquiry.php index db516ee0..aa6dd6ce 100644 --- a/sales/inquiry/customer_inquiry.php +++ b/sales/inquiry/customer_inquiry.php @@ -146,11 +146,6 @@ function fmt_credit($row) return $value>0 ? price_format($value) : ''; } -function gl_link($row) -{ - return get_gl_view_str($row["type"], $row["trans_no"]); -} - function alloc_link($row) { if ($row['type'] == 10) -- 2.30.2