You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

176 lines
10 KiB

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TxnSummaryManage.aspx.cs" Inherits="Swift.web.Responsive.AdminPanel.TxnSummary.TxnSummaryManage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<script src="../../../js/functions.js"></script>
<link href="../../../ui/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<link href="../../../ui/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="../../../css/swift_component.css" rel="stylesheet" type="text/css" />
<link href="../../../ui/css/style.css" rel="stylesheet" />
<script src="../../../js/jQuery/jquery-1.4.1.js"></script>
<link href="../../../js/jQuery/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="../../../js/jQuery/jquery-ui.min.js"></script>
<script src="../../../js/swift_calendar.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function OpenReport(rType) {
//if (!window.Page_ClientValidate('report'))
// return false;
var country = $('#beneficiary option:selected').text();
var agent = GetValue("<% =agentName.ClientID %>");
var branch = GetValue("<% =branch.ClientID %>");
var status = GetValue("<% =status.ClientID %>");
var dateType = GetValue("<% =dateType.ClientID %>");
var from = GetValue("<% =from.ClientID %>");
var to = GetValue("<% =to.ClientID %>");
var url = "/Responsive/Reports.aspx?reportName=rsptxnsummaryrpt&beneficiary=" + country +
"&agentName=" + agent +
"&branch=" + branch +
"&status=" + status +
"&date=" + dateType +
"&from=" + from +
"&to=" + to +
"&rType=" + rType;
OpenInNewWindow(url);
return false;
}
function LoadCalendars() {
ShowCalFromTo("#<% =from.ClientID%>", "#<% =to.ClientID%>", 1);
}
LoadCalendars();
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div class="page-wrapper">
<div class="row">
<div class="col-sm-12">
<div class="page-title">
<ol class="breadcrumb">
<li><a href="../../../Agent/AgentMain.aspx" target="mainFrame"><i class="fa fa-home"></i></a></li>
<li><a href="#" onclick="return LoadModuleAgentMenu('reports')">Reports</a></li>
<li class="active"><a href="Manage.aspx">Transaction Summary Report</a></li>
</ol>
</div>
</div>
</div>
<div class="row">
<div class="col-md-9">
<div class="panel panel-default ">
<div class="panel-heading">
<h4 class="panel-title">Transaction Summary Report</h4>
<div class="panel-actions">
<a href="#" class="panel-action panel-action-toggle" data-panel-toggle></a>
</div>
</div>
<div class="panel-body">
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
<div class="form-group">
<label class="col-md-3 control-label">
Beneficiary :
</label>
<div class="col-md-9">
<asp:DropDownList ID="beneficiary" runat="server" CssClass="form-control" AutoPostBack="false"></asp:DropDownList>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
Agent Name :
</label>
<div class="col-md-9">
<asp:DropDownList ID="agentName" runat="server" CssClass="form-control">
<asp:ListItem Value="">ALL</asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
Sending Branch :
</label>
<div class="col-md-9">
<asp:DropDownList ID="branch" runat="server" CssClass="form-control"></asp:DropDownList>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
Status :
</label>
<div class="col-md-9">
<asp:DropDownList ID="status" runat="server" CssClass="form-control">
<asp:ListItem Value="">All</asp:ListItem>
<asp:ListItem Value="Paid">Paid-Only</asp:ListItem>
<asp:ListItem Value="Unpaid">Unpaid-Only</asp:ListItem>
<asp:ListItem Value="Post">Post-Only</asp:ListItem>
</asp:DropDownList>
</div>
</div>
<div class="form-group form-inline">
<label class="col-md-3 control-label">
Date :
</label>
<div class="col-md-3">
<label>Date Type</label><br />
<asp:DropDownList ID="dateType" runat="server" CssClass="form-control">
<asp:ListItem Value="createdDate">By TRN Date</asp:ListItem>
<asp:ListItem Value="approvedDate" Selected="true">By Confirm Date</asp:ListItem>
<asp:ListItem Value="PaidDate">By Paid Date</asp:ListItem>
</asp:DropDownList>
</div>
<div class="col-md-3">
From Date :
<div class="input-group m-b">
<span class="input-group-addon">
<i class="fa fa-calendar" aria-hidden="true"></i>
</span>
<asp:TextBox ID="from" runat="server" ReadOnly="true" CssClass="form-control"></asp:TextBox>
</div>
</div>
<div class="col-md-3">
To Date :
<div class="input-group m-b">
<span class="input-group-addon">
<i class="fa fa-calendar" aria-hidden="true"></i>
</span>
<asp:TextBox ID="to" runat="server" placeholder="To Date" ReadOnly="true" CssClass="form-control"></asp:TextBox>
</div>
</div>
</div>
<div class="form-group form-inline">
<div class="col-md-12 col-md-offset-3">
<input type="button" id="btnDetail" value="View Detail" class="btn btn-primary m-t-25" onclick="OpenReport('Detail');" onclick=" return btnDetail_onclick()" onclick=" return btnDetail_onclick()" />
<input type="button" id="Button1" value="View BranchWise Report" class="btn btn-primary m-t-25" onclick="OpenReport('BranchWise');" />
<input type="button" id="Button3" value="View Rec.CountryWise Report" class="btn btn-primary m-t-25" onclick="OpenReport('ReceivingAgentCountryWise');" />
</div>
</div>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="beneficiary" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
</html>
<script type="text/javascript" language="javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequest);
function EndRequest(sender, args) {
if (args.get_error() == undefined) {
LoadCalendars();
}
}
</script>