aboutsummaryrefslogtreecommitdiffstats
path: root/include/DReport.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-20 20:21:54 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-20 20:21:54 -0700
commita679081993945d409cf88b6442610ad5b3dbd8b5 (patch)
tree014403b144975b7fa2e6ea42b654309a08dccdb5 /include/DReport.php
parentefcb4abfd0ceb8155626a9d55016a92601a4780c (diff)
downloadvolse-hubzilla-a679081993945d409cf88b6442610ad5b3dbd8b5.tar.gz
volse-hubzilla-a679081993945d409cf88b6442610ad5b3dbd8b5.tar.bz2
volse-hubzilla-a679081993945d409cf88b6442610ad5b3dbd8b5.zip
new delivery report format
Diffstat (limited to 'include/DReport.php')
-rw-r--r--include/DReport.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/DReport.php b/include/DReport.php
index 6c7bf354a..ef86c8cbc 100644
--- a/include/DReport.php
+++ b/include/DReport.php
@@ -24,6 +24,15 @@ class DReport {
$this->date = datetime_convert();
}
+ function addto_recipient($name) {
+ $this->recipient = $this->recipient . ' ' . $name;
+ }
+
+ function addto_update($status) {
+ $this->status = $this->status . ' ' . $status;
+ }
+
+
function set($arr) {
$this->location = $arr['location'];
$this->sender = $arr['sender'];