1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #6402 from turbo124/v5-develop

Fixes for preview
This commit is contained in:
David Bomba 2021-08-05 22:41:43 +10:00 committed by GitHub
commit 4efea9b995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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