Fixes for preview

This commit is contained in:
David Bomba 2021-08-06 18:02:32 +10:00
parent 9d3867f818
commit e35709145a
2 changed files with 1 additions and 5 deletions

View File

@ -173,8 +173,6 @@ class PreviewController extends BaseController
MultiDB::setDb($company->db);
info("preview db = ".$company->db);
if($request->input('entity') == 'invoice'){
$repo = new InvoiceRepository();
$entity_obj = InvoiceFactory::create($company->id, auth()->user()->id);

View File

@ -54,9 +54,7 @@ class QueryLogging
// if($count > 150)
// nlog($queries);
info(print_r($queries,1));
$ip = '';
if(request()->header('Cf-Connecting-Ip'))