<%@ Page Title="Update Inventory" Language="C#" MasterPageFile="~/SunMaster.Master" AutoEventWireup="true" CodeBehind="UpdateInventory.aspx.cs" Inherits="SUNWEB.UpdateInventory" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <style type="text/css">
    @media only screen and (max-width: 600px)
     {
      div 
       {
       text-align:left;        
       }
     }
  </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
     
     <h5 class="section-title"> UPDATE BRANCHES</h5>
    <div class="row">
    
       <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                            <div class="card">
                                
                                <div class="card-body">
                                <div align="left" >
                                <asp:Label ID="lblmsg" runat="server" ></asp:Label>
                                </div>
                                <div align="right">
                                <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                <label for="validationCustom05">Branch <asp:Label ID="lblBranchAliasName" runat="server"></asp:Label></label>
                                <asp:DropDownList ID="cmbBranches" CssClass="custom-select"  
                                runat="server" AutoPostBack="true" Width="250px"
                                onselectedindexchanged="cmbBranches_SelectedIndexChanged"></asp:DropDownList>&nbsp;&nbsp;
                                </div>
                              </div>
                                   
                              </div>
                            </div>
                        </div>



    </div>

    <div class="simple-card">
        <ul class="nav nav-tabs" id="myTab2" role="tablist">
            <li class="nav-item"><a class="nav-link active border-left-0" id="home-tab-simple"
                data-toggle="tab" href="#Inventory" role="tab" aria-controls="Inventory Update" aria-selected="true">
                Inventory Update </a></li>
            <li class="nav-item"><a class="nav-link" id="profile-tab-simple" data-toggle="tab"
                href="#People" role="tab" aria-controls="People" aria-selected="false">
                People Update</a> </li>
         </ul>
        <div class="tab-content" id="myTabContent5">
         <div class="tab-pane fade show active" id="Inventory" role="tabpanel" aria-labelledby="home-tab-simple">
                <div class="card">
                    <h5 class="card-header">
                        Inventory Update</h5>
                    <div class="card-body">
                    <div>
                                                
 <%--                       <asp:RadioButton 
                        ID="OptAll" runat="server" Text="All" GroupName="Selections" Checked="true"  AutoPostBack="true"
                        OnCheckedChanged="RadioButton_CheckedChanged" Font-Bold="true" 
                        ForeColor="Navy"
                        />
                        
                        <asp:RadioButton 
                        ID="OptSelect" runat="server" Text="Select" GroupName="Selections" AutoPostBack="true"
                        OnCheckedChanged="RadioButton_CheckedChanged" Font-Bold="true"
                        ForeColor="Navy"
                        />--%>
                        <h6> 
                        <label class="custom-control custom-checkbox">
                            <asp:CheckBox ID="chkSelectALL" runat="server" OnCheckedChanged="chkSelectAll_CheckedChanged" AutoPostBack="true"  /><span> Select All </span>
                        </label>
                        </h6>&nbsp;

                        <div class="custom-controls-stacked">
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkUnits" runat="server" /><span> Units </span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkCategories" runat="server" />
                                <span>Categories</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroupInformations" runat="server" />
                                <span>Group Informations</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroup1" runat="server" />
                                <span>Group 1</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroup2" runat="server" />
                                <span>Group 2</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroup3" runat="server" />
                                <span>Group 3</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroup4" runat="server" />
                                <span>Group 4</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkGroup5" runat="server" />
                                <span>Group 5</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkInventoryItems" runat="server" />
                                <span>Inventory Items</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkInventoryPackage" runat="server" />
                                <span>Inventory Package</span>
                            </label>
  <%--                          <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkPriceShift" runat="server" />
                                <span>Price Shift</span>
                            </label>--%>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkPriceShiftNew" runat="server" />
                                <span>Promotion</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkInventoryAssembly" runat="server" />
                                <span>Inventory Assembly</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkCondiment" runat="server" />
                                <span>Condiment</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkCondimentGroup" runat="server" />
                                <span>Condiment Group</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkCondimentGroupDetails" runat="server" />
                                <span>Condiment Group Details</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkModifierControl" runat="server" />
                                <span>Modifier Control</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkReasons" runat="server" />
                                <span>Reasons</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkInventoryCostAverage" runat="server" />
                                <span>InventoryCostAverage</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkInventoryCostAverageCostOnly" runat="server" />
                                <span>InventoryCostAverage Cost Only</span>
                            </label>
                                <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkUpdatePriceShiftID" runat="server" />
                                <span>Update Price Shift ID</span>
                            </label>
                              </label>
                                <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkUpdateWebOrderPromo" runat="server" />
                                <span>Update WebOrder Promotion</span>
                            </label>
                                        
                        </div>
                        
  <%--                      <div>
                        <asp:DropDownList ID="drpBranches" runat="server"  onselectedindexchanged="drpBranches_SelectedIndexChanged"  AutoPostBack="True" />
                        </div>            
                        --%>
                        <div>
                            <asp:Button ID="btnUpdateInventory" OnClick="btnUpdateInventory_Click" runat="server"
                                    class="btn btn-space btn-secondary" Text="Sync"  Visible="true" />
                        </div>

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

         <div class="tab-pane fade" id="People" role="tabpanel" aria-labelledby="profile-tab-simple">
                <div class="card">
                    <h5 class="card-header">
                        People Update</h5>
                    <div class="card-body">
                    <div>
 <%--                       <asp:RadioButton 
                        ID="OptAllP" runat="server" Text="All" GroupName="SelectionsP" Checked="true"  AutoPostBack="true"
                        OnCheckedChanged="RadioButton_CheckedChangedP" Font-Bold="true"
                        ForeColor="Navy"
                        />
                        <asp:RadioButton 
                        ID="OptSelectP" runat="server" Text="Select" GroupName="SelectionsP" AutoPostBack="true"
                        OnCheckedChanged="RadioButton_CheckedChangedP" Font-Bold="true"
                        ForeColor="Navy"
                        />--%>

                        <h6> 
                        <label class="custom-control custom-checkbox">
                            <asp:CheckBox ID="chkSelectAllP" runat="server" OnCheckedChanged="chkSelectAllP_CheckedChanged"  AutoPostBack="true" /><span> Select All </span>
                        </label>
                        </h6>&nbsp;

                        <div class="custom-controls-stacked">
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkEmployees" runat="server" /><span> Employees </span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkOperators" runat="server" />
                                <span>Operators</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkCustomers" runat="server" />
                                <span>Customers</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkMemberMaster" runat="server" />
                                <span>Member Master</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkRoles" runat="server" />
                                <span>Roles</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkPermissionSet" runat="server" />
                                <span>Permission Set</span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <asp:CheckBox ID="chkRolePermission" runat="server" />
                                <span>Role Permission</span>
                            </label>
                                        
                        </div>
                        
                        <div>
                            <asp:Button ID="btnUpdatePeople" OnClick="btnUpdatePeople_Click" runat="server"
                                    class="btn btn-space btn-secondary" Text="Sync People"  Visible="true" />
                        </div>

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

        </div> 

         

    </div> 

    </ContentTemplate> 
</asp:UpdatePanel> 
</asp:Content>
