nova visa master

This commit is contained in:
2024-10-14 21:56:03 +05:00
parent 6a0b1ed714
commit 572a3dd71f

View File

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