<%@ page import="com.fenalco.entities.User"%>
<%@ page import="com.fenalco.entities.DataAccess"%>
<%@ page import="com.fenalco.entities.ShopKeeper"%>
<%@ page import="com.fenalco.entities.Company"%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<html>
<head>
<link rel='stylesheet' style='text/css' href='../css/tablas.css'>
<title>Datos del Minorista</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <%
        ShopKeeper shopKeeper = (ShopKeeper)request.getAttribute("shopKeeper");
        Company company = (Company)request.getAttribute("company");
    %>
    <table width='400' border='0'>
        <tr><td colspan='4'align='center'>
        <%
            String tittle = "Información General";
        %>
        <%@ include file="/titulo.jsp" %>
        </td></tr>
        <tr align='left'>
            <td width='30%'><strong>Raz&oacute;n Social</td>
            <td colspan='3'><%=company.getSocialName()%></td>
        </tr>
            <td width='30%'><strong>Nombre Comercial</td>
            <td colspan='3'><%=company.getCommercialName()%></td>
        </tr>
        <tr align='left'>
            <td width='20%'><strong>Descripci&oacute;n</td>
            <td width='80%' colspan='3'><%=company.getDescription()%></td>
        </tr>
        <tr><td colspan='4'align='center'>
        <%
            tittle = "Información de Contacto";
        %>
        <%@ include file="/titulo.jsp" %>
        </td></tr>
        <tr align='left'>
            <td width='20%'><strong>Direcci&oacute;n</td>
            <td width='80%' colspan='3'><%=company.getAddress()%></td>
        </tr>
        <tr align='left'>
            <td width='20%'><strong>Email</td>
            <td width='80%' colspan='3'><%=company.getEmail()%></td>
        </tr>
        <tr align='left'>
            <td width='15%'><strong>Contacto 1</td>
            <td width='30%'><%=company.getContact1()%></td>
            <td width='15%'><strong>Contacto 2</td>
            <td width='30%'><%=company.getContact2()%></td>
        </tr>
        <tr align='left'>
            <td width='20%'><strong>Tel&eacute;fono 1</td>
            <td width='30%'><%=company.getPhoneNumber1()%></td>
            <td width='20%'><strong>Tel&eacute;fono 2</td>
            <td width='30%'><%=company.getPhoneNumber2()%></td>
        </tr>
        <tr align='left'>
            <td width='20%'><strong>Fax</td>
            <td width='30%'><%=company.getFax()%></td>
            <td width='20%'><strong>Ciudad</td>
            <td width='30%'><%=company.getCityName()%></td>
        </tr>
    </table>
</body>
</html>
