<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="RCC_OCS_CallDataReport, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/VirtualDropDownList.ascx" TagName="VirtualDropDownList" TagPrefix="EM" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <div class="displayInlineBlock">
                    <h3>
                        <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,Lync295%>" EnableViewState="false" /></h3>
                </div>
                <%--<span class="label label-warning font-14 pull-right m-t--4px"><%= Resources.Content.BetaVersion%></span>--%>
            </div>
            <div class="body">

                <div class="row">
                    <div class="col-xs-12 col-sm-3 col-md-2 padding-top-10px" id="td_OwnerLabel" runat="server">
                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,L00108%>" EnableViewState="false" />:
                    </div>
                    <div class="col-xs-12 col-sm-3 col-md-2" id="td_OwnerDdl" runat="server">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Owner" runat="server" AutoPostBack="true" onchange="setOwnerCookie(this)">
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="clearfix hidden-lg hidden-md"></div>
                    <div class="col-xs-12 col-sm-5 col-md-3">
                        <label>
                            <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN0000685%>" EnableViewState="false" />:
                        </label>
                        <div class="form-group display-date-input">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_FromDateGlobal" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <i runat="server" id="A_FromDate" class="material-icons icon-calendar col-calendar"></i>
                        <EM:CalendarExtender ID="CE_FromDate" runat="server" TargetControlID="TxBx_FromDateGlobal"
                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                            PopupButtonID="A_FromDate" CssClass="date__calendar">
                        </EM:CalendarExtender>
                    </div>
                    <div class="col-xs-12 col-sm-5 col-md-3">
                        <label>
                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN0000690%>" EnableViewState="false" />:
                        </label>
                        <div class="form-group display-date-input">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_ToDateGlobal" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <i runat="server" id="A_ToDate" class="material-icons icon-calendar col-calendar"></i>
                        <EM:CalendarExtender ID="CE_ToDate" runat="server" TargetControlID="TxBx_ToDateGlobal"
                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                            PopupButtonID="A_ToDate" CssClass="date__calendar">
                        </EM:CalendarExtender>
                    </div>
                    <div class="col-xs-12 col-sm-2">
                        <asp:Button ID="Btn_SearchGlobal" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000391 %>' />
                    </div>
                </div>

                <EM:TabContainer ID="TbCntr_CDR" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_CallDataRecord" runat="server" HeaderText="<%$ Resources:Content,OCS005%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent0" runat="server">

                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" /></h3>
                                    </div>
                                    <div class="body">
                                        <asp:Button ID="Btn_ExportCallDataRecordToExcel" Enabled="false" CssClass="btn btn-primary waves-effect"
                                            runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                        &nbsp;&nbsp;
                                 <asp:Button ID="BtnExportToPDF" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                        &nbsp;&nbsp;
                                <asp:Button ID="Btn_ExportCallDetailedReportToExcel" runat='server' CssClass="btn btn-primary waves-effect"
                                    Text="<%$ Resources:Content,btnExportDetailReportToExcel %>" />
                                        &nbsp;&nbsp;
                                 <asp:Button ID="BtnCallDetailReportExportToPDF" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,btnExportDetailReportToPDF %>' />
                                    </div>
                                </div>

                                <div class="row">&nbsp;</div>
                                <asp:Panel ID="Pnl_Btn_Filter" runat="server" CssClass="row" DefaultButton="Btn_Filter">
                                    <div class="panel-group search-panel" id="AS_CallReport" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_CallReport">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_CallReport" href="#<%= CSB_CallReport.ClientID%>" aria-expanded="true" aria-controls="SH_CallReport">
                                                    <h3>
                                                        <%= Resources.Content.GN0000395%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_CallReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_CallReport" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_OrgName" MaxLength="75" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_OrgName" runat="server" Text="<%$ Resources:Content,DGN1110608%>"></asp:Label>

                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12" id="Div_Customer" runat="server">
                                                            <div class="form-group form-float">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CustomerName" MaxLength="75" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_CustomerName" runat="server" Text='<%$ Resources:Content,GN0000268 %>' />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group form-float" id="Div_CustCompany" runat="server">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CustCompanyName" MaxLength="75" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_CompanyName" runat="server" Text='<%$ Resources:Content,GN00001077%>'></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_Filter" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000395 %>' />
                                                            <asp:Button ID="Btn_Clear" Visible="false" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>



                                <div class="row" style="display: none">
                                    <div class="col-xs-12">
                                        <asp:Literal ID="Ltl_TimeStamp" runat="server"></asp:Literal>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="double-scroll-wrapper1">
                                            <div>
                                            </div>
                                        </div>
                                        <div class="double-scroll-wrapper2">
                                            <asp:GridView ID="GV_CallDataRecord" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                                AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server"
                                                AutoGenerateColumns="False" Width="2150px">
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content, DGN1110608 %>'>
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_Org" runat="server" CommandName="OrgDetail"></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField SortExpression="CustomerID" HeaderText="<%$ Resources:Content,GN0000850%>"
                                                        HeaderStyle-Width="200px">
                                                        <ItemTemplate>
                                                            <asp:Label ID="LB_ClientID" runat="server"></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content, SPT002811 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltrl_Owner" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="150px" HeaderText='<%$ Resources:Content,OCS006%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalInboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationInBoundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalInboundCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:TemplateField HeaderStyle-Width="160px" HeaderText='<%$ Resources:Content,OCS008%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalOutboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationOutboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalOutboundCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:TemplateField HeaderStyle-Width="150px" HeaderText='<%$ Resources:Content,OCS009%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalInternalCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationInternalCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalInternalCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:BoundField DataField="TotalCallsVideo" HeaderStyle-Width="150px" HeaderText="<%$ Resources:Content,SMI683%>" />
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationVideo" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalVideoCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:BoundField DataField="TotalCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync319%>' />
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager1" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>

                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_CallDataRecordOrganization" runat="server" HeaderText="<%$ Resources:Content,OCS010%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent1" Visible="false" runat="server">

                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" /></h3>
                                    </div>
                                    <div class="body">
                                        <asp:Button ID="Btn_ExportCallDataRecordOrganizationToExcel" Enabled="false" CssClass="btn btn-primary waves-effect"
                                            runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                        &nbsp;&nbsp;
                                 <asp:Button ID="Btn_ExportCallDataRecordOrganizationToPDF" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                    </div>
                                </div>
                                <div class="row">&nbsp;</div>

                                <!-- Filter here -->
                                <asp:Panel ID="Pnl_Btn_Filter1" runat="server" CssClass="row" DefaultButton="Btn_Filter1">
                                    <div class="panel-group search-panel" id="AS_OrgCallReport" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_OrgCallReport">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_OrgCallReport" href="#<%= CSB_OrgCallReport.ClientID%>" aria-expanded="true" aria-controls="SH_OrgCallReport">
                                                    <h3>
                                                        <%= Resources.Content.GN0000395%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_OrgCallReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_OrgCallReport" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="Ddl_Organizations" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SIPDomain1" MaxLength="75" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_SipDomain" runat="server" Text='<%$ Resources:Content,OCS011%>'></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <asp:Button ID="Btn_Filter1" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000395 %>' />
                                                            <asp:Button ID="Btn_Clear1" Visible="false" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>




                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="double-scroll-wrapper1">
                                            <div>
                                            </div>
                                        </div>
                                        <div class="double-scroll-wrapper2">
                                            <asp:GridView ID="GV_CallDataRecordOrganization" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                                AllowPaging="true" Width="2350px"
                                                EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content, Lync274 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_LyncUser" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS012%>'>
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LB_SIPAddress" runat="server"></asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content, SPT002215 %>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_PhoneNumber" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS006%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalInboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationInBoundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalInboundCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS008%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalOutboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationOutboundCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalOutboundCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS009%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_TotalInternalCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationInternalCallsAudio" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalInternalCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:BoundField DataField="TotalCallsVideo" HeaderStyle-Width="200px" HeaderText="<%$ Resources:Content,SMI683%>" />
                                                    <%--<asp:BoundField DataField="TotalDurationVideo" HeaderText='<%$ Resources:Content,OCS007%>' />--%>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_DurationVideo" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="TotalVideoCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync318%>' />
                                                    <asp:BoundField DataField="TotalCost" HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync319%>' />
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager1" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_CallDataRecordUser" runat="server" HeaderText="<%$ Resources:Content,OCS013%>">
                        <ContentTemplate>
                            <asp:Button ID="Btn_Tab2" runat="server" Style="display: none;" />
                            <asp:Panel ID="Pnl_TabContent2" Visible="false" runat="server">

                                <div class="card">
                                    <div class="header">
                                        <h3>
                                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" /></h3>
                                    </div>
                                    <div class="body">
                                        <asp:Button ID="Btn_ExportCallDataRecordUserToExcel" CssClass="btn btn-primary waves-effect" Enabled="false"
                                            runat="server" Text='<%$ Resources:Content,Ex001 %>' />
                                        &nbsp;&nbsp;
                                 <asp:Button ID="Btn_ExportCallDataRecordUserToPDF" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,strExportToPDF %>' />
                                    </div>
                                </div>
                                <div class="row">&nbsp;</div>

                                <asp:Panel ID="Pnl_Btn_Filter2" runat="server" CssClass="row" DefaultButton="Btn_Filter2">
                                    <div class="panel-group search-panel" id="AS_UserCallReport" role="tablist" aria-multiselectable="true">
                                        <div class="col-xs-12" role="tab" id="SH_UserCallReport">
                                            <div class="card">
                                                <div class="header" role="button" data-toggle="collapse" data-parent="#AS_UserCallReport" href="#<%= CSB_UserCallReport.ClientID%>" aria-expanded="true" aria-controls="SH_UserCallReport">
                                                    <h3>
                                                        <%= Resources.Content.GN0000395%>
                                                    </h3>
                                                </div>
                                                <div id="CSB_UserCallReport" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_UserCallReport" aria-expanded="false">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="input-group">
                                                                <span class="input-group-addon"><%= Resources.Content.DGN1110357%>:</span>
                                                                <div class="form-group">
                                                                    <asp:DropDownList ID="Ddl_Organizations2" runat="server" AutoPostBack="true"></asp:DropDownList>
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <div class="col-sm-3 col-xs-12">
                                                            <div class="input-group">
                                                                <span class="input-group-addon"><%= Resources.Content.USM0025%>:</span>
                                                                <div class="form-group">
                                                                    <EM:VirtualDropDownList ID="Ddl_Users" AutoPostBack="true" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="col-sm-2 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_FromUri" MaxLength="70" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_FromUri" runat="server" Text="<%$ Resources:Content,OCS014%>"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-sm-2 col-xs-12">
                                                            <div class="form-group form-float">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ToUri" MaxLength="70" runat="server"></asp:TextBox>
                                                                    <asp:Label CssClass="form-label" ID="Ltrl_ToUri" runat="server" Text="<%$ Resources:Content,OCS015%>"></asp:Label>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="col-sm-2 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="Ddl_CallTypes" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:Button ID="Btn_Filter2" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content,GN0000395 %>' />
                                                            <asp:Button ID="Btn_Clear2" Visible="false" CssClass="btn btn-primary waves-effect" runat="server" Text="<%$ Resources:Content,String289 %>" />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>



                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="double-scroll-wrapper1">
                                            <div>
                                            </div>
                                        </div>
                                        <div class="double-scroll-wrapper2">
                                            <asp:GridView ID="GV_CallDataRecordUser" CssClass="table table-bordered table-striped table-hover table-layout-fixed" AllowSorting="true"
                                                AllowPaging="true" Width="1950px"
                                                EmptyDataText='<%$ Resources:Content, GN00001375 %>' runat="server" AutoGenerateColumns="False">
                                                <AlternatingRowStyle CssClass="altRow" />
                                                <Columns>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS014%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_FromAddress" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,OCS015%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_ToAddress" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='Referred'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_Referred" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText="<%$ Resources:Content,SMI684%>">
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_FromGateway" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText="<%$ Resources:Content,SMI685%>">
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_ToGateway" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText="<%$ Resources:Content,Lync311%>">
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_Destination" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,GN0000673%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_Type" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,StartTimeUTC%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_STUTC" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-Width="200px" HeaderText='<%$ Resources:Content,StartTimeCustZone%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_STCustTZ" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%--<asp:TemplateField HeaderStyle-ForeColor="white" HeaderText='<%$ Resources:Content,OCS017%>'>
                                    <ItemTemplate>
                                        <asp:Literal ID="Ltr_StartTime" runat="server"></asp:Literal>
                                    </ItemTemplate>
                                </asp:TemplateField>--%>
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,OCS007%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_Duration" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,GN0000952%>' DataField="Currency" />
                                                    <asp:TemplateField HeaderStyle-Width="100px" HeaderText='<%$ Resources:Content,Lync307%>'>
                                                        <ItemTemplate>
                                                            <asp:Literal ID="Ltr_CallCost" runat="server"></asp:Literal>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <%--PagerTemplate Start--%>
                                                <PagerTemplate>
                                                    <EM:Pager ID="Pager1" runat="server" />
                                                </PagerTemplate>
                                                <%--PagerTemplate End--%>
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>

            </div>
        </div>
    </div>

</asp:Content>

