Allow bread crumb for bills.

This commit is contained in:
James Cole 2019-08-03 08:33:05 +02:00
parent 12c1fa2367
commit b8b59b13a7
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -291,6 +291,10 @@ try {
$breadcrumbs->parent('transactions.show', $object->transactionGroup);
}
}
if ($object instanceof Bill) {
$breadcrumbs->parent('bills.show', $object);
}
$breadcrumbs->push(limitStringLength($attachment->filename), route('attachments.edit', [$attachment]));
}
);