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

SF.net SVN: ledger-smb:[6661] trunk



Revision: 6661
          http://sourceforge.net/p/ledger-smb/code/6661
Author:   einhverfr
Date:     2014-01-27 05:15:21 +0000 (Mon, 27 Jan 2014)
Log Message:
-----------
Timecard printing now appears to work

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/timecard.pm
    trunk/UI/timecards/timecard.html

Modified: trunk/LedgerSMB/Scripts/timecard.pm
===================================================================
--- trunk/LedgerSMB/Scripts/timecard.pm	2014-01-27 04:49:37 UTC (rev 6660)
+++ trunk/LedgerSMB/Scripts/timecard.pm	2014-01-27 05:15:21 UTC (rev 6661)
@@ -200,7 +200,7 @@
   no_auto_output => 1,
         format   => $request->{format} || 'HTML'
     );
-    $template->render;
+    $template->render($request);;
     $template->output(%$request);
     $request->finalize_request if $request->{media} eq 'screen';
     display($request);

Modified: trunk/UI/timecards/timecard.html
===================================================================
--- trunk/UI/timecards/timecard.html	2014-01-27 04:49:37 UTC (rev 6660)
+++ trunk/UI/timecards/timecard.html	2014-01-27 05:15:21 UTC (rev 6661)
@@ -5,6 +5,13 @@
 ?>
 <body class="<?lsmb dojo_theme ?>">
 <form action="timecard.pl" method="post">
+<?lsmb FOR hidden IN ['id', 'parts_id'];
+PROCESS input element_data = {
+    type = 'hidden'
+    name = hidden
+   value = $hidden
+};
+END; ?>
 <div class="listtop"><?lsmb text('Time or Materials Card') ?></div>
 <table>
 <tr><th colspan="2" class="listtop"><?lsmb text('Category') ?> : 

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits