|
@@ -10,10 +10,10 @@ Core::addBreadcrumb("/account/customers", "Customers");
|
|
|
Core::addBreadcrumb("/account/customers/$id", $page_title);
|
|
Core::addBreadcrumb("/account/customers/$id", $page_title);
|
|
|
|
|
|
|
|
$icons = [];
|
|
$icons = [];
|
|
|
-$icons[] = new AccountIcon(__("Projects"), "/account/projects/{$id}", "list");
|
|
|
|
|
-$icons[] = new AccountIcon(__("Locations"), "/account/locations/{$id}", "map-marker");
|
|
|
|
|
-$icons[] = new AccountIcon(__("Reports"), "/account/reports/{$id}", "chart-pie");
|
|
|
|
|
-$icons[] = new AccountIcon(__("Templates"), "/account/templates/{$id}", "file-alt");
|
|
|
|
|
|
|
+$icons[] = new AccountIcon(__("Projects"), "/account/projects?customer_id={$id}", "list");
|
|
|
|
|
+$icons[] = new AccountIcon(__("Locations"), "/account/locations?customer_id={$id}", "map-marker");
|
|
|
|
|
+$icons[] = new AccountIcon(__("Reports"), "/account/reports?customer_id={$id}", "chart-pie");
|
|
|
|
|
+$icons[] = new AccountIcon(__("Templates"), "/account/templates?customer_id={$id}", "file-alt");
|
|
|
|
|
|
|
|
View::includeOnce("header", compact("page_title"));
|
|
View::includeOnce("header", compact("page_title"));
|
|
|
View::include("customer", compact("customer", "icons"));
|
|
View::include("customer", compact("customer", "icons"));
|