feat(portal): lead module, WHMCS sync report/contacts/mapping, service lifecycle email templates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
3c7710f1de
commit
a443ec3bf6
@@ -42,7 +42,7 @@ class InvoiceTransformer
|
||||
return new InvoiceData(
|
||||
legacyId: $legacyId,
|
||||
invoiceNumber: $row['invoicenum'] ?: "WHMCS-{$legacyId}",
|
||||
customerId: $this->customers->resolve((int) $row['userid']),
|
||||
customerId: $this->customers->resolveFor('invoice', $row['invoicenum'] ?: $row['id'], (int) $row['userid']),
|
||||
orderId: $whmcsOrderId ? $this->orders->resolve($whmcsOrderId) : null,
|
||||
date: $this->nullableDate($row['date'] ?? null),
|
||||
subTotal: (int) round((float) $row['subtotal']),
|
||||
|
||||
Reference in New Issue
Block a user