<?php // this Code is Cracked by dharunMods-YouTube-Channel namespace App\Http\Livewire\User\History; use App\Models\Settings; use App\Models\Tp_Transaction; use Illuminate\Support\Facades\Auth; use Livewire\Component; use Livewire\WithPagination; class OtherHistory extends Component { use WithPagination; protected $paginationTheme = 'bootstrap'; public function render() { $settings = Settings::select('theme')->find(1); return view("{$settings->theme}.livewire.user.history.other-history", [ 'others' => Tp_Transaction::where('user', Auth::user()->id)->where('type', '!=', 'ROI')->latest()->paginate(10), ]); } }