|
|
@@ -1,12 +1,15 @@
|
|
|
<?php
|
|
|
|
|
|
-$page_title = "Locations";
|
|
|
+
|
|
|
+Core::addBreadcrumb("/account", "Account");
|
|
|
+Core::addBreadcrumb("/account/locations", "Locations");
|
|
|
|
|
|
$customer = Customer::getForAdmin();
|
|
|
if(!$customer) throw new Exception("You do not have permission to access this page.");
|
|
|
|
|
|
-Core::addBreadcrumb("/account", "Account");
|
|
|
-Core::addBreadcrumb("/account/locations", $page_title);
|
|
|
+$page_title = "$customer->name";
|
|
|
+
|
|
|
+Core::addBreadcrumb("/account/locations?customer_id=$customer->id", $page_title);
|
|
|
|
|
|
$locations = $customer->getLocations();
|
|
|
|