| Path : /var/www/html/backup/jewelry-pos/app/Widgets/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/backup/jewelry-pos/app/Widgets/Notifications.php |
<?php
// namespace App\Widgets;
// use Arrilot\Widgets\AbstractWidget;
// use App\Models\Deposit;
// use App\Models\Withdraw;
// use App\Models\Member;
// class Notifications extends AbstractWidget
// {
// public $reloadTimeout = 10;
// protected $deposit_count_;
// protected $withdraw_count_;
// protected $newMember_count_;
// public function run()
// {
// //Notify...
// $this->deposit_count_ = Deposit::where("status_id", 1)->count();
// $this->withdraw_count_ = Withdraw::where("status_id", 1)->count();
// $this->newMember_count_ = Member::where("is_new_member", true)->count();
// return view('widgets.notification', [
// 'config' => $this->config,
// 'deposit_count_' => $this->deposit_count_,
// 'withdraw_count_' => $this->withdraw_count_,
// 'newMember_count_' => $this->newMember_count_,
// ]);
// }
// }