File "RoiHistory.php"
Full Path: /home/fundopuh/trader.fxex.org/app/Http/Livewire/User/History/RoiHistory.php
File size: 670 bytes
MIME-type: text/x-php
Charset: utf-8
<?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 RoiHistory extends Component
{
use WithPagination;
protected $paginationTheme = 'bootstrap';
public function render()
{
$settings = Settings::select('theme')->find(1);
return view("{$settings->theme}.livewire.user.history.roi-history", [
'profits' => Tp_Transaction::where('user', Auth::user()->id)->where('type', 'ROI')->latest()->paginate(10),
]);
}
}