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

SF.net SVN: ledger-smb:[6815] trunk/LedgerSMB/Scripts/timecard.pm



Revision: 6815
          http://sourceforge.net/p/ledger-smb/code/6815
Author:   einhverfr
Date:     2014-02-08 03:10:39 +0000 (Sat, 08 Feb 2014)
Log Message:
-----------
Fixing date worked field not filled in properly where timecard is retrieved

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/timecard.pm

Modified: trunk/LedgerSMB/Scripts/timecard.pm
===================================================================
--- trunk/LedgerSMB/Scripts/timecard.pm	2014-02-08 03:06:42 UTC (rev 6814)
+++ trunk/LedgerSMB/Scripts/timecard.pm	2014-02-08 03:10:39 UTC (rev 6815)
@@ -240,6 +240,9 @@
 sub get {
     my ($request) = @_;
     my $tcard = LedgerSMB::Timecard->get($request->{id});
+    $tcard->{transdate} = LedgerSMB::PGDate->from_db(
+              $tcard->checkedin->to_db, 
+             'date');
     display($tcard);
 }
 

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits