Update source into github
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\frontend;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\CustomerLog;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class CustomerLogController extends Controller
|
||||
{
|
||||
//
|
||||
public function index()
|
||||
{
|
||||
$title = 'Quản lý nhật ký hoạt động';
|
||||
$logs = CustomerLog::where('customer_id',auth('users')->id())->paginate(15);
|
||||
|
||||
return view('frontend.logs',compact('title','logs'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user