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

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


Could you email me this patch as an attachment?  The effort to get this to work on the back-end  is pretty minimal (a transaction in Fixes.sql to add the field, adding it in Pg-database.sql, and some minor changes to Company.sql to add the field).  I could do that easily enough.

Best wishes,
Chris travers

On Fri, Aug 9, 2013 at 12:31 AM, Pongrácz István <..hidden..> wrote:


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

  • account for USD, Central Bank of Taipei
  • account for CHF, Zurich
  • standard HUF account, general usage, MKB bank
  • etc.

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="" script ?>?action="">entity_id ?>&bank_account_id=<?lsmb ba.id
@@ -1104,6 +1106,15 @@
} #' ?>
+ <div>
+ <?lsmb PROCESS input element_data = {
+ type="text"
+ label = text('Remark')
+ name="remark"
+ value=remark
+ size=20
+ } #' ?>
+ </div>
<div><?lsmb PROCESS button element_data = {


Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
Ledger-smb-devel mailing list

Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.