File "OtherHistory.php"
Full Path: /home/fundopuh/trader.fxex.org/app/Http/Livewire/User/History/OtherHistory.php
File size: 679 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 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),
]);
}
}