This commit is contained in:
nurmuhammet committed 2024-10-14 21:15:30 +05:00
1 parent c524bc8091
commit fa414ce5ed
6 files changed
+15 -18

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ public function payCardOrder(mixed $resource): array
];
}
$onlinePaymentHistory = new OnlinePaymentHistory();
$onlinePaymentHistory = new OnlinePaymentHistory;
$onlinePaymentHistory->online_paymantable_id = $resource->id;
$onlinePaymentHistory->online_paymantable_type = $resource::$model;
$onlinePaymentHistory->amount = $resource->priceAmount();