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
@@ -18,7 +18,7 @@ class OrderTransformer
|
||||
return new OrderData(
|
||||
legacyId: (int) $row['id'],
|
||||
orderNum: (string) $row['ordernum'],
|
||||
customerId: $this->customers->resolve((int) $row['userid']),
|
||||
customerId: $this->customers->resolveFor('order', $row['ordernum'] ?? $row['id'], (int) $row['userid']),
|
||||
date: $this->nullableDate($row['date'] ?? null),
|
||||
total: (int) round((float) $row['amount']),
|
||||
status: $this->mapStatus($row['status']),
|
||||
|
||||
Reference in New Issue
Block a user