mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Working on recurring
This commit is contained in:
parent
484b28d3ce
commit
4fe1c29751
@ -53,7 +53,7 @@ class QueryLogging
|
||||
Log::info($request->method().' - '.$request->url().": $count queries - ".$time);
|
||||
|
||||
// if($count > 50)
|
||||
Log::info($queries);
|
||||
// Log::info($queries);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -392,13 +392,13 @@ class RecurringInvoice extends BaseModel
|
||||
{
|
||||
// we don't add the days... we calc the day of the month!!
|
||||
$next_due_date = $this->calculateDueDate($next_send_date->copy()->format('Y-m-d'));
|
||||
$next_due_date_string = $next_due_date ? $next_due_date->format('Y-m-d') : '';
|
||||
|
||||
$next_send_date = Carbon::parse($next_send_date);
|
||||
// $next_due_date = Carbon::parse($next_due_date);
|
||||
|
||||
$data[] = [
|
||||
'send_date' => $next_send_date->format('Y-m-d'),
|
||||
'due_date' => $next_due_date->format('Y-m-d'),
|
||||
'due_date' => $next_due_date_string
|
||||
];
|
||||
|
||||
$next_send_date = $this->nextDateByFrequency($next_send_date->format('Y-m-d'));
|
||||
|
Loading…
Reference in New Issue
Block a user