<commit_before><?php

defined('BASEPATH') OR exit('No direct script access allowed');
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Accounting
 *
 * @author <NAME>
 */
class Bank extends CI_Controller {
            
    function __construct() {
        parent::__construct();
        date_default_timezone_set('Asia/Dhaka');
        $this->load->library('tank_auth');
        if (!$this->tank_auth->is_logged_in()) {         //not logged in
            redirect('login');
            return 0;
        }
        $this->load->library('grocery_CRUD');
        $this->load->model('Common');
       
    }
    
    function index(){
        $data['theme_asset_url'] = base_url() . $this->config->item('THEME_ASSET');
        $data['base_url'] = base_url();
        $data['Title'] = 'Bank Dashboard';
        
        $this->load->view($this->config->item('ADMIN_THEME').'bank/bank_dashboard', $data);
    }
    
     function bank_management() {
        $crud = new grocery_CRUD();
        $crud->set_table('bank_management')
                ->set_relation('id_account', 'bank_account', 'id_bank_account')
                ->set_relation('id_bank', 'bank', 'name_bank');
        $output = $crud->render();
        $data['glosary'] = $output;
        
        $data['theme_asset_url'] = base_url() . $this->config->item('THEME_ASSET');<commit_msg>Revert "Contact record and attached files Deletion action finished"<commit_after><?php

defined('BASEPATH') OR exit('No direct script access allowed');
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Accounting
 *
 * @author <NAME>
 */
class Bank extends CI_Controller {
            
    function __construct() {
        parent::__construct();
        date_default_timezone_set('Asia/Dhaka');
        $this->load->library('tank_auth');
        if (!$this->tank_auth->is_logged_in()) {         //not logged in
            redirect('login');
            return 0;
        }
        $this->load->library('grocery_CRUD');
        $this->load->model('Common');
       
    }
    
    function index(){
        $data['theme_asset_url'] = base_url() . $this->config->item('THEME_ASSET');
        $data['base_url'] = base_url();
        $data['Title'] = 'Bank Dashboard';
        
        $this->load->view($this->config->item('ADMIN_THEME').'bank/bank_dashboard', $data);
    }
    
     function bank_management() {
        $crud = new grocery_CRUD();
        $crud->set_table('bank_management')
                ->set_relation('id_account', 'bank_account', 'id_bank_account');
        $output = $crud->render();
        $data['glosary'] = $output;
        
        $data['theme_asset_url'] = base_url() . $this->config->item('THEME_ASSET');
{'fraction_non_alphanumeric': 0.15815815815815815, 'fraction_numerical': 0.000667334000667334, 'mean_word_length': 2.6164053075995173, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 44, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4129441', 'n_tokens_mistral': 899, 'n_tokens_neox': 892, 'n_words': 182}