__("Year to Date"), "start" => $dt_now->startOfYear(), "end" => $dt_now->endOfYear() ]; $ranges[] = [ "name" => __("This Month"), "start" => $dt_now->startOfMonth(), "end" => $dt_now->endOfMonth(), ]; $ranges[] = [ "name" => __("Last Month"), "start" => $dt_now->subMonthNoOverflow()->startOfMonth(), "end" => $dt_now->subMonthNoOverflow()->endOfMonth(), ]; View::includeOnce("header", compact("page_title")); View::include("overview", compact("page_title", "ranges")); View::includeOnce("footer");