close #738 Fixed: Reconciliations listing incomes incorrectly
This commit is contained in:
		@@ -62,7 +62,7 @@
 | 
			
		||||
                                    <td>{{ Date::parse($item->paid_at)->format($date_format) }}</td>
 | 
			
		||||
                                    <td>{{ $item->description }}</td>
 | 
			
		||||
                                    <td>@if (!empty($item->contact)) {{ $item->contact->name }} @else {{ trans('general.na') }}@endif</td>
 | 
			
		||||
                                    @if (($item->model == 'App\Models\Income\Invoice') || ($item->model == 'App\Models\Income\Revenue'))
 | 
			
		||||
                                    @if (($item->model == 'App\Models\Income\InvoicePayment') || ($item->model == 'App\Models\Income\Revenue'))
 | 
			
		||||
                                    <td class="text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                    <td> </td>
 | 
			
		||||
                                    @else
 | 
			
		||||
 
 | 
			
		||||
@@ -41,7 +41,7 @@
 | 
			
		||||
                            <td>{{ Date::parse($item->paid_at)->format($date_format) }}</td>
 | 
			
		||||
                            <td>{{ $item->description }}</td>
 | 
			
		||||
                            <td>@if (!empty($item->contact)) {{ $item->contact->name }} @else {{ trans('general.na') }}@endif</td>
 | 
			
		||||
                            @if (($item->model == 'App\Models\Income\Invoice') || ($item->model == 'App\Models\Income\Revenue'))
 | 
			
		||||
                            @if (($item->model == 'App\Models\Income\InvoicePayment') || ($item->model == 'App\Models\Income\Revenue'))
 | 
			
		||||
                                <td class="text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                <td> </td>
 | 
			
		||||
                            @else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user