Allow editing of booking texts
[infodrom.org/service.infodrom.org] / class / sales.class.php
index b5a535d..8dde7d8 100644 (file)
@@ -63,5 +63,10 @@ class Sales extends DatabaseTable {
     return $this->modify('paid', 0);
   }
 
     return $this->modify('paid', 0);
   }
 
+  public function ajaxEditDescription(Array $data)
+  {
+      return $this->modify('description', utf8_decode($data['content']));
+  }
+
 }
 
 }