mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for preview
This commit is contained in:
parent
a6aff62286
commit
a32e1d11b6
@ -173,7 +173,7 @@ class PreviewController extends BaseController
|
||||
|
||||
MultiDB::setDb($company->db);
|
||||
|
||||
info("preview db = ".auth()->user()->company()->db);
|
||||
info("preview db = ".$company->db);
|
||||
|
||||
if($request->input('entity') == 'invoice'){
|
||||
$repo = new InvoiceRepository();
|
||||
|
Loading…
Reference in New Issue
Block a user