projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0004161: g/l inquiry person/item displays number instead of person. Fixed. Rerun.
[fa-stable.git]
/
taxes
/
db
/
item_tax_types_db.inc
diff --git
a/taxes/db/item_tax_types_db.inc
b/taxes/db/item_tax_types_db.inc
index 809f9f9ebe43e233f753c2c63be3ec7a18d64ef9..446a5dc7cb99ffe5839ccebe0f0929070206c1da 100644
(file)
--- a/
taxes/db/item_tax_types_db.inc
+++ b/
taxes/db/item_tax_types_db.inc
@@
-110,3
+110,8
@@
function get_item_tax_type_exemptions($id)
return db_query($sql, "could not get item tax type exemptions");
}
return db_query($sql, "could not get item tax type exemptions");
}
+function item_type_inactive($id)
+{
+ $type = get_item_tax_type($id);
+ return @$type['inactive'];
+}