mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
cf1e65f1c0
* Refactor pivot table accessors * Add select2 for client - country selector * Fixes for client contact update * implement ctrans() function across application * Increase custom fields to 4 across the application * Refactor: remove repos calling other repos, implement 4 custom values across application * include querying the custom values in the client list * Fix null custom value labels * Scaffold for client - show view * Working on Client Show
28 lines
733 B
PHP
28 lines
733 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.show', function($trail, $client) {
|
|
$trail->parent('clients');
|
|
$trail->push($client->name, route('clients.show', $client));
|
|
});
|
|
|
|
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');
|
|
});
|
|
|