projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea0f23
)
DataObjects/Cobmisc.php
author
Alan Knowles
<alan@roojs.com>
Mon, 6 Jul 2015 04:55:57 +0000
(12:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 6 Jul 2015 04:55:57 +0000
(12:55 +0800)
DataObjects/Cobmisc.php
patch
|
blob
|
history
diff --git
a/DataObjects/Cobmisc.php
b/DataObjects/Cobmisc.php
index
3ea1ab1
..
2dc4d90
100644
(file)
--- a/
DataObjects/Cobmisc.php
+++ b/
DataObjects/Cobmisc.php
@@
-74,8
+74,13
@@
class Pman_Xtuple_DataObjects_Cobmisc extends DB_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+ function toEventString()
+ {
+ $co = $this->cohead();
+ return "Sales Order Misc Item: " . $co->cohead_number . ' - ' . $this->cohead_id;
+ }
+
- $cmhead_number
public function cohead() {
if (func_num_args()) {