Merge pull request #8254 from turbo124/v5-develop

fixes for light design
This commit is contained in:
David Bomba 2023-02-06 08:33:56 +11:00 committed by GitHub
commit f06a6caa80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 13 deletions

View File

@ -1 +1 @@
5.5.67 5.5.68

View File

@ -359,6 +359,10 @@ class BaseDriver extends AbstractPaymentDriver
event(new PaymentWasCreated($payment, $payment->company, Ninja::eventVars())); event(new PaymentWasCreated($payment, $payment->company, Ninja::eventVars()));
if (property_exists($this->payment_hash->data, 'billing_context') && $status == Payment::STATUS_COMPLETED) { if (property_exists($this->payment_hash->data, 'billing_context') && $status == Payment::STATUS_COMPLETED) {
if(is_int($this->payment_hash->data->billing_context->subscription_id))
$billing_subscription = \App\Models\Subscription::find($this->payment_hash->data->billing_context->subscription_id);
else
$billing_subscription = \App\Models\Subscription::find($this->decodePrimaryKey($this->payment_hash->data->billing_context->subscription_id)); $billing_subscription = \App\Models\Subscription::find($this->decodePrimaryKey($this->payment_hash->data->billing_context->subscription_id));
// To access campaign hash => $this->payment_hash->data->billing_context->campaign; // To access campaign hash => $this->payment_hash->data->billing_context->campaign;

View File

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

View File

@ -110,20 +110,14 @@
position: relative; position: relative;
} }
.doc_links { a.doc_links {
text-decoration: none;
padding-bottom: 10px; padding-bottom: 10px;
display: inline-block; display: inline-block;
}
a {
text-decoration: none;
color: inherit !important; color: inherit !important;
} }
</style> </style>
<!--[if gte mso 9]> <!--[if gte mso 9]>