1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00

Merge pull request #7389 from turbo124/v5-develop

v5.3.83
This commit is contained in:
David Bomba 2022-04-25 07:08:13 +10:00 committed by GitHub
commit b33637dc5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View File

@ -1 +1 @@
5.3.82
5.3.83

View File

@ -164,13 +164,13 @@ class AuthorizePaymentMethod
if ($contact) {
// Create the Bill To info for new payment type
$billto = new CustomerAddressType();
$billto->setFirstName(substr(0,50,$contact->present()->first_name()));
$billto->setLastName(substr(0,50,$contact->present()->last_name()));
$billto->setCompany(substr(0,50,$this->authorize->client->present()->name()));
$billto->setAddress(substr(0,60,$this->authorize->client->address1));
$billto->setCity(substr(0,40,$this->authorize->client->city));
$billto->setState(substr(0,40,$this->authorize->client->state));
$billto->setZip(substr(0,20,$this->authorize->client->postal_code));
$billto->setFirstName(substr($contact->present()->first_name(),0,50));
$billto->setLastName(substr($contact->present()->last_name(),0,50));
$billto->setCompany(substr($this->authorize->client->present()->name(),0,50));
$billto->setAddress(substr($this->authorize->client->address1,0,60));
$billto->setCity(substr($this->authorize->client->city,0,40));
$billto->setState(substr($this->authorize->client->state,0,40));
$billto->setZip(substr($this->authorize->client->postal_code,0,20));
if ($this->authorize->client->country_id) {
$billto->setCountry($this->authorize->client->country->name);

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.3.82',
'app_tag' => '5.3.82',
'app_version' => '5.3.83',
'app_tag' => '5.3.83',
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''),