mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix client portal status sorting
This commit is contained in:
parent
d88a07e88d
commit
2d5d2cbb54
@ -327,7 +327,7 @@ class InvoiceRepository extends BaseRepository
|
||||
return $table->addColumn('due_date', function ($model) {
|
||||
return Utils::fromSqlDate($model->due_date);
|
||||
})
|
||||
->addColumn('status', function ($model) use ($entityType) {
|
||||
->addColumn('invoice_status_id', function ($model) use ($entityType) {
|
||||
if ($model->invoice_status_id == INVOICE_STATUS_PAID) {
|
||||
$label = trans('texts.status_paid');
|
||||
$class = 'success';
|
||||
|
Loading…
Reference in New Issue
Block a user