/**
  *	This function is for sending daily report/notification about the system
  * 	@return mail
  **/
 public function send_notification()
 {
     $email = Email::where('id', '=', '1')->first();
     if ($email->notification_cron == 1) {
         $notification = Log_notification::where('log', '=', 'NOT-1')->orderBy('id', 'DESC')->first();
         $date = explode(" ", $notification->created_at);
         if (Date('Y-m-d') == $date[0]) {
         } else {
             Log_notification::create(['log' => 'NOT-1']);
             $company = $this->company();
             $this->send_notification_to_admin($company);
             $this->send_notification_to_team_lead($company);
             $this->send_notification_to_manager($company);
             $this->send_notification_to_agent($company);
         }
     }
 }