<span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span> <div class="clearfix"></div> </div> </a> </div> </div> <div class="col-lg-3 col-md-6"> <div class="panel panel-red"> <div class="panel-heading"> <div class="row"> <div class="col-xs-3"> <i class="fa fa-krw fa-5x"></i> </div> <div class="col-xs-9 text-right"> <div class="huge"><?php echo callback_format_amount($balance, false); ?> </div> <div>Balance</div> </div> </div> </div> <a href="#"> <div class="panel-footer"> <span class="pull-left"><a href="<?php echo site_url('admin/account'); ?> ">View Details</a></span> <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span> <div class="clearfix"></div> </div>
<th><?php $cha = array_sum(array_column(array_column($yaccount, 'charge'), 'amount')); echo callback_format_amount($cha); ?> </th> <th><?php echo array_sum(array_column(array_column($yaccount, 'recived'), 'num')); ?> </th> <th><?php $rec = array_sum(array_column(array_column($yaccount, 'recived'), 'amount')); echo callback_format_amount($rec); ?> </th> <th><?php echo callback_format_amount($rec - $cha); ?> </th> </tr> </tfoot> </table> </div> <!-- /.col-lg-12 --> </div> </div> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper -->
<th><?php $cha = array_sum(array_column(array_column($yaccount, 'charge'), 'amount')); echo callback_format_amount($cha); ?> </th> <th><?php echo array_sum(array_column(array_column($yaccount, 'recived'), 'num')); ?> </th> <th><?php $rec = array_sum(array_column(array_column($yaccount, 'recived'), 'amount')); echo callback_format_amount($rec); ?> </th> <th><?php echo callback_format_amount($cha - $rec); ?> </th> </tr> </tfoot> </table> </div> </div> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper -->
?> </td> <td><?php echo callback_format_amount($row['pay_amount']); ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <th colspan="2">Total</th> <th><?php echo callback_format_amount(array_sum(array_column($payhist, 'pay_amount'))); ?> </th> </tr> </tfoot> </table> </div> <div class="panel-footer"> </div> </div> </div> </div> <!-- /.row --> </div> <!-- /.container-fluid -->