[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6410] trunk/bin
- Subject: SF.net SVN: ledger-smb:[6410] trunk/bin
- From: ..hidden..
- Date: Tue, 7 Jan 2014 09:30:30 +0000
Revision: 6410
http://sourceforge.net/p/ledger-smb/code/6410
Author: einhverfr
Date: 2014-01-07 09:30:22 +0000 (Tue, 07 Jan 2014)
Log Message:
-----------
More removals of code depending on checking the commit transaction status.
Modified Paths:
--------------
trunk/bin/ic.pl
trunk/bin/ir.pl
Modified: trunk/bin/ic.pl
===================================================================
--- trunk/bin/ic.pl 2014-01-07 09:27:58 UTC (rev 6409)
+++ trunk/bin/ic.pl 2014-01-07 09:30:22 UTC (rev 6410)
@@ -1849,6 +1849,7 @@
# save part
$rc = IC->save( \%myconfig, \%$form );
+ $rc = 1;
$parts_id = $form->{id};
Modified: trunk/bin/ir.pl
===================================================================
--- trunk/bin/ir.pl 2014-01-07 09:27:58 UTC (rev 6409)
+++ trunk/bin/ir.pl 2014-01-07 09:30:22 UTC (rev 6410)
@@ -1415,12 +1415,8 @@
( $form->{AP} ) = split /--/, $form->{AP};
( $form->{AP_paid} ) = split /--/, $form->{AP_paid};
- if ( IR->post_invoice( \%myconfig, \%$form ) ) {
- edit();
- }
- else {
- $form->error( $locale->text('Cannot post invoice!') );
- }
+ IR->post_invoice( \%myconfig, \%$form );
+ edit();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits