Prevent linking invoice to user account if foreign payment
This commit is contained in:
1 parent
2348663fd8
commit
51c4055c47
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class CreateInvoiceCommand {
|
||||
'type' => $this->request->invoiceType,
|
||||
'type_other' => $this->request->invoiceTypeExtended,
|
||||
'donation' => $this->request->isDonation,
|
||||
'user_id' => $this->request->userId,
|
||||
'user_id' => $this->request->paymentPurpose === null ? $this->request->userId : null,
|
||||
'contact_name' => $this->request->contactName,
|
||||
'contact_email' => $this->request->contactEmail,
|
||||
'contact_phone' => $this->request->contactPhone,
|
||||
|
||||
Reference in new issue
Block a user