mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Merge branch 'v5-develop' of https://github.com/turbo124/invoiceninja into v5-develop
This commit is contained in:
commit
0c671bae38
@ -441,6 +441,35 @@ class CheckData extends Command
|
||||
QuoteInvitation::where('deleted_at', "0000-00-00 00:00:00.000000")->withTrashed()->update(['deleted_at' => null]);
|
||||
CreditInvitation::where('deleted_at', "0000-00-00 00:00:00.000000")->withTrashed()->update(['deleted_at' => null]);
|
||||
|
||||
InvoiceInvitation::where('sent_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii){
|
||||
$ii->sent_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
InvoiceInvitation::where('viewed_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->viewed_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
|
||||
QuoteInvitation::where('sent_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->sent_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
QuoteInvitation::where('viewed_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->viewed_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
|
||||
CreditInvitation::where('sent_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->sent_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
CreditInvitation::where('viewed_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->viewed_date = null;
|
||||
$ii->saveQuietly();
|
||||
});
|
||||
|
||||
|
||||
|
||||
InvoiceInvitation::where('sent_date', '0000-00-00 00:00:00')->cursor()->each(function ($ii) {
|
||||
$ii->sent_date = null;
|
||||
$ii->saveQuietly();
|
||||
|
@ -283,6 +283,7 @@ Route::group(['middleware' => ['throttle:api', 'api_db', 'token_auth', 'locale']
|
||||
|
||||
Route::post('reports/clients', ClientReportController::class);
|
||||
Route::post('reports/activities', ActivityReportController::class);
|
||||
Route::post('reports/client_contacts', ClientContactReportController::class);
|
||||
Route::post('reports/contacts', ClientContactReportController::class);
|
||||
Route::post('reports/credits', CreditReportController::class);
|
||||
Route::post('reports/documents', DocumentReportController::class);
|
||||
|
Loading…
Reference in New Issue
Block a user