rendered paste body<%@ Page Language="VB" MasterPageFile="~/ACLWeb.master" AutoEventWireup="false" CodeFile="Dashboard.aspx.vb" Inherits="Dashboard" title="Your Dashboard" %>
<asp:Content ID="Content2" ContentPlaceHolderID="cphL" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cphC" Runat="Server">
<script language="javascript" type="text/javascript" %>">
function verifyDrawer()
{
var bContinue = false;
bContinue = confirm('Are you sure you want to process this transaction? Make sure that you have entered the correct data.\n\nClick Cancel if you do not wish to do this. Otherwise, click OK to continue.');
if (bContinue)
{
submitFormForAction('Process Drawer');
}
}
</script>
<div class="MainContent">
<div id="TabStripHeader">
<div>
<div class="TabStripItem" id="divTabStripItem_Dashboard" onclick="doTabChange(this, 0);">
<div class="TabStripItemLeftOn"></div>
<div class="TabStripItemCenterOn" onselectstart="return false;">
Dashboard
</div>
<div class="TabStripItemRightOn"></div>
</div>
<div id="divTabStripItem_Cash" class="TabStripItem" onclick="doTabChange(this, 1);">
<div class="TabStripItemLeftOff"></div>
<div class="TabStripItemCenterOff" onselectstart="return false;">
Cash
</div>
<div class="TabStripItemRightOff"></div>
</div>
<div id="divTabStripItem_Transactions" class="TabStripItem" onclick="doTabChange(this, 2);">
<div class="TabStripItemLeftOff"></div>
<div class="TabStripItemCenterOff" onselectstart="return false;">
Daily Transactions
</div>
<div class="TabStripItemRightOff"></div>
</div>
</div>
</div>
<div id="CashDrawer">
<div style="width: 100%; text-align: center; font-size: 140%; font-weight: bold;">Cash Drawer</div>
<div style="margin-left: 8px;">
<div class="searchBoxLabel">Store:</div>
<div class="searchBoxValue"><ACLWebCC:DataTableBoundSelectList runat="server" ID="selOrg" FriendlyUIName="Store" TextFieldName="name" ValueFieldName="OrgUnitID"></ACLWebCC:DataTableBoundSelectList></div>
<div class="searchBoxLabel">Action:</div>
<div class="searchBoxValue"><ACLWebCC:TwoChoiceSelectList ID="selDrawerAction" runat="server" Item1Text="Open Drawer" Item1Value="0" Item2Text="Close Drawer" Item2Value="1"></ACLWebCC:TwoChoiceSelectList></div>
<div class="searchBoxLabel">Amount:</div>
<div class="searchBoxValue"><ACLWebCC:vTextBox MinCurrencyAmount=".01" MaxCurrencyAmount="99999.99" Width="75" runat="server" ID="txtDrawerAmount" FriendlyUIName="OpenAmount" MinLength="1" MaxLength="11" CssClass="wide"></ACLWebCC:vTextBox></div>
<br /><asp:Label runat="server" ID="lblBalance" ForeColor="red" Font-Size="Medium" Text="Current Drawer Balance: $0.00" Font-Bold="true"></asp:Label><br /><br />
<div class="searchBoxLabel">Note:</div>
<div class="searchBoxValue"><ACLWebCC:vTextBox Height="50" Width="250" TextMode="MultiLine" runat="server" ID="txtDrawerNote" FriendlyUIName="OpenNote" MinLength="1" MaxLength="128" CssClass="wide"></ACLWebCC:vTextBox></div>
<div class="searchBoxButton">
<input type="submit" name="subSubmit" value="Process Drawer" onclick="javascript:verifyDrawer();" />
<input type="button" value="Cancel" onclick="CashDrawer.style.display = 'none';" />
</div>
</div>
</div>
<div class="MainContentNoDash">
<div id="TabStripContent">
<div>
<p style="font-size:medium; color:Green; font-weight:bolder; margin-top:30px; margin-left:15px;">AmeriCash Loans - Doing it like Brutus since 44 BCE</p>
</div>
<div style="display: none;">
<input type="button" value="Cash Drawer" onclick="showAddBox(this, 'CashDrawer', null);" />
</div>
<div style="display:none;">
<div style="font-size:small; margin-top:20px;">
<ACLWebCC:MMDDYYYYPicker runat="server" ID="mmddyyyyTranDate" FriendlyUIName="Transaction Date" DefaultValue="<%#ph.objCSRSessionState.GetOffsetToday%>" MonthLowerBound="1" MonthUpperBound="12" DayLowerBound="1" DayUpperBound="31" YearLowerBound="2007" YearUpperBound="<%#ph.objCSRSessionState.GetOffsetToday.Year%>" />
<input type="submit" name="subSubmit" value="Show Transactions" onclick="handleSubmitButtonClick(this);" />
</div>
<div><br /><br /><asp:Label runat="server" ID="lblBalance2" ForeColor="red" Font-Size="Small" Text="Current Drawer Balance: $0.00" Font-Bold="true"></asp:Label></div>
<div class="standardTable" style="margin-top: 30px; max-height: 500px;">
<div class="standardTableCaption">Transactions</div>
<div class="standardTableCaptionSpacer">
<div style="float: left;">
</div>
<span></span>
</div>
<div class="standardTableData">
<table cellspacing="0">
<thead>
<tr>
<th>ID</th>
<th>Type</th>
<th>Amount</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<asp:Repeater id="rTransactions" runat="server">
<ItemTemplate>
<tr>
<td> <%#c(Of DataRowView)(Container.DataItem)("TransactionID")%></a> </td>
<td> <%#c(Of DataRowView)(Container.DataItem)("name")%> </td>
<td> <%#c(Of DataRowView)(Container.DataItem)("signedAmount")%> </td>
<td> <%#ph.objCSRSessionState.GetOffSetDate(CDate(c(Of DataRowView)(Container.DataItem)("createDttm")))%> </td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>