<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessLicenseChangeRequest.aspx.cs" Inherits="eDocument.Server.Administrator.SuperUser.ProcessLicenseChangeRequest" MasterPageFile="~/Site.Master"  %>
<%@ Register Src="~/Consumer/AdditionalModules.ascx" TagName="AdditionalModules" TagPrefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <style>
        table, th, td {
            border: 1px solid black;
        }
    </style>

    <h1>Behandle forespørsel om lisens-endring</h1>
    <br/>
    <br/>
    Kunde: <asp:Label runat="server" id="lblCustomerName"></asp:Label><br/>
    Forespørsel opprettet av bruker: <asp:Label runat="server" id="lblAdminUserEmail"></asp:Label><br/>
    Installasjonstype: <asp:Label runat="server" id="lblInstallationType"></asp:Label><br/>
    Forespørsel opprettet: <asp:Label runat="server" id="lblCreatedOn"></asp:Label><br/>
    
    <div id="divContactType" runat="server" Visible="False">
        Ønsker å bli kontaktet via <asp:Label runat="server" id="lblContactType" /> på '<asp:Label runat="server" id="lblContactValue"/>'<br/>
    </div>
    Kommentar fra bruker: <asp:Label runat="server" ID="lblComment"></asp:Label>
    <br/>
    <h3>Kvoter</h3>
    <br/>
    <table>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                Nåværende kvote
            </td>
            <td>
                Forespurt kvote
            </td>
            <td>
                Faktisk bruk
            </td>
            <td>
                Innvilget kvote
            </td>
        </tr>
        <tr>
            <td>Antall skjema</td>
            <td><asp:Label runat="server" id="lblTemplatesCurrent"></asp:Label></td>
            <td><asp:Label runat="server" id="lblTemplatesRequested"></asp:Label></td>
            <td><asp:Label runat="server" id="lblTemplatesActual"></asp:Label></td>
            <td><asp:TextBox runat="server" TextMode="Number" id="txtTemplatesGranted" /></td>
        </tr>
        <tr>
            <td>Antall admin-brukere</td>
            <td><asp:Label runat="server" id="lblAdminCurrent"></asp:Label></td>
            <td><asp:Label runat="server" id="lblAdminRequested"></asp:Label></td>
            <td><asp:Label runat="server" id="lblAdminActual"></asp:Label></td>
            <td><asp:TextBox runat="server" TextMode="Number" id="txtAdminGranted" /></td>
        </tr>
        <tr>
            <td>Antall skjema-redaktører</td>
            <td><asp:Label runat="server" id="lblDesignersCurrent"></asp:Label></td>
            <td><asp:Label runat="server" id="lblDesignersRequested"></asp:Label></td>
            <td><asp:Label runat="server" id="lblDesignersActual"></asp:Label></td>
            <td><asp:TextBox runat="server" TextMode="Number" id="txtDesignersGranted" /></td>
        </tr>
        <tr>
            <td>Antall saksbehandlere</td>
            <td><asp:Label runat="server" id="lblCaseCurrent"></asp:Label></td>
            <td><asp:Label runat="server" id="lblCaseRequested"></asp:Label></td>
            <td><asp:Label runat="server" id="lblCaseActual"></asp:Label></td>
            <td><asp:TextBox runat="server" TextMode="Number" id="txtCaseGranted" /></td>
        </tr>
    </table>
    
    <h3>Moduler</h3>
    <table>
        <tr>
            <td>Nå</td>
            <td>Ønsket</td>
            <td>Innvilget</td>
        </tr>
        <tr>
            <td>
                <uc2:AdditionalModules id="modulesNow" runat="server" Enabled="false" />
            </td>
            <td>
                <uc2:AdditionalModules id="modulesRequested" runat="server" Enabled="false" />
            </td>
            <td>
                <uc2:AdditionalModules id="modulesGranted" runat="server" />
            </td>
        </tr>
    </table>
    <br/>
    <br/>
    Svar til kunde (valgfritt): <br/>
    <asp:TextBox runat="server" TextMode="MultiLine" Rows="5" Columns="80" id="txtCustomMessage"></asp:TextBox><br/>
    <br/>
    <asp:Button runat="server" ID="btnReject" Text="Avslå" OnClick="btnReject_OnClick"/><br/>
    <br/>
    <asp:Button runat="server" ID="btnAcceptRequest" Text="Godta forespørsel" OnClick="btnAcceptRequest_OnClick"/><br/>
    <br/>
    <asp:Button runat="server" ID="btnAcceptWithAdjustments" Text="Godta forespørsel med endringer" OnClick="btnAcceptWithAdjustments_OnClick"/><br/>
</asp:Content>