nova visa master
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Nova\Actions;
|
|||||||
|
|
||||||
use App\Models\CurrencyRate;
|
use App\Models\CurrencyRate;
|
||||||
use App\Models\Payment\OnlinePaymentHistory;
|
use App\Models\Payment\OnlinePaymentHistory;
|
||||||
|
use App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder;
|
||||||
use App\Repos\Payment\OnlinePaymentRepo;
|
use App\Repos\Payment\OnlinePaymentRepo;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
use Illuminate\Queue\InteractsWithQueue;
|
use Illuminate\Queue\InteractsWithQueue;
|
||||||
@@ -152,7 +153,7 @@ class MakePaymentNovaVisaMaster extends Action
|
|||||||
|
|
||||||
OnlinePaymentHistory::create([
|
OnlinePaymentHistory::create([
|
||||||
'online_paymantable_id' => $resource->id,
|
'online_paymantable_id' => $resource->id,
|
||||||
'online_paymantable_type' => '\App\Modules\VisaMasterPaymentOrder\Models\VisaMasterPaymentOrder',
|
'online_paymantable_type' => VisaMasterPaymentOrder::class,
|
||||||
'amount' => number_format($amount, 2, '', ''),
|
'amount' => number_format($amount, 2, '', ''),
|
||||||
'orderNumber' => $orderNumber,
|
'orderNumber' => $orderNumber,
|
||||||
'description' => 'Visa/Master tölegi',
|
'description' => 'Visa/Master tölegi',
|
||||||
|
|||||||
Reference in New Issue
Block a user