From 572a3dd71fae4ac2513c328582a8c6e21209fa16 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Mon, 14 Oct 2024 21:56:03 +0500 Subject: [PATCH] nova visa master --- app/Nova/Actions/MakePaymentNovaVisaMaster.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Nova/Actions/MakePaymentNovaVisaMaster.php b/app/Nova/Actions/MakePaymentNovaVisaMaster.php index 76069e5..7553f1a 100644 --- a/app/Nova/Actions/MakePaymentNovaVisaMaster.php +++ b/app/Nova/Actions/MakePaymentNovaVisaMaster.php @@ -4,6 +4,7 @@ namespace App\Nova\Actions; use App\Models\CurrencyRate; use App\Models\Payment\OnlinePaymentHistory; +use App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder; use App\Repos\Payment\OnlinePaymentRepo; use Illuminate\Bus\Queueable; use Illuminate\Queue\InteractsWithQueue; @@ -152,7 +153,7 @@ class MakePaymentNovaVisaMaster extends Action OnlinePaymentHistory::create([ 'online_paymantable_id' => $resource->id, - 'online_paymantable_type' => '\App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder', + 'online_paymantable_type' => VisaMasterPaymentOrder::class, 'amount' => number_format($amount, 2, '', ''), 'orderNumber' => $orderNumber, 'description' => 'Visa/Master tölegi',