2018-10-17 14:26:27 +02:00
|
|
|
<?php
|
|
|
|
|
2018-10-29 04:16:17 +01:00
|
|
|
// Dashboard
|
2018-10-17 14:26:27 +02:00
|
|
|
Breadcrumbs::for('dashboard', function ($trail) {
|
2018-11-02 11:54:46 +01:00
|
|
|
$trail->push(trans('texts.dashboard'), route('dashboard.index'));
|
2018-10-29 04:16:17 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
// Dashboard > Client
|
|
|
|
Breadcrumbs::for('clients', function ($trail) {
|
|
|
|
$trail->parent('dashboard');
|
|
|
|
$trail->push(trans('texts.clients'), route('clients.index'));
|
2018-11-07 06:22:36 +01:00
|
|
|
});
|
|
|
|
|
2019-01-25 11:47:23 +01:00
|
|
|
Breadcrumbs::for('clients.show', function($trail, $client) {
|
|
|
|
$trail->parent('clients');
|
|
|
|
$trail->push($client->name, route('clients.show', $client));
|
|
|
|
});
|
|
|
|
|
2018-11-07 06:22:36 +01:00
|
|
|
Breadcrumbs::for('clients.edit', function($trail, $client) {
|
|
|
|
$trail->parent('clients');
|
|
|
|
$trail->push($client->name, route('clients.edit', $client));
|
|
|
|
});
|
2018-12-02 11:42:06 +01:00
|
|
|
|
|
|
|
Breadcrumbs::for('clients.create', function($trail) {
|
|
|
|
$trail->parent('clients');
|
|
|
|
});
|
2018-12-13 00:23:21 +01:00
|
|
|
|