update users

This commit is contained in:
2025-05-08 17:01:22 +05:00
parent e44d88cdb1
commit a941dbc0bb
10 changed files with 19 additions and 18 deletions

View File

@@ -4,12 +4,10 @@ namespace App\Nova\Actions;
use App\Models\Payment\OnlinePaymentHistory;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Http;
use Laravel\Nova\Actions\Action;
use Laravel\Nova\Actions\ActionResponse;
use Laravel\Nova\Fields\ActionFields;
use Laravel\Nova\Http\Requests\NovaRequest;
@@ -38,10 +36,10 @@ class CheckOnlinePaymentStatus extends Action
$item = $models->first();
$onlinePaymentResource = OnlinePaymentHistory::query()
->where('online_paymantable_type', $this->paymantable_type)
->where('online_paymantable_id', $item->id)
->latest()
->first();
->where('online_paymantable_type', $this->paymantable_type)
->where('online_paymantable_id', $item->id)
->latest()
->first();
if (! $onlinePaymentResource) {
return Action::modal('modal-response', [