User bank information

Hi Kovah

I am from Georgia, and now i’m working on Georgian Language
you have very good project
but for my needs I changed, added and I want to add some change with your permission :smile:

  1. in an invoice there is no payment for a bank transfer
    for this purpose i changed file:

000_1.0.0.sql
add
user_bank VARCHAR(20) DEFAULT ‘’,
user_bank_id VARCHAR(20) DEFAULT ‘’,
user_bank_account VARCHAR(20) DEFAULT ‘’,

language/english/ip_lang.php
add
‘bank_information’ => ‘Bank Information’,
‘bank_name’ => ‘Bank name’,
‘bank_id’ => ‘Bank ID’,
‘bank_account’ => ‘Bank Account’,

application/modules/users/views/form.php
add

<?php echo lang('bank_information'); ?>
<div class="form-group">
    <div class="col-xs-12 col-sm-3 text-right text-left-xs">
        <label class="control-label">
            <?php echo lang('bank_name'); ?>
        </label>
    </div>
    <div class="col-xs-12 col-sm-6">
        <input type="text" name="user_bank_name" id="user_bank_name" class="form-control"
               value="<?php echo $this->mdl_users->form_value('bank_name'); ?>">
    </div>
</div>

<div class="form-group">
    <div class="col-xs-12 col-sm-3 text-right text-left-xs">
        <label class="control-label">
            <?php echo lang('bank_id'); ?>
        </label>
    </div>
    <div class="col-xs-12 col-sm-6">
        <input type="text" name="user_bank_id" id="user_bank_id" class="form-control"
               value="<?php echo $this->mdl_users->form_value('bank_id'); ?>">
    </div>
</div>

<div class="form-group">
    <div class="col-xs-12 col-sm-3 text-right text-left-xs">
        <label class="control-label">
            <?php echo lang('bank_account'); ?>
        </label>
    </div>
    <div class="col-xs-12 col-sm-6">
        <input type="text" name="user_bank_account" id="user_bank_account" class="form-control"
               value="<?php echo $this->mdl_users->form_value('bank_account'); ?>">
    </div>
</div>

I didn’t add function of record and editing these fields yet


  1. Custom Fields (version 1.4.4)
    more than two fields don’t add

. . .

I am going to add in dashboard CanvasJS Charts and Calendar for Events
but I think that in in the version 2.* it will be :smile:

whether I can see version 2.* alfa, beta . . . ?

Thank you
P.S. Sorry my English

2 Likes

[size=10]Last Update: 12.02.2016[/size]

I moved this post to this new topic as it’s way to overloaded with information not related to the dashboard question.

but after adding this 2 COLUMNS, how can i add them to the DB Table ?
i have already created the .sql file with the following code {
ALTER TABLE ip_invoices
ADD invoice_type_id TINYINT(2) NOT NULL DEFAULT ‘1’
AFTER client_id;
}
but i need to run the Query to add the COLUMN to the DB ! . is there is a Paramater i need to run in the URL or how should i do it ?