locations.php 349 B

12345678910111213141516
  1. <?php
  2. namespace App;
  3. $core = Core::getInstance();
  4. $core->addBreadcrumb("/locations", __("Locations"));
  5. $user = $core->getUser();
  6. $location_count = Location::count(["dts_deleted" => null]);
  7. $locations = Location::query([], ["sort" => "name"]);
  8. View::include("header");
  9. View::include("locations", compact("locations"));
  10. View::include("footer");