Exemplo n.º 1
0
 public function OverdueAssumptionCount()
 {
     return Assumption::where('owner', $this->id)->where('status', 'Open')->where('DueDate', '<', date("Y-m-d H:i:s"))->count();
 }