Beispiel #1
0
</td>
  </tr>
  <tr>
  <th>Charge Recieved on Loan</th>
  <td><?php 
echo charge_total()[0];
?>
</td>
  </tr>

  <tr>
    <th>
      Total Expected Income
    </th>
    <td><?php 
echo thrift_special(1)[3] + thrift_special(2)[3] + loan_report()[2];
?>
</td>
  </tr>
  <tr>
  <th>Total Paid on PassBook</th>
  <td><?php 
echo charge_total()[1];
?>
</td>
  </tr>
  <tr>
    <th>
Available Funds
    </th>
    <td><?php 
Beispiel #2
0
    <th>
      Total Interest Recieved
    </th>
      <td>
      <?php 
echo round(loan_report()[1], 2);
?>
    </td>
  </tr>
  <tr>
    <th>
      Expected Loan Recovered
    </th>
    <td>
      <?php 
echo loan_report()[2];
?>
    </td>
  </tr>
</table>
<table class="table">
  <thead>
  <tr>

    <td>
      <strong><h4>WITHDRAWAL REPORT SUMMARY</h4></strong>
    </td>
  </tr>
  </thead>
  <tr>
    <th>
Beispiel #3
0
    <th>
      Total Interest Recieved
    </th>
    <td>
      <?php 
echo loan_report_mnt()[1];
?>
    </td>
  </tr>
  <tr>
    <th>
      Overall Loan Recovered
    </th>
    <td>
      <?php 
echo loan_report()[0];
?>
    </td>
  </tr>
</table>
</div>
</div>
<?php 
$top = "<div class=box>\n<div class=box-body no-padding>\n<table class=table id=tableentry>\n<thead>\n  <tr>\n    <th>S/N</th>\n    <th>NAME</th>\n    <th>AMOUNT</th>\n    <th>PAID</th>\n    <th>AMT_MNT</th>\n    <th>INTEREST</th>\n    <th>DATE</th>\n  </tr>\n</thead>\n<tbody>";
$body = ' ';
$date = date("Y-m-d");
$date = split('-', $date);
$date = $date[0] . "-" . $date['1'];
$result = query("SELECT * FROM loan WHERE date_incured LIKE '{$date}-%' ORDER BY date_incured");
$i = 0;
while ($row = mysql_fetch_array($result)) {