mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:57:30 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php namespace App\Models;
 | 
						|
 | 
						|
use Eloquent;
 | 
						|
 | 
						|
class Bank extends Eloquent
 | 
						|
{
 | 
						|
    public $timestamps = false;
 | 
						|
 | 
						|
    public function getOFXBank($finance)
 | 
						|
    {
 | 
						|
        $config = json_decode($this->config);
 | 
						|
 | 
						|
        return new \App\Libraries\Bank($finance, $config->fid, $config->url, $config->org);
 | 
						|
    }
 | 
						|
}
 |