Set sorting columns
This commit is contained in:
parent
f445c912f7
commit
4d4f4140b6
4 changed files with 4 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class ExpenseController extends BaseController
|
|||
return View::make('list', array(
|
||||
'entityType' => ENTITY_EXPENSE,
|
||||
'title' => trans('texts.expenses'),
|
||||
'sortCol' => '1',
|
||||
'sortCol' => '3',
|
||||
'columns' => Utils::trans([
|
||||
'checkbox',
|
||||
'vendor',
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ class InvoiceController extends BaseController
|
|||
$data = [
|
||||
'title' => trans('texts.invoices'),
|
||||
'entityType' => ENTITY_INVOICE,
|
||||
'sortCol' => '3',
|
||||
'columns' => Utils::trans([
|
||||
'checkbox',
|
||||
'invoice_number',
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ class PaymentController extends BaseController
|
|||
return View::make('list', array(
|
||||
'entityType' => ENTITY_PAYMENT,
|
||||
'title' => trans('texts.payments'),
|
||||
'sortCol' => '6',
|
||||
'columns' => Utils::trans([
|
||||
'checkbox',
|
||||
'invoice',
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ class QuoteController extends BaseController
|
|||
$data = [
|
||||
'title' => trans('texts.quotes'),
|
||||
'entityType' => ENTITY_QUOTE,
|
||||
'sortCol' => '3',
|
||||
'columns' => Utils::trans([
|
||||
'checkbox',
|
||||
'quote_number',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue