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

SF.net SVN: ledger-smb:[6220] trunk



Revision: 6220
          http://sourceforge.net/p/ledger-smb/code/6220
Author:   einhverfr
Date:     2013-11-05 10:42:44 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------
Bank account UI changes merged from Istvan's 1.3 changes

Modified Paths:
--------------
    trunk/LedgerSMB/Entity/Bank.pm
    trunk/UI/Contact/divs/bank_act.html

Modified: trunk/LedgerSMB/Entity/Bank.pm
===================================================================
--- trunk/LedgerSMB/Entity/Bank.pm	2013-11-05 10:35:09 UTC (rev 6219)
+++ trunk/LedgerSMB/Entity/Bank.pm	2013-11-05 10:42:44 UTC (rev 6220)
@@ -79,6 +79,14 @@
 
 has 'iban' => (is => 'rw', isa => 'Str', required => 1);
 
+=item remark
+
+This is a note to help select bank accounts.
+
+=cut
+
+has 'remark' => (is => 'rw', isa => 'Str', required => 0);
+
 =back
 
 =head1 METHODS
@@ -141,4 +149,3 @@
 
 __PACKAGE__->meta->make_immutable;
 
-return 1;

Modified: trunk/UI/Contact/divs/bank_act.html
===================================================================
--- trunk/UI/Contact/divs/bank_act.html	2013-11-05 10:35:09 UTC (rev 6219)
+++ trunk/UI/Contact/divs/bank_act.html	2013-11-05 10:42:44 UTC (rev 6220)
@@ -16,6 +16,7 @@
      { col_id='bic', type='text', name=text('BIC/SWIFT Code') } #'
      { col_id='iban', type='href', href_base=href_base, 
          name=text('Account Number')}#'
+     { col_id='remark', type='text', name=text('Remark') }
      { col_id='delete', type='href', href_base=href_base, name=' ' }
    ];
 ?>
@@ -58,6 +59,15 @@
 		size=20
 	} #' ?>
 	</div></div>
+	<div>
+	<?lsmb PROCESS input element_data = {
+		type="text" 
+		label = text('Remark')
+		name="remark" 
+		value=request.remark
+		size=30
+	} # ?>
+	</div>
 	<div><?lsmb PROCESS button element_data = {
 		name="action" 
 		value="save_bank_account"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits