File manager - Edit - /home/asiatechinc/public_html/bhrhotelsindia.com/modules/User/Models/Wallet/DepositPayment.php
Back
<?php namespace Modules\User\Models\Wallet; use App\User; use Illuminate\Support\Facades\Mail; use Modules\Booking\Models\Payment; use Modules\User\Emails\CreditPaymentEmail; class DepositPayment extends Payment { public function user(){ return $this->belongsTo(User::class,'object_id')->withDefault(); } public static function countPending(){ return parent::query()->where("object_model","wallet_deposit")->where("status",'processing')->count("id"); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings