mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 02:37:34 -05:00 
			
		
		
		
	Content images
This commit is contained in:
		
							parent
							
								
									e3d9bd15e2
								
							
						
					
					
						commit
						07fdf3bc53
					
				@ -1 +1 @@
 | 
				
			|||||||
5.3.32
 | 
					5.3.33
 | 
				
			||||||
@ -346,7 +346,8 @@ class BaseController extends Controller
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            'company.subscriptions'=> function ($query) use($updated_at, $user) {
 | 
					            'company.subscriptions'=> function ($query) use($updated_at, $user) {
 | 
				
			||||||
              $query->where('updated_at', '>=', $updated_at);
 | 
					              // $query->where('updated_at', '>=', $updated_at);
 | 
				
			||||||
 | 
					                $query->whereNotNull('updated_at');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
              if(!$user->isAdmin())
 | 
					              if(!$user->isAdmin())
 | 
				
			||||||
                  $query->where('subscriptions.user_id', $user->id);
 | 
					                  $query->where('subscriptions.user_id', $user->id);
 | 
				
			||||||
 | 
				
			|||||||
@ -345,14 +345,6 @@ class BillingPortalPurchase extends Component
 | 
				
			|||||||
            'quantity' => $this->quantity,
 | 
					            'quantity' => $this->quantity,
 | 
				
			||||||
        ];
 | 
					        ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $this->invoice = $this->subscription
 | 
					 | 
				
			||||||
            ->service()
 | 
					 | 
				
			||||||
            ->createInvoice($data)
 | 
					 | 
				
			||||||
            ->service()
 | 
					 | 
				
			||||||
            ->markSent()
 | 
					 | 
				
			||||||
            ->fillDefaults()
 | 
					 | 
				
			||||||
            ->save();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        $is_eligible = $this->subscription->service()->isEligible($this->contact);
 | 
					        $is_eligible = $this->subscription->service()->isEligible($this->contact);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (is_array($is_eligible) && $is_eligible['message'] != 'Success') {
 | 
					        if (is_array($is_eligible) && $is_eligible['message'] != 'Success') {
 | 
				
			||||||
@ -363,6 +355,14 @@ class BillingPortalPurchase extends Component
 | 
				
			|||||||
            return;
 | 
					            return;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        $this->invoice = $this->subscription
 | 
				
			||||||
 | 
					            ->service()
 | 
				
			||||||
 | 
					            ->createInvoice($data)
 | 
				
			||||||
 | 
					            ->service()
 | 
				
			||||||
 | 
					            ->markSent()
 | 
				
			||||||
 | 
					            ->fillDefaults()
 | 
				
			||||||
 | 
					            ->save();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Cache::put($this->hash, [
 | 
					        Cache::put($this->hash, [
 | 
				
			||||||
            'subscription_id' => $this->subscription->id,
 | 
					            'subscription_id' => $this->subscription->id,
 | 
				
			||||||
            'email' => $this->email ?? $this->contact->email,
 | 
					            'email' => $this->email ?? $this->contact->email,
 | 
				
			||||||
 | 
				
			|||||||
@ -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.3.32',
 | 
					    'app_version' => '5.3.33',
 | 
				
			||||||
    'app_tag' => '5.3.32',
 | 
					    'app_tag' => '5.3.33',
 | 
				
			||||||
    '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', ''),
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1
									
								
								public/images/welcome/email.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								public/images/welcome/email.svg
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="visible" preserveAspectRatio="none" viewBox="0 0 35 28" width="35" height="28"><g transform="translate(0, 0)"><g transform="translate(-6.938893903907228e-17, 0) rotate(0)"><path d="M31.5,0h-28c-1.925,0 -3.4825,1.575 -3.4825,3.5l-0.0175,21c0,1.925 1.575,3.5 3.5,3.5h28c1.925,0 3.5,-1.575 3.5,-3.5v-21c0,-1.925 -1.575,-3.5 -3.5,-3.5zM31.5,7l-14,8.75l-14,-8.75v-3.5l14,8.75l14,-8.75z" style="stroke-width: 0; stroke-linecap: butt; stroke-linejoin: miter; fill: rgb(18, 18, 18);" vector-effect="non-scaling-stroke"/></g><defs><path id="path-1637627912051353" d="M31.5,0h-28c-1.925,0 -3.4825,1.575 -3.4825,3.5l-0.0175,21c0,1.925 1.575,3.5 3.5,3.5h28c1.925,0 3.5,-1.575 3.5,-3.5v-21c0,-1.925 -1.575,-3.5 -3.5,-3.5zM31.5,7l-14,8.75l-14,-8.75v-3.5l14,8.75l14,-8.75z" vector-effect="non-scaling-stroke"/></defs></g></svg>
 | 
				
			||||||
| 
		 After Width: | Height: | Size: 919 B  | 
							
								
								
									
										
											BIN
										
									
								
								public/images/welcome/gateways.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/images/welcome/gateways.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 196 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								public/images/welcome/money_logo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/images/welcome/money_logo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 12 KiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user