Fixed bug in reconciliations that prevented it from working in linux and other OSes
Fixes #578
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 ((basename($item->model) == 'Invoice') || (basename($item->model) == 'Revenue')) | ||||
|                                     @if (($item->model == 'App\Models\Income\Invoice') || ($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 ((basename($item->model) == 'Invoice') || (basename($item->model) == 'Revenue')) | ||||
|                             @if (($item->model == 'App\Models\Income\Invoice') || ($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