mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Added last sent date to recurring invoices list
This commit is contained in:
parent
9aaf7bf05a
commit
258beba895
@ -32,6 +32,12 @@ class RecurringInvoiceDatatable extends EntityDatatable
|
|||||||
return Utils::fromSqlDate($model->start_date);
|
return Utils::fromSqlDate($model->start_date);
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'last_sent',
|
||||||
|
function ($model) {
|
||||||
|
return Utils::fromSqlDate($model->last_sent_date);
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'end_date',
|
'end_date',
|
||||||
function ($model) {
|
function ($model) {
|
||||||
|
@ -143,6 +143,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
'frequencies.name as frequency',
|
'frequencies.name as frequency',
|
||||||
'invoices.start_date',
|
'invoices.start_date',
|
||||||
'invoices.end_date',
|
'invoices.end_date',
|
||||||
|
'invoices.last_sent_date',
|
||||||
'contacts.first_name',
|
'contacts.first_name',
|
||||||
'contacts.last_name',
|
'contacts.last_name',
|
||||||
'contacts.email',
|
'contacts.email',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user