<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/SIG/Site.Master" CodeBehind="frm_concilizacionCL.aspx.vb" Inherits="SGHweb.frm_concilizacionCL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/noty/jquery.noty.js"></script>
    <script type="text/javascript" src="../Scripts/noty/layouts/center.js"></script>
    <script type="text/javascript" src="../Scripts/noty/themes/default.js"></script>
    <script type="text/javascript" src="../Scripts/noty/layouts/bottom.js"></script>

<script language="javascript" type="text/javascript">
    function generate(type, texto) {
        var n = noty({
            text: texto,
            type: 'alert',
            dismissQueue: true,
            modal: true,
            layout: 'center',
            theme: 'defaultTheme'
        });
        console.log('html: ' + n.options.id);
        return n;
    }

    function envioMailClave(idemp, mailV) {
        var notificacion = generate('Consolidando <br><img src="../Scripts/noty/ajax-loader.gif" />');
        setTimeout(function () {
            $.noty.setText(notificacion.options.id, 'Consolidando <br><img src="../Scripts/noty/ajax-loader.gif" />');
        }, 0000);
    }

    function generate_acceso(type, texto) {
        var n = noty({
            text: texto,
            type: 'alert',
            dismissQueue: true,
            modal: true,
            layout: 'center',
            theme: 'defaultTheme',
            buttons: [
                { addClass: 'btn btn-danger', text: 'Ok', onClick: function ($noty) {
                    $noty.close();
                    //window.location = 'Default.aspx';
                }
                },
              ]
        });
        console.log('html: ' + n.options.id);
        return n;
    }

    function loadpageInit(idSesion) {
        var notificacion = generate_acceso('Descargando Reporte <br><img src="../Scripts/noty/ajax-loader.gif" />');
        setTimeout(function () {
            $.noty.setText(notificacion.options.id, 'Se Consolidaron los datos.');
        }, 0000);
    }

    function cerrarmodal() {
        $.noty.closeAll();

    }

    function corporativoB1_onclick() {
        envioMailClave();
        $find("<%= RadAjaxManager1.ClientID%>").ajaxRequest("corporativoB");
        return false;
    }

    function chiclayoB1_onclick() {
        envioMailClave();
        $find("<%= RadAjaxManager1.ClientID%>").ajaxRequest("chiclayoB");
        return false;
    }

    function tumbesB1_onclick() {
        envioMailClave();
        $find("<%= RadAjaxManager1.ClientID%>").ajaxRequest("tumbesB");
        return false;
    }

    function casinoB1_onclick() {
        envioMailClave();
        $find("<%= RadAjaxManager1.ClientID%>").ajaxRequest("casinoB");
        return false;
    }

</script>

<style type="text/css">
        .divResponsables {
	        border:1px solid #8db2e3;
	        margin:0.7em;
	        padding:0.2em;
	        font-size:1em;
	        overflow:hidden;
	        width:50%;
	        text-align:center;
        }
        .small.button, .small.button:visited {
            font-size: 12px ;
            }

            /* botones extra grandes */
        .super.button, .super.button:visited {
        font-size: 34px;
        padding: 8px 14px 9px;
        }

        .blue.button, .blue.button:visited { background-color: #3c7fb1;
        top: 0px;
        left: 0px;
        width: 200px;
        height: 35px
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div style=" width: 100%; height: 55px; ">
    &nbsp; &nbsp; &nbsp; &nbsp;
    <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Names="Times New Roman"
        Font-Size="16pt" Text=" CONSOLIDACION DE SEDES :: Costa Del Sol ">
    </asp:Label>&nbsp;
    <br />
    &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
    <asp:Label ID="Label4" runat="server" Font-Bold="False" Font-Names="Arial" Font-Size="10pt"
        Text="Consolidacion para el registro de ventas referencia a los libros electronicos - PLE."
        Width="600px">
    </asp:Label>
</div>

<center>
<dt class="divResponsables">
    <table width="100%" border="0px">
        <tr>
            <td style=" text-align:right; width:20%">
                <b>Desde :  
            </b>  
            </td>
            <td style=" text-align:left; width:30%">
                <telerik:RadDatePicker ID="desdeRDP" runat="server" Width="100px" Skin="Windows7">
                </telerik:RadDatePicker>
            </td>
            <td style=" text-align:right; width:20%">
                <b>Hasta :  
            </b>  
            </td>
            <td style=" text-align:left; width:30%">
                <telerik:RadDatePicker ID="hastaRDP" runat="server" Width="100px" Skin="Windows7">
                </telerik:RadDatePicker>
            </td>
        </tr>
    </table>
</dt>
<%--<asp:Panel ID="Panel1" runat="server">
    <dt class="divResponsables">
        <table width="100%" border="0px">
            <tr>
                <td style=" text-align:right; width:100%; text-align:center">
                    <asp:Button ID="conciliaSedesB" runat="server" Text="Conciliar Sedes" Width="150px" Height="30px" />
                </td>
            </tr>
        </table>
    </dt>
</asp:Panel>--%>
<asp:Panel ID="Panel2" runat="server">
    <dt class="divResponsables">
        <table width="100%" border="0px">
            <tr>
                <td style=" text-align:right; width:50%; text-align:center">
                    <%--<asp:Button ID="corporativoB" runat="server"  class="button small blue" Text="Consolida Corporativo" />--%>
                    <input id="corporativoB1" type="button" class="button small blue" value="Consolida Corporativo" onclick="return corporativoB1_onclick()" />
                </td>
                <td style=" text-align:right; width:50%; text-align:center">
                    <%--<asp:Button ID="chiclayoB" runat="server"  class="button small blue" Text="Consolida Chiclayo"  />--%>
                    <input id="chiclayoB1" type="button" class="button small blue" value="Consolida Chiclayo" onclick="return chiclayoB1_onclick()" />
                </td>
            </tr>
            <tr>
                <td style=" text-align:right; width:50%; text-align:center">
                    <%--<asp:Button ID="tumbesB" runat="server"  class="button small blue" Text="Consolida Tumbes"  />--%>
                    <input id="tumbesB1" type="button" class="button small blue" value="Consolida Tumbes" onclick="return tumbesB1_onclick()" />
                </td>
                <td style=" text-align:right; width:50%; text-align:center">
                    <%--<asp:Button ID="casinoB" runat="server"  class="button small blue" Text="Consolida Tumbes Casino"  />--%>
                    <input id="casinoB1" type="button" class="button small blue" value="Consolida Tumbes Casino" onclick="return casinoB1_onclick()" />
                </td>
            </tr>
        </table>
    </dt>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" RestoreOriginalRenderDelegate="False">
    </telerik:RadAjaxManager>
</asp:Panel>
</center>
</asp:Content>

