mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:57:33 -05:00 
			
		
		
		
	Merge pull request #775 from joshuadwire/invoice-sort-date
Sort by date for expenses, payments, quotes and invoices
This commit is contained in:
		
						commit
						1eab8da671
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user