1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Added last sent date to recurring invoices list

This commit is contained in:
Hillel Coren 2017-01-22 22:43:17 +02:00
parent 9aaf7bf05a
commit 258beba895
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,12 @@ class RecurringInvoiceDatatable extends EntityDatatable
return Utils::fromSqlDate($model->start_date);
}
],
[
'last_sent',
function ($model) {
return Utils::fromSqlDate($model->last_sent_date);
}
],
[
'end_date',
function ($model) {

View File

@ -143,6 +143,7 @@ class InvoiceRepository extends BaseRepository
'frequencies.name as frequency',
'invoices.start_date',
'invoices.end_date',
'invoices.last_sent_date',
'contacts.first_name',
'contacts.last_name',
'contacts.email',