Register Child and Waitlist working

This commit is contained in:
Deon George
2014-10-22 22:22:47 +11:00
parent df7776931d
commit 48debfbd6c
21 changed files with 645 additions and 160 deletions

View File

@@ -13,7 +13,7 @@ class Model_Room_Dates extends ORM {
// @todo: Code A (availble) start/end dates cannot overlap with existing records - put in validation that it cannot be saved.
public function avail($day) {
return $this->{'d_'.$day};
return $this->{'d_'.$day} ? $this->{'d_'.$day} : 0;
}
}
?>