[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3260] trunk/bin
- Subject: SF.net SVN: ledger-smb:[3260] trunk/bin
- From: ..hidden..
- Date: Thu, 16 Jun 2011 02:21:51 +0000
Revision: 3260
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3260&view=rev
Author: einhverfr
Date: 2011-06-16 02:21:51 +0000 (Thu, 16 Jun 2011)
Log Message:
-----------
Buttons for email and printing removed for unposted transactions and unsaved orders.
Modified Paths:
--------------
trunk/bin/aa.pl
trunk/bin/is.pl
trunk/bin/oe.pl
Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl 2011-06-16 01:17:35 UTC (rev 3259)
+++ trunk/bin/aa.pl 2011-06-16 02:21:51 UTC (rev 3260)
@@ -1003,13 +1003,16 @@
}
elsif (!$form->{id}) {
- for ( "post_as_new", "print_and_post_as_new", "delete","save_info" ) {
+ for ( "post_as_new", "print_and_post_as_new", "delete","save_info",
+ "print") {
delete $button{$_};
}
delete $button{"print_and_post"} if !${LedgerSMB::Sysconfig::latex};
if ( $transdate && ($transdate <= $closedto) ) {
- for ( "post", "print_and_post","save_info" ) { delete $button{$_} }
+ for ( "post", "print_and_post","save_info") {
+ delete $button{$_};
+ }
}
}
Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl 2011-06-16 01:17:35 UTC (rev 3259)
+++ trunk/bin/is.pl 2011-06-16 02:21:51 UTC (rev 3260)
@@ -824,7 +824,7 @@
if ( $transdate > $closedto ) {
# Added on_hold, by Aurynn.
- for ( "update", "ship_to", "print", "e_mail", "post",
+ for ( "update", "ship_to", "post",
"schedule", "on_hold" )
{
$allowed{$_} = 1;
Modified: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl 2011-06-16 01:17:35 UTC (rev 3259)
+++ trunk/bin/oe.pl 2011-06-16 02:21:51 UTC (rev 3260)
@@ -813,7 +813,7 @@
);
%a = ();
- for ( "update", "ship_to", "print", "e_mail", "save" ) { $a{$_} = 1 }
+ for ( "update", "ship_to", "save" ) { $a{$_} = 1 }
$a{'print_and_save'} = 1 if ${LedgerSMB::Sysconfig::latex};
if ( $form->{id} ) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.