From a679081993945d409cf88b6442610ad5b3dbd8b5 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 20 Sep 2015 20:21:54 -0700 Subject: new delivery report format --- include/DReport.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/DReport.php') 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']; -- cgit v1.2.3