invoiceninja/routes/breadcrumbs.php
David Bomba bdb0f43d33
Modules, VueJS (#2552)
* Fix for comparing delete contacts change diffKeys to diff()

* Client create

* Client Settings

* Working on localization

* Refactor DataTables

* protyping blade vs pure vue

* Rebuild test module

* Generic notes module

* Small Client Notes Module

* Tests for TabMenu Trait

* implements tab pills in client screen

* Integrate Modules
2018-12-13 10:23:21 +11:00

22 lines
571 B
PHP

<?php
// Dashboard
Breadcrumbs::for('dashboard', function ($trail) {
$trail->push(trans('texts.dashboard'), route('dashboard.index'));
});
// Dashboard > Client
Breadcrumbs::for('clients', function ($trail) {
$trail->parent('dashboard');
$trail->push(trans('texts.clients'), route('clients.index'));
});
Breadcrumbs::for('clients.edit', function($trail, $client) {
$trail->parent('clients');
$trail->push($client->name, route('clients.edit', $client));
});
Breadcrumbs::for('clients.create', function($trail) {
$trail->parent('clients');
});