<% if (locals.showRouterSelector && locals.routers) { %>
<%
const curRouter = routers.find(r => String(locals.selectedRouterId || locals.activeRouterId || "") === String(r.id));
%>
<%= curRouter ? curRouter.name : t("admin.mikrotik.default_router", "-- Default / Semua Router --") %>
<% } else { %>
<% } %>
<% if (locals.showLiveUpdate) { %>
<%= t('admin.dashboard.live_update', 'Live Update') %>
<% } %>
<%= (typeof session !== 'undefined' && session && session.isCashier) ? t('admin.role.cashier', 'Kasir') : t('admin.role.admin', 'Admin') %>