mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 08:54:34 -04:00
Fix for refresh query
This commit is contained in:
parent
3fde3f4035
commit
ddaba5a953
@ -218,7 +218,7 @@ class BaseController extends Controller
|
||||
$query->whereNotNull('updated_at');
|
||||
},
|
||||
'company.credits'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents',);
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents');
|
||||
},
|
||||
'company.designs'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at)->with('company');
|
||||
@ -236,7 +236,7 @@ class BaseController extends Controller
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents');
|
||||
},
|
||||
'company.payments'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at)->with('paymentables','documents', );
|
||||
$query->where('updated_at', '>=', $updated_at)->with('paymentables','documents');
|
||||
},
|
||||
'company.payment_terms'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at);
|
||||
@ -248,7 +248,7 @@ class BaseController extends Controller
|
||||
$query->where('updated_at', '>=', $updated_at)->with('documents' );
|
||||
},
|
||||
'company.quotes'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents',);
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents');
|
||||
},
|
||||
'company.recurring_invoices'=> function ($query) use ($updated_at) {
|
||||
$query->where('updated_at', '>=', $updated_at)->with('invitations', 'documents');
|
||||
|
Loading…
x
Reference in New Issue
Block a user