20 lines
447 B
PHP
20 lines
447 B
PHP
<?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'));
|
|
}
|
|
}
|