mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 05:47:34 -05:00 
			
		
		
		
	Swap balance & amount in invoices-table.blade.php
This commit is contained in:
		
							parent
							
								
									7c80e0de05
								
							
						
					
					
						commit
						a5fec384a8
					
				@ -45,13 +45,13 @@
 | 
				
			|||||||
                            </span>
 | 
					                            </span>
 | 
				
			||||||
                        </th>
 | 
					                        </th>
 | 
				
			||||||
                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
					                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
				
			||||||
                            <span role="button" wire:click="sortBy('balance')" class="cursor-pointer">
 | 
					                            <span role="button" wire:click="sortBy('amount')" class="cursor-pointer">
 | 
				
			||||||
                                {{ ctrans('texts.balance') }}
 | 
					                                {{ ctrans('texts.amount') }}
 | 
				
			||||||
                            </span>
 | 
					                            </span>
 | 
				
			||||||
                        </th>
 | 
					                        </th>
 | 
				
			||||||
                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
					                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
				
			||||||
                            <span role="button" wire:click="sortBy('amount')" class="cursor-pointer">
 | 
					                            <span role="button" wire:click="sortBy('balance')" class="cursor-pointer">
 | 
				
			||||||
                                {{ ctrans('texts.amount') }}
 | 
					                                {{ ctrans('texts.balance') }}
 | 
				
			||||||
                            </span>
 | 
					                            </span>
 | 
				
			||||||
                        </th>
 | 
					                        </th>
 | 
				
			||||||
                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
					                        <th class="px-6 py-3 text-xs font-medium leading-4 tracking-wider text-left text-white uppercase border-b border-gray-200 bg-primary">
 | 
				
			||||||
@ -82,10 +82,10 @@
 | 
				
			|||||||
                                {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }}
 | 
					                                {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }}
 | 
				
			||||||
                            </td>
 | 
					                            </td>
 | 
				
			||||||
                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
					                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
				
			||||||
                                {{ App\Utils\Number::formatMoney($invoice->balance, $invoice->client) }}
 | 
					                                {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }}
 | 
				
			||||||
                            </td>
 | 
					                            </td>
 | 
				
			||||||
                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
					                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
				
			||||||
                                {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }}
 | 
					                            {{ App\Utils\Number::formatMoney($invoice->balance, $invoice->client) }}
 | 
				
			||||||
                            </td>
 | 
					                            </td>
 | 
				
			||||||
                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
					                            <td class="px-6 py-4 text-sm leading-5 text-gray-500 whitespace-no-wrap">
 | 
				
			||||||
                                {{ $invoice->formatDate($invoice->due_date, $invoice->client->date_format()) }}
 | 
					                                {{ $invoice->formatDate($invoice->due_date, $invoice->client->date_format()) }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user