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

SF.net SVN: ledger-smb: [399] trunk/bin/ct.pl



Revision: 399
          http://svn.sourceforge.net/ledger-smb/?rev=399&view=rev
Author:   tetragon
Date:     2006-10-30 13:33:53 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Button update

Modified Paths:
--------------
    trunk/bin/ct.pl

Modified: trunk/bin/ct.pl
===================================================================
--- trunk/bin/ct.pl	2006-10-30 21:28:30 UTC (rev 398)
+++ trunk/bin/ct.pl	2006-10-30 21:33:53 UTC (rev 399)
@@ -1631,19 +1631,19 @@
 # type=submit $locale->text('Delete')
 # type=submit $locale->text('POS')
 
-  %button = ('Save' => { ndx => 1, key => 'S', value => $locale->text('Save') },
-             'Save as new' => { ndx => 2, key => 'N', value => $locale->text('Save as new') },
-	     'AR Transaction' => { ndx => 7, key => 'A', value => $locale->text('AR Transaction') },
-	     'AP Transaction' => { ndx => 8, key => 'A', value => $locale->text('AP Transaction') },
-	     'Sales Invoice' => { ndx => 9, key => 'I', value => $locale->text('Sales Invoice') },
-	     'POS' => { ndx => 10, key => 'C', value => $locale->text('POS') },
-	     'Sales Order' => { ndx => 11, key => 'O', value => $locale->text('Sales Order') },
-	     'Quotation' => { ndx => 12, key => 'Q', value => $locale->text('Quotation') },
-	     'Vendor Invoice' => { ndx => 13, key => 'I', value => $locale->text('Vendor Invoice') },
-	     'Purchase Order' => { ndx => 14, key => 'O', value => $locale->text('Purchase Order') },
-	     'RFQ' => { ndx => 15, key => 'Q', value => $locale->text('RFQ') },
-	     'Pricelist' => { ndx => 16, key => 'P', value => $locale->text('Pricelist') },
-	     'Delete' => { ndx => 17, key => 'D', value => $locale->text('Delete') },
+  %button = ('save' => { ndx => 1, key => 'S', value => $locale->text('Save') },
+             'save_as_new' => { ndx => 2, key => 'N', value => $locale->text('Save as new') },
+	     'ar_transaction' => { ndx => 7, key => 'A', value => $locale->text('AR Transaction') },
+	     'ap_transaction' => { ndx => 8, key => 'A', value => $locale->text('AP Transaction') },
+	     'sales_invoice' => { ndx => 9, key => 'I', value => $locale->text('Sales Invoice') },
+	     'pos' => { ndx => 10, key => 'C', value => $locale->text('POS') },
+	     'sales_order' => { ndx => 11, key => 'O', value => $locale->text('Sales Order') },
+	     'quotation' => { ndx => 12, key => 'Q', value => $locale->text('Quotation') },
+	     'vendor_invoice' => { ndx => 13, key => 'I', value => $locale->text('Vendor Invoice') },
+	     'purchase_order' => { ndx => 14, key => 'O', value => $locale->text('Purchase Order') },
+	     'rfq' => { ndx => 15, key => 'Q', value => $locale->text('RFQ') },
+	     'pricelist' => { ndx => 16, key => 'P', value => $locale->text('Pricelist') },
+	     'delete' => { ndx => 17, key => 'D', value => $locale->text('Delete') },
 	    );
   
   
@@ -2083,8 +2083,8 @@
 # type=submit $locale->text('Update')
 # type=submit $locale->text('Save Pricelist')
 
-  %button = ('Update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
-             'Save Pricelist' => { ndx => 3, key => 'S', value => $locale->text('Save Pricelist') },
+  %button = ('update' => { ndx => 1, key => 'U', value => $locale->text('Update') },
+             'save_pricelist' => { ndx => 3, key => 'S', value => $locale->text('Save Pricelist') },
 	    ); 
 	     
   for (sort { $button{$a}->{ndx} <=> $button{$b}->{ndx} } keys %button) { $form->print_button(\%button, $_) }


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