mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix sorting document list in client portal
This commit is contained in:
parent
89e4859cb1
commit
fd118f8f82
@ -215,10 +215,10 @@ class DocumentRepository extends BaseRepository
|
|||||||
['target' => '_blank']
|
['target' => '_blank']
|
||||||
)->toHtml();
|
)->toHtml();
|
||||||
})
|
})
|
||||||
->addColumn('document_date', function ($model) {
|
->addColumn('created_at', function ($model) {
|
||||||
return Utils::dateToString($model->created_at);
|
return Utils::dateToString($model->created_at);
|
||||||
})
|
})
|
||||||
->addColumn('document_size', function ($model) {
|
->addColumn('size', function ($model) {
|
||||||
return Form::human_filesize($model->size);
|
return Form::human_filesize($model->size);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user