update users

This commit is contained in:
nurmuhammet committed 2025-05-08 17:01:22 +05:00
1 parent e44d88cdb1
commit a941dbc0bb
10 files changed
+19 -18

No files matched your search

@@ -4,12 +4,10 @@
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 @@ public function handle(ActionFields $fields, Collection $models)
$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', [