Mails etc. in Lead finish
This commit is contained in:
parent
66ca252bfa
commit
b362b93bca
45 changed files with 1460 additions and 418 deletions
|
|
@ -3,6 +3,7 @@
|
|||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\BookingNotice;
|
||||
use App\Models\LeadNotice;
|
||||
use App\Models\SfGuardUser;
|
||||
use App\Models\TravelUserBookingFewoNotice;
|
||||
use App\User;
|
||||
|
|
@ -45,10 +46,14 @@ class HomeController extends Controller
|
|||
|
||||
$last_booking_notices = BookingNotice::orderBy('edit_at', 'DESC')->orderBy('created_at', 'DESC')->limit(10)->get();
|
||||
$last_booking_fewo_notices = TravelUserBookingFewoNotice::orderBy('edit_at', 'DESC')->orderBy('created_at', 'DESC')->limit(10)->get();
|
||||
$last_lead_notices = LeadNotice::orderBy('edit_at', 'DESC')->orderBy('created_at', 'DESC')->limit(10)->get();
|
||||
|
||||
|
||||
$data = [
|
||||
'user' => Auth::user(),
|
||||
'last_booking_notices' => $last_booking_notices,
|
||||
'last_booking_fewo_notices' => $last_booking_fewo_notices
|
||||
'last_booking_fewo_notices' => $last_booking_fewo_notices,
|
||||
'last_lead_notices' => $last_lead_notices
|
||||
];
|
||||
return view('home', $data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue