Current File : /home/inlingua/public_html/sensoriumpsychologists.com/diagnostics/screening/transaction_summary.php
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/user_details_msg_setup.php");?>
<?php require_once("../franchise_between/e_wallet_funcs.php");?>
<?php require_once("../franchise_between/reports.php");?>
<?php
$fund_by_cheque=0;
$fund_by_dd=0;
$fund_by_neft=0;
$fund_by_online=0;
$fund_by_cash=0;
$total_refund=0;
$e_wallet_obj=new e_wallet();
$e_wallet_obj->set_value("franchise_id",$session_id);
$e_wallet_obj->e_wallet_summary();
$fund_by_cheque=$e_wallet_obj->get_value("fund_by_cheque");
$fund_by_dd=$e_wallet_obj->get_value("fund_by_dd");
$fund_by_neft=$e_wallet_obj->get_value("fund_by_neft");
$fund_by_online=$e_wallet_obj->get_value("fund_by_online");
$fund_by_cash=$e_wallet_obj->get_value("fund_by_cash");
$total_refund=$e_wallet_obj->get_value("total_refund");
$total_student_fees=$e_wallet_obj->get_value("total_student_fees");
?>
<?php
$total_fund_added=$fund_by_cheque+$fund_by_dd+$fund_by_neft+$fund_by_online+$fund_by_cash+$total_refund;
$total_funds_used=$total_student_fees;
$balance=$total_fund_added-$total_funds_used;
?>
<?php
$sort_by="";
$sort_order="ASC";
$page_no_postback=0;
$per_page_url=50;
$summary_to="0000-00-00";
$summary_from="0000-00-00";
$summary_to_postback="";
$summary_from_postback="";
?>
<!doctype html>
<html>
<?php include("common/page_head.php");?>
<body>
<?php include("common/header_var.php");?>
<?php
$top_home=$top_val;
?>
<?php include("common/header.php");?>
<div id="main_container">
<form name="my_filters_form" method="get">
<table style="width:90%;margin:auto;font-size:1em;" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><h2 style="color:#333;line-height:50px;">E-WALLET TRANSACTION REPORT</h2></td>
  </tr>
  <tr>
    <td>

<table style="width:98%;margin:auto;font-size:1em;color:#333;line-height:35px;" border="0" cellpadding="3px" cellspacing="0">
  <tr>
    <td>
      <table cellpadding="0" cellspacing="0">
        <tr>
          <td>
      Per Page : 
      <select name="per_page" id="per_page">
        <option
<?php
if($per_page_url=="50")
{
echo(" selected");
}
?>
>50</option>
        <option
<?php
if($per_page_url=="100")
{
echo(" selected");
}
?>
>100</option>
        <option
<?php
if($per_page_url=="500")
{
echo(" selected");
}
?>
>500</option>
        <option
<?php
if($per_page_url=="1000")
{
echo(" selected");
}
?>
>1000</option>
      </select>
    </td>
    </tr>
    </table>
    </td>
    <td align="right"><input type="button" onClick="window.location.href='transaction_summary.php'" value="Reset" />&nbsp;&nbsp;&nbsp;<input type="button" onClick="validate_form()" value="Apply Now" /></td>
  </tr>
</table>
<fieldset>
<legend>SUMMARY</legend>
  <table border="0" class="tables_fieldset" cellpadding="0" cellspacing="0">
    <tr valign="top">
      <td>
      Current E-Wallet Balance : <?php echo($balance);?>
      </td>
    </tr>
  </table>
</fieldset>
<br>
<table style="width:98%;margin:auto;font-size:1em;color:#333;font-weight:bold;" border="0" cellpadding="3px" cellspacing="0">
  <tr>
    <td>
    </td>
    <td align="right">
    <span id="total_found_span"></span>
    </td>
  </tr>
</table>
<input type="hidden" name="page_no" id="page_no" value="<?php echo($page_no_postback);?>" />
<input type="hidden" id="per_page_url" value="<?php echo($per_page_url);?>" />
<input type="hidden" id="sort_by_reset_page" value="<?php echo($sort_by);?>" />
<input type="hidden" id="sort_order_reset_page" value="<?php echo($sort_order);?>" />
<input type="hidden" id="summary_from_reset_page" value="<?php echo($summary_from_postback);?>" />
<input type="hidden" id="summary_to_reset_page" value="<?php echo($summary_to_postback);?>" />
</form>
<table style="margin-left:1%;font-size:1em;color:#333;" border="1" cellpadding="3px" cellspacing="0">
  <tr style="font-weight:bold;" class="table_headers">
		<td>S.NO</td>
		<td>DATE</td>
		<td>PARTICULARS</td>
		<td>TYPE</td>
        <td>SELL VALUE (Rs.)</td>
        <td>AMOUNT PAID (Rs.)</td>
          </tr>
<?php
$reports_obj=new reports();
$reports_obj->set_value("sort_by",$sort_by);
$reports_obj->set_value("sort_order",$sort_order);
$reports_obj->set_value("per_page",$per_page_url);
$reports_obj->set_value("page_no",$page_no_postback);
$reports_obj->ewallet_transaction_report_between($session_id);
?>
        </table>
<table style="margin-left:1%;font-size:1em;" border="0" cellpadding="3px" cellspacing="0" class="page_no">
  <tr>
    <td>
      <table>
      <?php
	  $reports_obj->pagination();
	  ?>
      </table>
    </td>
  </tr>
</table><br>
</div>
</body>	
</html>