[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)




 Hi,

Just updated the patch with some modifications:

Several input fields and labels were too short, I increased their widths to get a more comfortable width.

Now translated labels are in one line instead of wrapping into 2 or 3 lines, input fields are wide enough to see a complete IBAN number etc.

https://sourceforge.net/p/ledger-smb/proposals/6/

Cheers,

István

 

----------------eredeti üzenet-----------------
Feladó: "Chris Travers" <..hidden..>
Címzett: "Development discussion for LedgerSMB" <..hidden..>
Dátum: Fri, 9 Aug 2013 00:37:28 -0700
----------------------------------------------------------


Hi,

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:

Hi,

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?

Thanks!

István

 

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>
</tr>
<?lsmb FOREACH ba = bank_account ?>
<tr>
<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=""http://ba.id" target="_blank">ba.id
@@ -1104,6 +1106,15 @@
size=20
} #' ?>
</div>
+ <div>
+ <?lsmb PROCESS input element_data = {
+ type="text"
+ label = text('Remark')
+ name="remark"
+ value=remark
+ size=20
+ } #' ?>
+ </div>
<div><?lsmb PROCESS button element_data = {
name="action"
value="save_bank_account"

 


------------------------------------------------------------------------------
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.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel



 
--
Best Wishes,
Chris Travers
 
Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.
http://www.efficito.com/learn_more.shtml


------------------------------------------------------------------------------
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 


_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel