mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
commit
4efea9b995
@ -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…
Reference in New Issue
Block a user