<?php

namespace App\Http\Controllers\Master;

use App\Http\Controllers\Controller;
use App\Models\SyncLog;
use Illuminate\View\View;

class NotaGlobalController extends Controller
{
    public function index(): View
    {
        return view('master.notas');
    }

    public function logs(): View
    {
        return view('master.logs', [
            'logs' => SyncLog::withoutGlobalScopes()
                ->with('company')
                ->latest()
                ->paginate(25),
        ]);
    }
}
