This commit is contained in:
denisdulici
2020-01-22 19:03:34 +03:00
parent 4ce5bc674d
commit bd71e2517f
29 changed files with 51 additions and 42 deletions

View File

@@ -57,7 +57,7 @@
$id = !empty($item->document_id) ? $item->document_id : $item->id;
$route = ($item->type == 'income') ? (!empty($item->document_id) ? 'invoices.show' : 'revenues.edit') : (!empty($item->document_id) ? 'bills.show' : 'payments.edit');
@endphp
<a href="{{ route($route, $id) }}" class="text-success">
<a href="{{ route($route, $id) }}">
@money($item->amount, $item->currency_code, true)
</a>
</td>