mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:07:33 -05:00 
			
		
		
		
	Merge pull request #8254 from turbo124/v5-develop
fixes for light design
This commit is contained in:
		
						commit
						f06a6caa80
					
				@ -1 +1 @@
 | 
				
			|||||||
5.5.67
 | 
					5.5.68
 | 
				
			||||||
@ -359,7 +359,11 @@ 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) {
 | 
				
			||||||
            $billing_subscription = \App\Models\Subscription::find($this->decodePrimaryKey($this->payment_hash->data->billing_context->subscription_id));
 | 
					
 | 
				
			||||||
 | 
					            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));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // To access campaign hash => $this->payment_hash->data->billing_context->campaign;
 | 
					            // To access campaign hash => $this->payment_hash->data->billing_context->campaign;
 | 
				
			||||||
            // To access campaign data => Cache::get(CAMPAIGN_HASH)
 | 
					            // To access campaign data => Cache::get(CAMPAIGN_HASH)
 | 
				
			||||||
 | 
				
			|||||||
@ -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', ''),
 | 
				
			||||||
 | 
				
			|||||||
@ -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]>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user