Пример #1
0
 public function birthdays(Driver $drivers)
 {
     $drivers->birthdaysToday = $drivers->getBirthdaysToday();
     $drivers->birthdaysThisMonth = $drivers->getBirthdaysThisMonth();
     $drivers->birthdaysNextMonth = $drivers->getBirthdaysNextMonth();
     return view('drivers.birthdays', compact('drivers'));
 }