Fixes for preview
This commit is contained in:
parent
9d3867f818
commit
e35709145a
2 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -54,9 +54,7 @@ class QueryLogging
|
|||
|
||||
// if($count > 150)
|
||||
// nlog($queries);
|
||||
|
||||
info(print_r($queries,1));
|
||||
|
||||
|
||||
$ip = '';
|
||||
|
||||
if(request()->header('Cf-Connecting-Ip'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue