|
@@ -62,9 +62,9 @@ class AbsenceReport extends Component
|
|
|
if (!in_array($member->member->id, $presences_annullate)) {
|
|
if (!in_array($member->member->id, $presences_annullate)) {
|
|
|
if (array_key_exists($member->member->id, $this->records)) {
|
|
if (array_key_exists($member->member->id, $this->records)) {
|
|
|
$this->records[$member->member->id]['total'] += 1;
|
|
$this->records[$member->member->id]['total'] += 1;
|
|
|
- $this->records[$member->member->id]['date'] .= " - " . date("d/m/Y", strtotime($calendar->from));
|
|
|
|
|
|
|
+ $this->records[$member->member->id]['date'] .= " - " . date("d/m", strtotime($calendar->from));
|
|
|
} else
|
|
} else
|
|
|
- $this->records[$member->member->id] = array("last_name" => $member->member->last_name, "first_name" => $member->member->first_name, "course" => $calendar->name, "total" => 1, "date" => date("d/m/Y", strtotime($calendar->from)));
|
|
|
|
|
|
|
+ $this->records[$member->member->id] = array("last_name" => $member->member->last_name, "first_name" => $member->member->first_name, "course" => $calendar->name, "total" => 1, "date" => date("d/m", strtotime($calendar->from)));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|