Work on transaction inspection
This commit is contained in:
@@ -198,7 +198,7 @@
|
||||
<comment>The {0} is the operating currency (USD etc).</comment>
|
||||
</data>
|
||||
<data name="EditOrganization_VanityDomain" xml:space="preserve">
|
||||
<value>Vanity Domain</value>
|
||||
<value>Organization Vanity Domain</value>
|
||||
</data>
|
||||
<data name="SystemSettings_AdminAddress" xml:space="preserve">
|
||||
<value>Admin Notifications From Address</value>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/Pages/v5/Admin/EditOrganization.aspx/SwitchToggled",
|
||||
url: "/Pages/v5/Admin/OrgSettings.aspx/SwitchToggled",
|
||||
data: $.toJSON(jsonData),
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/Pages/v5/Admin/EditOrganization.aspx/GetInitialData",
|
||||
url: "/Pages/v5/Admin/OrgSettings.aspx/GetInitialData",
|
||||
data: "{}",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
@@ -194,8 +194,8 @@
|
||||
<div title="<img src='/Images/Icons/iconshock-star-gold-64px.png' />">
|
||||
<h2>Premium Features</h2>
|
||||
<div class="entryFields">
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextVanityDomain" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextOpenLedgersDomain" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextVanityDomain" Cookie="VanityDomain" AjaxCallbackUrl="/Pages/v5/Admin/OrgSettings.aspx/StoreCallback" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextOpenLedgersDomain" Cookie="OpenLedgersDomain" AjaxCallbackUrl="/Pages/v5/Admin/OrgSettings.aspx/StoreCallback" />​<br/>
|
||||
</div>
|
||||
<div class="entryLabels">
|
||||
<asp:Label ID="LabelVanityDomain" runat="server" /><br/>
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
<div title="<img src='/Images/Icons/iconshock-mail-open-64px.png' />">
|
||||
<h2>Correspondence transmission settings</h2>
|
||||
<div class="entryFields">
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextSmtpServer" Cookie="Smtp" AjaxCallbackUrl="/Pages/v5/Admin/Settings.aspx/StoreCallback" Placeholder="localhost:587" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextInstallationName" Cookie="InstallationName" AjaxCallbackUrl="/Pages/v5/Admin/Settings.aspx/StoreCallback" Placeholder="localhost:587" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextExternalUrl" Cookie="ExtUrl" OnChange="onUrlChange" AjaxCallbackUrl="/Pages/v5/Admin/Settings.aspx/StoreCallback" Placeholder="https://swarmops.example.com/" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextAdminSender" Cookie="AdminSender" AjaxCallbackUrl="/Pages/v5/Admin/Settings.aspx/StoreCallback" Placeholder="Swarmops Admin" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextAdminAddress" Cookie="AdminAddress" AjaxCallbackUrl="/Pages/v5/Admin/Settings.aspx/StoreCallback" Placeholder="swarmops-admin@example.com" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextSmtpServer" Cookie="Smtp" AjaxCallbackUrl="/Pages/v5/Admin/SystemSettings.aspx/StoreCallback" Placeholder="localhost:587" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextInstallationName" Cookie="InstallationName" AjaxCallbackUrl="/Pages/v5/Admin/SystemSettings.aspx/StoreCallback" Placeholder="localhost:587" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextExternalUrl" Cookie="ExtUrl" OnChange="onUrlChange" AjaxCallbackUrl="/Pages/v5/Admin/SystemSettings.aspx/StoreCallback" Placeholder="https://swarmops.example.com/" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextAdminSender" Cookie="AdminSender" AjaxCallbackUrl="/Pages/v5/Admin/SystemSettings.aspx/StoreCallback" Placeholder="Swarmops Admin" />​<br/>
|
||||
<Swarmops5:AjaxTextBox runat="server" ID="TextAdminAddress" Cookie="AdminAddress" AjaxCallbackUrl="/Pages/v5/Admin/SystemSettings.aspx/StoreCallback" Placeholder="swarmops-admin@example.com" />​<br/>
|
||||
</div>
|
||||
<div class="entryLabels">
|
||||
<asp:Label ID="LabelSmtpServer" runat="server" /><br/>
|
||||
|
||||
@@ -124,6 +124,7 @@
|
||||
}
|
||||
|
||||
.spanAnnoyingBlink {
|
||||
-webkit-animation: blink 0.5s linear infinite;
|
||||
animation: blink 0.5s linear infinite;
|
||||
}
|
||||
|
||||
@@ -131,6 +132,10 @@
|
||||
0% { color: darkred; }
|
||||
100% { color: red; }
|
||||
}
|
||||
@-webkit-keyframes blink {
|
||||
0% { color: darkred; }
|
||||
100% { color: red; }
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -163,7 +168,7 @@
|
||||
<div class="content">
|
||||
<div class="divIconCloseModal"><img id="IconCloseEdit" src="/Images/Icons/iconshock-cross-16px.png" /></div><h2><asp:Literal ID="LiteralEditHeader" runat="server"/></h2>
|
||||
<table id="gridTransaction" class="easyui-datagrid" style="width:100%;height:240px"
|
||||
data-options="rownumbers:false,singleSelect:false,nowrap:false,fitColumns:true,fit:false,showFooter:false,loading:false,selectOnCheck:true,checkOnSelect:true,url:'Json-InspectTransactionData.aspx'"
|
||||
data-options="rownumbers:false,singleSelect:false,nowrap:false,fitColumns:true,fit:true,showFooter:false,loading:false,selectOnCheck:true,checkOnSelect:true,url:'Json-InspectLedgerTxData.aspx'"
|
||||
idField="id">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -88,12 +88,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
row.CreatedByPerson.Initials) + "},");
|
||||
}
|
||||
|
||||
if (rows.Count == 0)
|
||||
Int64 amountCentsTotal = transaction.Rows.AmountCentsTotal;
|
||||
|
||||
if (amountCentsTotal == 0)
|
||||
{
|
||||
// If there are no transactions in this time period, say so
|
||||
|
||||
result.Append ("{\"description\":\"" +
|
||||
JsonSanitize (Resources.Pages.Ledgers.InspectLedgers_NoTransactions) + "\"},");
|
||||
result.Append ("{\"accountName\":\"" +
|
||||
JsonSanitize (Resources.Pages.Ledgers.InspectLedgers_UnbalancedTransaction) + "\"},");
|
||||
}
|
||||
|
||||
Response.Output.WriteLine ("[" + result.ToString().TrimEnd (',') + "]");
|
||||
|
||||
Reference in New Issue
Block a user