Fix issue in link.

This commit is contained in:
James Cole 2021-05-01 08:36:19 +02:00
parent 8ffe08bfb9
commit fae5cdae50
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -77,6 +77,10 @@ class IndexController extends Controller
*/
public function index(Request $request, string $objectType, Carbon $start = null, Carbon $end = null)
{
if('transfers' === $objectType) {
$objectType = 'transfer';
}
$subTitleIcon = config('firefly.transactionIconsByType.' . $objectType);
$types = config('firefly.transactionTypesByType.' . $objectType);
$page = (int)$request->get('page');