addBreadcrumb("/customers", __("Customers")); $count = Customer::count(); $pagination = new Pagination($count); $pagination->setTerms(__("%s customer"), __("%s customers")); $customers = Customer::query([], [ "sort" => "name", "offset" => $pagination->getOffset(), "limit" => $pagination->getPageSize() ]); View::include("header"); View::include("customers", compact("customers", "pagination")); View::include("footer");