From e877b469af02884f1e7b2dd0d80fc7ab2e1f13a4 Mon Sep 17 00:00:00 2001 From: tetragon Date: Sun, 4 Nov 2007 01:40:18 +0000 Subject: Templating the existing customer/vendor add/edit form, needs alignment work git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1849 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/ct.pl | 479 ++++++++++++++++---------------------------------------------- 1 file changed, 121 insertions(+), 358 deletions(-) (limited to 'bin') diff --git a/bin/ct.pl b/bin/ct.pl index 770e0960..8244738b 100644 --- a/bin/ct.pl +++ b/bin/ct.pl @@ -1262,152 +1262,83 @@ sub form_header { $form->format_amount( \%myconfig, $form->{discount}, "" ); $form->{terms} = $form->format_amount( \%myconfig, $form->{terms}, "" ); - if ( $myconfig{role} =~ /(admin|manager)/ ) { - $bcc = qq| - - | . $locale->text('Bcc') . qq| - - -|; - } - if ( $form->{currencies} ) { - # currencies - for ( split /:/, $form->{currencies} ) { - $form->{selectcurrency} .= "