Fix client portal status sorting
This commit is contained in:
parent
d77b6794f2
commit
5f68a2ac00
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue