new delivery report format

This commit is contained in:
redmatrix
2015-09-20 20:21:54 -07:00
parent efcb4abfd0
commit a679081993
2 changed files with 42 additions and 13 deletions

View File

@@ -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'];