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',