1
0
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:
David Bomba 2021-08-05 22:41:28 +10:00
parent a6aff62286
commit a32e1d11b6

View File

@ -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();