<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Transport_UpdateTransportFee, App_Web_qstd3kb0" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Transport/TransportDetailBoxControl.ascx"
    TagName="TransportControl" TagPrefix="Transport" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="TransportFeeUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <Std:StudentSearch ID="Assigned_StudentSearch" Visible="false" runat="server" />
                <Std:StudentSearch ID="Allocated_StudentSearch" Visible="false" runat="server" />
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="106"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Transport:TransportControl ID="TransportUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader2WireBox">
                        <div class="contentHolder">
                            <div class="himssuHeader1WireBox card card-box">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-money-bill-alt"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Update Transport Fee"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex">
                                        <asp:Button ID="BackButton" runat="Server" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" OnClick="BackButton_Click" Visible="false" />
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body" style="padding-bottom: 0px">
                                    <cc1:TabContainer Width="100%" ID="UpdateTrasportTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default"
                                        AutoPostBack="true" ActiveTabIndex="0">
                                        <%--Changes for Mantis Id : 0037023--%>
                                        <cc1:TabPanel Width="100%" ID="UpdateTransportFeeAllocatedTabPanel1" runat="server" HeaderText="Update Transport Fee Allocated">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Update Transport Fee Allocated</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="Panel1" runat="server">
                                                    <div class="himsBoxContent">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_OrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_OrganizationDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Allocated_OrganizationDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_ClassLabel" runat="server" Text="Class"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_ClassDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Allocated_ClassDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                                        class="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_BusRouteLabel" runat="server" Text="Bus Route"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_BusRouteDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Allocated_BusRouteDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_BusDestinationRouteLabel" runat="server" Text="Pickup / Drop Point"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_BusRouteDestinationDropDownList" SkinID="CustomWidthDropDownList" class="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_FeeLabel" runat="server" Text="Fee"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Allocated_FeeDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_PickupDropPointLabel" runat="server" Text="Pickup / Drop Point"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Allocated_PickupDropPoinTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="100"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_StudentSearchIdNoLabel" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 display-flex">
                                                                    <asp:TextBox ID="Allocated_StudentSearchIdNoTextBox"
                                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="150" AutoPostBack="True"
                                                                        OnTextChanged="Allocated_StudentSearchIdNoTextBox_TextChanged"></asp:TextBox>
                                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="Allocated_StudentSearchIdNoImageButton"
                                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="Allocated_StudentIdNoImageButton_Click" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_StudentSearchNameLable" runat="server" Text="Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Allocated_StudentSearchNameTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="150" Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" runat="server" id="Allocated_SUIDDiv" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Allocated_SUIDLabel" runat="server" Text="SUID"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Allocated_SUIDTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="150"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <%--mantis: 42157--%>
                                                            <div class="col-md-12 padd-0">
                                                                <div class="alert alert-info mb-1">
                                                                    <asp:Label ID="Label4" runat="server" Text="Transport fee head must have number as 1001." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label6" runat="server" Text="Transport fee must be marked as variable and optional in fee setup." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label7" runat="server" Text="Applicable to Students which are assigned pickup point." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label8" runat="server" Text="With this tab you can only update the transport fee value in the student fee as shown in the table."></asp:Label><br />
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter col-md-12 pTop15 pb5">
                                                                <asp:Button ID="Allocated_SearchButton" runat="server" Text=" Search" OnClick="Allocated_SearchButton_Click"
                                                                    SkinID="0" CssClass="btn-search btn fas" />
                                                                <asp:Button ID="Allocated_ResetButton" runat="server" Text=" Reset" OnClick="Allocated_ResetButton_Click"
                                                                    meta:resourcekey="ClearButtonResource1" SkinID="0" CssClass="btn-reset btn fas" />
                                                                <asp:Button ID="Allocated_UpdateFeeButton" runat="server" Text="  Update Fee"
                                                                    OnClick="Allocated_UpdateFeeButton_OnClick" SkinID="0" CssClass="btn btn-assign fas" OnClientClick="if ( !confirm('Are you sure you want to Update Fee?')) return false;" ToolTip="Transport fee head must have number as 1001, Transport fee must be marked as variable and optional in fee setup, Applicable to Students which are assigned pickuppoint" />
                                                            </div>
                                                            <div id="UpdateTransportFeeAllocatedListGridDiv" runat="server" visible="False">
                                                                <div class="himssuHeader1WireBox width-100 pb5 mt2">
                                                                    <div class="himsBoxContent pTop15 col-md-12">
                                                                        <div class="table-responsive">

                                                                            <asp:GridView runat="server" ID="UpdateTransportFeeAllocatedListGridView" AutoGenerateColumns="False"
                                                                                EmptyDataText="No records available for the search criteria!" CssClass="table table-striped table-bordered table-hover" class="himssuHeader7WireBox col-md-12 table-responsive"
                                                                                DataKeyNames="SourceId,FeeSetupId,BatchId">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                        <HeaderTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="Allocated_HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                                    Visible="true" OnCheckedChanged="Allocated_HeaderSelectCheckBox_checked" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </HeaderTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                        <ItemTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="Allocated_SelectCheckBox" runat="server" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="Organization" HeaderText="Organization" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="SUId" HeaderText="SU Id" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="Code" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="Name" HeaderText="Name" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="BusRoute" HeaderText="Bus Route" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="PickupPoint" HeaderText="Pickup Point" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <%--<asp:BoundField DataField="Dropoute" HeaderText="Drop Route" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                    <asp:BoundField DataField="DropPoint" HeaderText="Drop Point" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <%--<asp:BoundField DataField="DropAmount" HeaderText="Drop Amount" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                    <asp:BoundField DataField="FeeName" HeaderText="Fee Name" HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="Amount" HeaderText="Amount" HeaderStyle-HorizontalAlign="Left" />
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>

                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="UpdateTransportFeeAssignedTabPanel" runat="server" HeaderText="Update Transport Fee Assigned">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Update Transport Fee Assigned </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="UpdateTransportFeeAssignedPanel" runat="server">
                                                    <div class="himsBoxContent">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_OrganizationLabel" runat="server" Text="Organization"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_OrganizationDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Assigned_OrganizationDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_ClassLabel" runat="server" Text="Class"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_ClassDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Assigned_ClassDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                                        class="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_BusRouteLabel" runat="server" Text="Bus Route"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_BusRouteDropDownList" SkinID="CustomWidthDropDownList" class="form-control"
                                                                        AutoPostBack="True" OnSelectedIndexChanged="Assigned_BusRouteDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_BusDestinationRouteLabel" runat="server" Text="Pickup / Drop Point"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_BusRouteDestinationDropDownList" SkinID="CustomWidthDropDownList" class="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_FeeLabel" runat="server" Text="Fee"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="Assigned_FeeDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_PickupDropPointLabel" runat="server" Text="Pickup / Drop Point"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Assigned_PickupDropPoinTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="100"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_StudentSearchIdNoLabel" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 display-flex">
                                                                    <asp:TextBox ID="Assigned_StudentSearchIdNoTextBox"
                                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="150" AutoPostBack="True"
                                                                        OnTextChanged="Assigned_StudentSearchIdNoTextBox_TextChanged"></asp:TextBox>
                                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="Assigned_StudentSearchIdNoImageButton"
                                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="Assigned_StudentIdNoImageButton_Click" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_StudentSearchNameLable" runat="server" Text="Name"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Assigned_StudentSearchNameTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="150" Enabled="false"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3" runat="server" id="Assigned_SUIDDiv" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Assigned_SUIDLabel" runat="server" Text="SUID"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="Assigned_SUIDTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="150"></asp:TextBox>
                                                                </div>
                                                            </div>

                                                            <%--mantis: 42157--%>
                                                            <div class="col-md-12 padd-0">
                                                                <div class="alert alert-info mb-1">
                                                                    <asp:Label ID="Label9" runat="server" Text="Transport fee head must have number as 1001." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label10" runat="server" Text="Transport fee must be marked as variable and optional in fee setup." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label11" runat="server" Text="Applicable to Students which are assigned pickup point." SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label12" runat="server" Text="With this tab you can allocate the transport fee in the student fee and the amount will also be assigned."></asp:Label><br />
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter col-md-12 pTop15 pb5">
                                                                <asp:Button ID="Assigned_SearchButton" runat="server" Text=" Search" OnClick="Assigned_SearchButton_Click"
                                                                    SkinID="0" CssClass="btn-search btn fas" />
                                                                <asp:Button ID="Assigned_ResetButton" runat="server" Text=" Reset" OnClick="Assigned_ResetButton_Click"
                                                                    meta:resourcekey="ClearButtonResource1" SkinID="0" CssClass="btn-reset btn fas" />
                                                                <asp:Button ID="Assigned_UpdateFeeButton" runat="server" Text="  Update Fee"
                                                                    OnClick="Assigned_UpdateFeeButton_OnClick" SkinID="0" CssClass="btn btn-assign fas" OnClientClick="if ( !confirm('Are you sure you want to Update Fee?')) return false;" ToolTip="Transport fee head must have number as 1001, Transport fee must be marked as variable and optional in fee setup, Applicable to Students which are assigned pickuppoint" />
                                                            </div>
                                                            <div id="UpdateTransportFeeAssignedListGridDiv" runat="server" visible="False">
                                                                <div class="himssuHeader1WireBox width-100 pb5 mt2">
                                                                    <div class="himsBoxContent pTop15 col-md-12">
                                                                        <div class="table-responsive">

                                                                            <asp:GridView runat="server" ID="UpdateTransportFeeAssignedListGridView" AutoGenerateColumns="False"
                                                                                EmptyDataText="No records available for the search criteria!" CssClass="table table-striped table-bordered table-hover" class="himssuHeader7WireBox col-md-12 table-responsive"
                                                                                DataKeyNames="SourceId,FeeSetupId,BatchId">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                        <HeaderTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="Assigned_HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                                    Visible="true" OnCheckedChanged="Assigned_HeaderSelectCheckBox_checked" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </HeaderTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" />
                                                                                        <ItemTemplate>
                                                                                            <label class="rt-chkbox rt-chkbox-outline">
                                                                                                <asp:CheckBox ID="Assigned_SelectCheckBox" runat="server" />
                                                                                                <span></span>
                                                                                            </label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="Organization" HeaderText="Organization">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="SUId" HeaderText="SU Id">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Code">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Name" HeaderText="Name">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="ClassDivisionName" HeaderText="Class">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="BusRoute" HeaderText="Bus Route">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="PickupPoint" HeaderText="Pickup Point">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>

                                                                                    <%--   <asp:BoundField DataField="Dropoute" HeaderText="Drop Route" >
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>--%>
                                                                                    <asp:BoundField DataField="DropPoint" HeaderText="Drop Point">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <%--    <asp:BoundField DataField="DropAmount" HeaderText="Drop Amount" >
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>--%>
                                                                                    <asp:BoundField DataField="FeeName" HeaderText="Fee Name">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Amount" HeaderText="Amount">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                    </asp:BoundField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>

                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>

                                        <cc1:TabPanel Width="100%" ID="UpdateTransportFeeTabPanel" runat="server" HeaderText="Update Transport Fee" Visible="false">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-money-bill-alt"></i>&nbsp;Update Transport Fee </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <asp:Panel ID="DetailPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                            <div class="outerBox pTop5 col-md-3" style="display: none">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassLabel" Visible="false" runat="server" Text="Class" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" Visible="false" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3" style="display: none">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="FeeHeadLabel" Visible="false" runat="server" Text="Fee Head" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" Visible="false" ID="FeeHeadDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter pTop5 col-md-12">

                                                                <asp:CheckBox ID="IsUpdateCheckBox" runat="Server" Text="Is Update" />

                                                                &nbsp;
                                                                <asp:Button ID="UpdateButton" Text="&#xf044; Update" Visible="false" runat="Server" OnClick="UpdateButton_Click"
                                                                    SkinID="0" CssClass="btn btn-assign fas" />
                                                                <asp:Button ID="UpdateAllButton" Text="&#xf044; Update All" runat="Server" OnClick="UpdateAllButton_Click"
                                                                    SkinID="0,CustomWidthButton" class="form-control" CssClass="btn btn-assign fas" />
                                                            </div>
                                                            <div class="cBoth"></div>
                                                            <br />
                                                            <div class="col-md-12 padd-0">
                                                                <div class="alert alert-info mb-1">
                                                                    <asp:Label ID="Label2" runat="server" Text="Transport fee head must have number as 1001"
                                                                        SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label5" runat="server" Text="Transport fee must be marked as variable and optional in fee setup"
                                                                        SkinID="MandatoryLabel"></asp:Label><br />
                                                                    <asp:Label ID="Label3" runat="server" Text="Applicable to Students which are assigned pickuppoint"
                                                                        SkinID="MandatoryLabel"></asp:Label><br />
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                </asp:Panel>
                                            </ContentTemplate>
                                        </cc1:TabPanel>




                                    </cc1:TabContainer>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/update-transport-fee-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/update-transport-fee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
