@@ -661,6 +661,7 @@ class RefundController extends BaseController
|
||||
|
||||
$payoutId = $this->refundPayoutModel->insert([
|
||||
'refund_id' => $refundId,
|
||||
'school_year' => (string)($lockedRefund['school_year'] ?? ''),
|
||||
'amount_cents' => $newPaidCents,
|
||||
'currency' => (string)($lockedRefund['currency'] ?? 'USD') ?: 'USD',
|
||||
'payout_type' => 'cash_out',
|
||||
@@ -830,6 +831,7 @@ class RefundController extends BaseController
|
||||
|
||||
$reversalId = $this->refundPayoutModel->insert([
|
||||
'refund_id' => $refundId,
|
||||
'school_year' => (string)($refund['school_year'] ?? ''),
|
||||
'amount_cents' => $reverseCents,
|
||||
'currency' => (string)($payout['currency'] ?? $refund['currency'] ?? 'USD') ?: 'USD',
|
||||
'payout_type' => 'reversal',
|
||||
|
||||
Reference in New Issue
Block a user