fixed tests and bulk action export
This commit is contained in:
		@@ -32,6 +32,6 @@ class Transactions extends BulkAction
 | 
			
		||||
    {
 | 
			
		||||
        $selected = $this->getSelectedInput($request);
 | 
			
		||||
 | 
			
		||||
        return \Excel::download(new Export($selected), \Str::filename(trans_choice('general.transactions', 2)) . '.xlsx');
 | 
			
		||||
        return $this->exportExcel(new Export($selected), trans_choice('general.transactions', 2));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -41,6 +41,6 @@ class Transfers extends BulkAction
 | 
			
		||||
    {
 | 
			
		||||
        $selected = $this->getSelectedInput($request);
 | 
			
		||||
 | 
			
		||||
        return \Excel::download(new Export($selected), \Str::filename(trans_choice('general.transfers', 2)) . '.xlsx');
 | 
			
		||||
        return $this->exportExcel(new Export($selected), trans_choice('general.transfers', 2));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user