Fo ORder controller clone transaciton

This commit is contained in:
Jérémy Munsch 2023-03-30 11:16:01 +02:00
parent ae218ff416
commit 13f1868342
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -388,7 +388,7 @@ class OrderController extends Controller
Gate::authorize('isAvailable', [PaymentMode::class, $paymentMode]);
// * Get Transaction
$transaction = Transaction::getCurrentTransaction() ??
$transaction = clone Transaction::getCurrentTransaction() ??
Transaction::getNewInstance(
$paymentMode,
TransactionType::debit(),