wip
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Repos\Payment;
|
||||
|
||||
use App\Models\Branch\Branch;
|
||||
use App\Models\Order\Card\CardOrder;
|
||||
use App\Models\Payment\OnlinePaymentHistory;
|
||||
use App\Repos\Payment\Billing\HandlesBillingSyncing;
|
||||
use App\Repos\Payment\Card\HandlesCardOrderPayments;
|
||||
@@ -129,8 +130,8 @@ class OnlinePaymentRepo
|
||||
}
|
||||
|
||||
$onlinePaymentHistory = new OnlinePaymentHistory;
|
||||
$onlinePaymentHistory->online_paymantable_id = $resource->id;
|
||||
$onlinePaymentHistory->online_paymantable_type = $resource::$model;
|
||||
$onlinePaymentHistory->online_paymantable_id = $resource->really();
|
||||
$onlinePaymentHistory->online_paymantable_type = CardOrder::class;
|
||||
$onlinePaymentHistory->amount = $resource->priceAmount();
|
||||
$onlinePaymentHistory->orderNumber = $orderNumber;
|
||||
$onlinePaymentHistory->description = 'Kart tölegi';
|
||||
|
||||
Reference in New Issue
Block a user