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

SF.net SVN: ledger-smb:[5649] trunk/bin/oe.pl



Revision: 5649
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5649&view=rev
Author:   einhverfr
Date:     2013-02-07 08:44:41 +0000 (Thu, 07 Feb 2013)
Log Message:
-----------
Print and save buttons now work on orders and quotations.

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

Modified: trunk/bin/oe.pl
===================================================================
--- trunk/bin/oe.pl	2013-02-07 08:28:06 UTC (rev 5648)
+++ trunk/bin/oe.pl	2013-02-07 08:44:41 UTC (rev 5649)
@@ -1231,6 +1231,7 @@
 }
 
 sub save {
+    delete $form->{display_form};
     if (!$form->close_form()){
        $form->{notice} = $locale->text(
                 'Could not save the data.  Please try again'
@@ -1306,6 +1307,7 @@
     }
 
     if ( !$form->{repost} ) {
+       $form->{repost} = 1;
        my $template = LedgerSMB::Template->new_UI(
         user => \%myconfig,
         locale => $locale,

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