Missing action header on datatables

This commit is contained in:
rafael.sisweb 2015-11-24 06:59:30 -05:00
parent a86ba6ed36
commit 5888fdf12a
5 changed files with 39 additions and 5 deletions

View File

@ -52,7 +52,16 @@ class ClientController extends BaseController
'entityType' => ENTITY_CLIENT,
'title' => trans('texts.clients'),
'sortCol' => '4',
'columns' => Utils::trans(['checkbox', 'client', 'contact', 'email', 'date_created', 'last_login', 'balance', '']),
'columns' => Utils::trans([
'checkbox',
'client',
'contact',
'email',
'date_created',
'last_login',
'balance',
'action'
]),
));
}

View File

@ -37,7 +37,15 @@ class CreditController extends BaseController
'entityType' => ENTITY_CREDIT,
'title' => trans('texts.credits'),
'sortCol' => '4',
'columns' => Utils::trans(['checkbox', 'client', 'credit_amount', 'credit_balance', 'credit_date', 'private_notes', '']),
'columns' => Utils::trans([
'checkbox',
'client',
'credit_amount',
'credit_balance',
'credit_date',
'private_notes',
'action'
]),
));
}

View File

@ -69,7 +69,7 @@ class InvoiceController extends BaseController
'balance_due',
'due_date',
'status',
''
'action'
]),
];

View File

@ -46,7 +46,16 @@ class PaymentController extends BaseController
return View::make('list', array(
'entityType' => ENTITY_PAYMENT,
'title' => trans('texts.payments'),
'columns' => Utils::trans(['checkbox', 'invoice', 'client', 'transaction_reference', 'method', 'payment_amount', 'payment_date', '']),
'columns' => Utils::trans([
'checkbox',
'invoice',
'client',
'transaction_reference',
'method',
'payment_amount',
'payment_date',
'action'
]),
));
}

View File

@ -43,7 +43,15 @@ class TaskController extends BaseController
'entityType' => ENTITY_TASK,
'title' => trans('texts.tasks'),
'sortCol' => '2',
'columns' => Utils::trans(['checkbox', 'client', 'date', 'duration', 'description', 'status', '']),
'columns' => Utils::trans([
'checkbox',
'client',
'date',
'duration',
'description',
'status',
'action'
]),
));
}