mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:44:33 -04:00
Fix eWay first/last name reversed in saved cards
This commit is contained in:
parent
83d3210bda
commit
c905e4a5b6
@ -63,8 +63,8 @@ class CreditCard
|
|||||||
$transaction = [
|
$transaction = [
|
||||||
'Reference' => $this->eway_driver->client->number,
|
'Reference' => $this->eway_driver->client->number,
|
||||||
'Title' => '',
|
'Title' => '',
|
||||||
'FirstName' => $this->eway_driver->client->contacts()->first()->present()->last_name(),
|
'FirstName' => $this->eway_driver->client->contacts()->first()->present()->first_name(),
|
||||||
'LastName' => $this->eway_driver->client->contacts()->first()->present()->first_name(),
|
'LastName' => $this->eway_driver->client->contacts()->first()->present()->last_name(),
|
||||||
'CompanyName' => $this->eway_driver->client->name,
|
'CompanyName' => $this->eway_driver->client->name,
|
||||||
'Street1' => $this->eway_driver->client->address1,
|
'Street1' => $this->eway_driver->client->address1,
|
||||||
'Street2' => $this->eway_driver->client->address2,
|
'Street2' => $this->eway_driver->client->address2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user