?> </div> <!-- /.text-right --> </form> </div> <!-- /#profile --> <!-- /profile --> <!-- logs --> <div class="tab-pane fade" id="history"> <div class="h20"></div> <?php $log['user_id'] = $user_id; ?> <?php get_log_table($log, 'DESC', array('user' => false)); ?> </div> <!-- #history --> <!-- /logs --> </div> <!-- /.tab-content --> </div> <!-- /.col-md-8 --> <div class="col-md-4"> <div style="height:10px;"></div>
?> var new_balance = parseFloat(old_balance) - parseFloat(payment); $('#new_balance').val(parseFloat(new_balance).toFixed(2)); <?php } else { ?> var new_balance = parseFloat(old_balance) + parseFloat(payment); $('#new_balance').val(parseFloat(new_balance).toFixed(2)); <?php } ?> } </script> </div> <!-- /#transactions --> <div class="tab-pane fade in" id="history"> <?php get_log_table(array('invoice_id' => $invoice['id']), 'ASC'); ?> </div> <!-- #history --> </div> <!-- /#myTabContent --> <?php calc_account_balance($invoice['account_id']);
<?php } ?> </tbody> </table> <!-- /.table --> </div> <!-- /#invoices --> <!-- history --> <div class="tab-pane fade in" id="history"> <?php get_log_table(array('product_id' => $product['id']), 'DESC'); ?> </div> <!-- /#history --> </div> <!-- /#myTabContent -->
</tr> </tfoot> </table> <?php // update mileage $this->db->where('id', $car['id']); $this->db->update('p_cars', array('now_mileage' => $car['old_mileage'] + $km['km'])); ?> </div> <!-- /.transactions --> <!-- history --> <div class="tab-pane fade in" id="history"> <?php get_log_table(array('other_id' => 'p_car:' . $car['id']), 'DESC'); ?> </div> <!-- /#history --> </div> <!-- /#myTabContent --> <div class="h20"></div> <script> $('.openModal-user_list').click(function() { $('#modal-user_list').click(); }); </script>
<tr> <th colspan="5"></th> <th class="text-right fs-16 text-danger"><?php echo get_account_balance($grand_total['grand_total']); ?> </th> </tr> </tfoot> </table> <!-- /.table --> </div> <!-- /#invoices --> <!-- history --> <div class="tab-pane fade in" id="history"> <?php get_log_table(array('account_id' => $account['id']), 'DESC'); ?> </div> <!-- /#history --> <div class="h20"></div>