mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 06:04:34 -04: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);
|
MultiDB::setDb($company->db);
|
||||||
|
|
||||||
info("preview db = ".auth()->user()->company()->db);
|
info("preview db = ".$company->db);
|
||||||
|
|
||||||
if($request->input('entity') == 'invoice'){
|
if($request->input('entity') == 'invoice'){
|
||||||
$repo = new InvoiceRepository();
|
$repo = new InvoiceRepository();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user