nova visa master

This commit is contained in:
nurmuhammet committed 2024-10-14 21:56:03 +05:00
1 parent 6a0b1ed714
commit 572a3dd71f
1 file changed
+2 -1
@@ -4,6 +4,7 @@
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 @@ public function order($resource, $amount)
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',