<%@ Page Language="VB" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Register TagPrefix="uc" TagName="Menu" Src="~/Views/Shared/Menu.ascx" %>
<%@ Register TagPrefix="uc" TagName="CreateTransaction" Src="~/Views/Invoice/CreateTransaction.ascx" %>
<%@ Register TagPrefix="uc" TagName="TransactionList" Src="~/Views/Invoice/TransactionList.ascx" %>
<%@ Register TagPrefix="uc" TagName="Invoice" Src="~/Views/Invoice/Create.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<html xmlns="http://www.w3.org/1999/xhtml" >
    <%  Dim drInvoice As CoursE.coursedata.invoiceRow = ViewData.Item("rowinvoice")
        
    %>        
<head runat="server">
    <title>Details</title>
</head>
<body>
    <uc:Menu id="MenuTop" runat="server"/>
    <% If drInvoice.INVOICE_STATUS = CoursE.MvcApplication.InvoiceStatus.Paid Or drInvoice.INVOICE_STATUS = CoursE.MvcApplication.InvoiceStatus.Cancelled Then%>

    <% Else%>

    <%End If%>
    <div>
    </div>
    <div>
        <div style="float:left; width:50%; vertical-align:top; ">
    <uc:Invoice id="Invoice"
    runat="server" />
    </div>
    <%  If drInvoice.INVOICE_STATUS = CoursE.MvcApplication.InvoiceStatus.NotPaid Or drInvoice.INVOICE_STATUS = CoursE.MvcApplication.InvoiceStatus.Partially Then
        %>
    <div style="float:right; width:50%;  vertical-align:top;">
    <uc:CreateTransaction id="ShowTransactionTab"
    runat="server" />
    </div>
    <% Else%>
    <uc:TransactionList id="TransactionList"
    runat="server" />
    <% End If%>
    </div>
</body>
</html>
