Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/expenses.htm
<!-- TITLE: Expenses -->

<script type="text/javascript">

function PrintExpenses(){
  var f = document.frm;
  var ms = f.month_s.value;
  var ds = f.day_s.value;
  var me = f.month_e.value;
  var de = f.day_e.value;
  if(ms<10) ms = '0'+ ms;
  if(ds<10) ds = '0'+ ds;
  if(me<10) me = '0'+ me;
  if(de<10) de = '0'+ de;
 
  var dts = f.year_s.value+'-'+ms+'-'+ds;
  var dte = f.year_e.value+'-'+me+'-'+de;
  var extra_p = '&ds=' + escape(dts) + '&de=' + escape(dte);
  OpenPreview('index.php?page=payment&pg=expenses_print' + extra_p);
}

</script>

<table width="100%" border=0>

<form name=frm>

<input type=hidden name=page value=payment>
<input type=hidden name=pg value=expenses>

<tr>
<td valign=top nowrap>
From ##dt_start## &nbsp; To ##dt_end##
<input type=button class=button value=" Print " OnClick="PrintExpenses()">
</td>
<td align=right valign=top>

<select name=sort_by class="txt8">
<option value="">- Sort by -
##sort_by##
</select>

<select name=a_d class="txt8">
##a_d##
</select><input type=submit value=" Go " class=button>

</td>
</tr>
<tr>
<td class=txt9 nowrap>
<b>Total Income: <font color=red>##total_earned##</font> &nbsp;|&nbsp; Total Expense: <font color=red>##total_spent##</font></b>
&nbsp;|&nbsp; <font class=txt8><a href="index.php?page=payment"><b>MANAGE TRANS.</b></a>
</td>
<td class=txt8 valign=top><center>
<a href="index.php?page=payment&pg=expense_add"><b>REGISTER EXPENSE</b></a>&nbsp; (for advertising,<br /> custom programming, additional software, etc)
</td>
</tr>

</form>


</table>

<table border="0" cellPadding=2 cellSpacing="1" width=600 align=center>



<form method=post>


      <tr vAlign="center">

        <td width="3%" valign=top>

          <b>No.</b>

        </td>

        <td width="3%">

          &nbsp;

        </td>

        <td width="3%">

          &nbsp;

        </td>

        <td width="91%" valign=top>
          <b>Expense Details</b>
        </td>

      </tr>

      <tr>

        <td colspan="4"><hr size=1>

        </td>

      </tr>

      


<!-- TPL_INSERT : row -->
<!-- TPL_CELL : def -->


  <tr vAlign="center">

    <td align="middle" vAlign="top" width="3%">

    ##number##.

    </td>

    <td align="middle" vAlign="top" width="3%">

      <input type=checkbox name=chk_id[] value="##id##" class=checkbox>
    </td>

    <td align="middle" vAlign="top" width="3%">

      <a href="index.php?page=payment&pg=expense_add&id=##id##"><img src=../img/admin/modify.gif alt="[M]" border=0></a>

    </td>

    <td align="left" vAlign="top" width="91%" class=txt9>

<b>Date :</b> ##cdate##<br />
<b>Amount : <font color=blue>##amount##</font></b><br />
<b>Reason :</b> ##descr##

    </td>

  </tr> 

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : row -->


      <tr>

        <td colspan="4"><center>



<p>

<input type=submit name=go value="Delete" class=button 
OnClick="return confirm('Delete ?')"><input type=reset 
value="Reset" class=button>

<p>

##nav##


        </td>

      </tr>


      

</form>


    </table>

Return current item: Esvon Personals