[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bank account view of contact - need new field: remark - 1.3.34 (svn)


I just modified the UI to include an additional field for  each bank account: this is for store additional information, like:

This is very useful, especially you have vendor with multiple bank accounts.

In fact, I also have several accounts for different purposes.

This modification does not include the back-end (database modification, load/save the field), only UI (visual enhance :)

Could someone create the necessary modification on the system to get it work?




UI/Contact# diff -u contact.html contact_modified.html
--- contact.html 2013-08-08 14:56:22.000000000 +0200
+++ contact_modified.html 2013-08-09 09:18:50.000000000 +0200
@@ -1044,12 +1044,14 @@
<tr class="listheading">
<th class="bic"><?lsmb text('BIC/SWIFT Code') ?></th>
<th class="iban"><?lsmb text('Account Number') ?></th>
+ <th class="remark"><?lsmb text('Remark') ?></th>
<th class="actions"><?lsmb text('Actions') ?></th>
<?lsmb FOREACH ba = bank_account ?>
<td class="bic"><?lsmb ba.bic ?></td>
<td class="iban"><?lsmb ba.iban ?></td>
+ <td class="iban"><?lsmb ba.remark ?></td>
<td class="actions">
<a href=""text"
+ label = text('Remark')
+ name="remark"
+ value=remark
+ size=20
+ } #' ?>
+ </div>
<div><?lsmb PROCESS button element_data = {