<%@ page language="C#" masterpagefile="~/MasterFile/TimeCheck.master" autoeventwireup="true" inherits="Organization_Settings_Organization_CCMailGroupModify, App_Web_zwx4uwl3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPH" runat="Server">

    <script type="text/javascript" src="../plugins/slimScroll/Scroll-jquery.min.js"></script>

    <div class="content-header">
        <h1 style="background-image: url('../dist/img/LeaveSettings.png'); background-repeat: no-repeat; padding-left: 35px">
            <asp:Label ID="lbl_Header" Text="CC Mail Group - Modify" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div class="content">
        <div class="inr-ftr">
            <div class="row" style="min-height: 30px">
            </div>
        </div>
        <div class="emp-filter">
            <div class="form-horizontal">
                <div class="row form-group" style="margin-left: -20px; margin-right: -20px">
                    <div class="col-md-12">
                        <div class="col-md-2">
                            <asp:Label ID="lblOrganization" runat="server" Text="Organization"></asp:Label>
                        </div>
                        <div class="col-md-4" style="display: none;">
                            <asp:DropDownList ID="ddlOrganization" runat="server" AppendDataBoundItems="true"
                                CssClass="form-control select2" AutoPostBack="True" OnSelectedIndexChanged="ddlOrganization_SelectedIndexChanged">
                                <asp:ListItem Text="-Select-" Value="0"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                        <div class="col-md-4">
                            <asp:Label ID="lblOrganizationData" runat="server" CssClass="form-control"></asp:Label>
                        </div>
                        <div class="col-md-2">
                            <asp:Label ID="lblDesignation" runat="server" Text="Designation"></asp:Label>
                        </div>
                        <div class="col-md-4" style="display: none;">
                            <asp:DropDownList ID="ddlDesination" runat="server" AppendDataBoundItems="true" CssClass="form-control select2"
                                AutoPostBack="True">
                                <asp:ListItem Text="-Select-" Value="0"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                        <div class="col-md-4">
                            <asp:Label ID="lblDesignationData" runat="server" CssClass="form-control"></asp:Label>
                        </div>
                    </div>
                </div>
                <div class="row form-group" style="margin-left: -20px; margin-right: -20px">
                    <div class="config-hdr">
                        <div class="row">
                            <div class="col-md-12">
                                <h3>
                                    <asp:Label ID="lblCcMailHeader1" runat="server" Font-Bold="true" Text="CC mails for Leaves / Permissions / OnDuty Approval"></asp:Label></h3>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="col-md-12">
                            <div class="form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lblPlanned" Text="Planned" runat="server"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-control">
                                        <div style="overflow: auto; height: 95px;" id="Div1">
                                            <asp:CheckBoxList ID="cblPlanned" CssClass="checkbox checkbox-primary" runat="server">
                                            </asp:CheckBoxList>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lblUnPlanned" runat="server" Text="Unplanned"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-control">
                                        <div style="overflow: auto; height: 95px;" id="Div2">
                                            <asp:CheckBoxList ID="cblUnPlanned" CssClass="checkbox checkbox-primary" runat="server">
                                            </asp:CheckBoxList>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lblOthers" runat="server" Text="Approval / Cancellation"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-control">
                                        <div style="overflow: auto; height: 95px;" id="Div3">
                                            <asp:CheckBoxList ID="cblOthers" CssClass="checkbox checkbox-primary" runat="server">
                                            </asp:CheckBoxList>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lblODApproval" runat="server" Text="OnDuty Approval"></asp:Label>
                                </div>
                                <div class="col-md-4">
                                    <div class="form-control">
                                        <div style="overflow: auto; height: 95px;" id="Div4">
                                            <asp:CheckBoxList ID="cblODApproval" CssClass="checkbox checkbox-primary" runat="server">
                                            </asp:CheckBoxList>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row form-group" style="margin-left: -20px; margin-right: -20px">
                    <div class="config-hdr">
                        <div class="row">
                            <div class="col-md-12">
                                <h3>
                                    <asp:Label ID="lblCCMailHeader2" runat="server" Font-Bold="true" Text="CC mails (Leaves / Permissions) for up-line supervisor"></asp:Label></h3>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="col-md-12">
                            <div class="form-group">
                                <div class="col-md-2">
                                    <asp:Label ID="lblPlanned_Supervisor" runat="server" Text="Planned"></asp:Label>
                                </div>
                                <div class="col-md-4" style="padding-left: 0px">
                                    <div class="col-md-6">
                                        <asp:RadioButton ID="rbYes_Planned" runat="server" Text="Yes" GroupName="Planned"
                                            CssClass="radio radio-primary" />
                                    </div>
                                    <div class="col-md-6">
                                        <asp:RadioButton ID="rbNo_Planned" runat="server" Text="No" GroupName="Planned" Checked="true"
                                            CssClass="radio radio-primary" />
                                    </div>
                                </div>
                                <div class="col-md-2">
                                    <asp:Label ID="lblUnPlanned_Supervisor" runat="server" Text="Unplanned"></asp:Label>
                                </div>
                                <div class="col-md-4" style="padding-left: 0px">
                                    <div class="col-md-6">
                                        <asp:RadioButton ID="rbYes_UnPlanned" runat="server" Text="Yes" GroupName="UnPlanned"
                                            CssClass="radio radio-primary" />
                                    </div>
                                    <div class="col-md-6">
                                        <asp:RadioButton ID="rbNo_UnPlanned" runat="server" Text="No" Checked="true" GroupName="UnPlanned"
                                            CssClass="radio radio-primary" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="col-md-12">
                            <div class="form-group">
                                <div class="col-md-12">
                                    <div class="pull-right-button">
                                        <asp:ValidationSummary ID="vsCCGroup" runat="server" ShowMessageBox="True" ShowSummary="False" />
                                        <asp:LinkButton ID="btnModify" CssClass="btn save-btn fa-floppy-o" CausesValidation="true"
                                            runat="server" Text="&nbsp;&nbsp;Modify" OnClientClick="return Validation()"
                                            OnClick="btnModify_Click" />
                                        <asp:LinkButton ID="btnCancel" CssClass="btn clr-btn fa-times" runat="server" CausesValidation="False"
                                            OnClick="btnBack_Click" Text="&nbsp;&nbsp;Cancel" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        $(function () {

            $('#Div1').slimScroll({
                wheelStep: 20
            });
            $('#Div2').slimScroll({
                wheelStep: 20
            });
            $('#Div3').slimScroll({
                wheelStep: 20
            });
            $('#Div4').slimScroll({
                wheelStep: 20
            });
        });
    </script>

</asp:Content>
