1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
This commit is contained in:
Hillel Coren 2016-12-20 15:09:41 +02:00
parent 6c30a603f6
commit 312e8e8e48

View File

@ -99,6 +99,11 @@ class ClientPortalController extends BaseController
'phone', 'phone',
]); ]);
// translate the client country name
if ($invoice->client->country) {
$invoice->client->country->name = trans('texts.country_' . $invoice->client->country->name);
}
$data = []; $data = [];
$paymentTypes = $this->getPaymentTypes($account, $client, $invitation); $paymentTypes = $this->getPaymentTypes($account, $client, $invitation);
$paymentURL = ''; $paymentURL = '';