addBreadcrumb("/locations", __("Locations")); $user = $core->getUser(); $count = Location::count(["dts_deleted" => null]); $pagination = new Pagination($count); $pagination->setTerms(__("%s location"), __("%s locations")); $locations = Location::query([], [ "sort" => "name", "offset" => $pagination->getOffset(), "limit" => $pagination->getPageSize() ]); View::include("header"); View::include("locations", compact("locations", "pagination")); View::include("footer");