<%@ page import="ro.emid.common.types.LocConsumOpen" %>
<%@ page import="ro.emid.common.constants.AppConstants" %>
<%@ page import="java.util.List" %>

<%
        /**
         * @see ro.emid.callcenter.i10n.action.ShowLocuriConsumByStreetAction
         */
    final List<LocConsumOpen> lcs = (List<LocConsumOpen>) request.getAttribute("result");
%>

<TABLE id="tableLocuriConsum" class="gSAPTHEAD" style="BACKGROUND-COLOR: white" width="100%" cellspacing="1" cellpadding="0">
    <thead>
        <TR noSelect="true">
            <TD class="gsapthead" >Numar</TD>
            <TD class="gsapthead" >NLC</TD>
            <TD class="gsapthead" >Client</TD>
        </TR>
    </thead>

    <tbody>
        <% if( lcs == null || lcs.size() == 0){%>
            <tr>
                <td colspan="5" noSelect="true">Nu exista date ...</td>
            </tr>
        <% }else for (final LocConsumOpen lc : lcs) { %>
            <tr valign="top">
                <td class="bordered-bottom"><%=AppConstants.format(lc.getNumar())%></td>
                <td class="bordered-bottom">&nbsp;<%=AppConstants.format(lc.getNlc())%>&nbsp;</td>
                <td class="bordered-bottom"><%=AppConstants.format(lc.getClient())%></td>
            </tr>
        <% } %>
    </tbody>
</TABLE>
