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

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



Revision: 6031
          http://sourceforge.net/p/ledger-smb/code/6031
Author:   einhverfr
Date:     2013-09-15 13:44:56 +0000 (Sun, 15 Sep 2013)
Log Message:
-----------
Removing jc.pl stub that doesn't go anywhere
Some fixes for timecards, but template does not parse yet.

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/timecard.pm
    trunk/UI/lib/utilities.html
    trunk/UI/timecards/timecard.html
    trunk/sql/Pg-database.sql
    trunk/sql/modules/menu_rebuild.sql

Removed Paths:
-------------
    trunk/jc.pl

Modified: trunk/LedgerSMB/Scripts/timecard.pm
===================================================================
--- trunk/LedgerSMB/Scripts/timecard.pm	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/LedgerSMB/Scripts/timecard.pm	2013-09-15 13:44:56 UTC (rev 6031)
@@ -53,6 +53,7 @@
         template => 'timecard',
         format   => 'HTML'
     );
+    $template->render($request);
 
 }
 

Modified: trunk/UI/lib/utilities.html
===================================================================
--- trunk/UI/lib/utilities.html	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/UI/lib/utilities.html	2013-09-15 13:44:56 UTC (rev 6031)
@@ -24,3 +24,4 @@
         options = printers
  default_values = [media]
 }; ?></div>
+<?lsmb END ?>

Modified: trunk/UI/timecards/timecard.html
===================================================================
--- trunk/UI/timecards/timecard.html	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/UI/timecards/timecard.html	2013-09-15 13:44:56 UTC (rev 6031)
@@ -1,7 +1,7 @@
 <?lsmb INCLUDE 'ui-header.html';
        PROCESS 'elements.html';
        PROCESS 'report_base.html';
-       PROCESS 'utilities';
+       PROCESS 'utilities.html';
 ?>
 <body>
 <form action="timecard.pl" method="post">
@@ -20,7 +20,7 @@
                type = 'text'
                size = '32'
               class = 'control-code'
-         ?>
+         } ?>
     </td>
 </tr>
 <tr><th><?lsmb text('Description') ?></th>
@@ -30,7 +30,7 @@
                type = 'text'
                size = '48'
               class = 'description'
-         ?>
+         } ?>
     </td>
 </tr>
 <tr><th><?lsmb text('Date Worked') ?></th>
@@ -52,14 +52,14 @@
        type = text
       class = 'time-part'
        size = 3
-  maxlength = 2 ?> : 
+  maxlength = 2 } ?> : 
     <?lsmb PROCESS input element_data = {
        name = 'in_min'
       value = in_min
        type = text
       class = 'time-part'
        size = 3
-  maxlength = 2 ?>
+  maxlength = 2 } ?>
  </td> 
 <th><?lsmb text('Time Out') ?></th>
 <td><?lsmb PROCESS input element_data = {
@@ -68,14 +68,14 @@
        type = text
       class = 'time-part'
        size = 3
-  maxlength = 2 ?> : 
+  maxlength = 2 } ?> : 
     <?lsmb PROCESS input element_data = {
        name = 'out_min'
       value = out_min
        type = text
       class = 'time-part'
        size = 3
-  maxlength = 2 ?>
+  maxlength = 2 } ?>
  </td> 
 </tr>
 <tr><th><?lsmb text('Clocked') ?></th>
@@ -88,7 +88,7 @@
       value = qty
        type = text
       class = 'qty'
-       size = 16 ?></td>
+       size = 16 } ?></td>
 </td>
 <tr><th><?lsmb text('Non-Chargeable') ?></th>
     <td><?lsmb PROCESS input element_data = {
@@ -96,13 +96,15 @@
       value = non_billable
        type = text
       class = 'qty'
-       size = 16 ?></td>
+       size = 16 } ?></td>
 </tr>
 <tr><th><?lsmb text('Allocated') ?></th>
     <td><?lsmb allocated ?></td>
 </tr>
 <tr><th align><?lsmb text('Notes') ?></th>
-    <td colspan=3><textarea name="notes" rows=2 cols=46 wrap=soft></textarea>
+    <td colspan=3><textarea name="notes" rows=2 cols=46 wrap=soft><?lsmb
+          notes
+    ?></textarea>
     </td>
 </tr>
 </table>

Deleted: trunk/jc.pl
===================================================================
--- trunk/jc.pl	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/jc.pl	2013-09-15 13:44:56 UTC (rev 6031)
@@ -1,7 +0,0 @@
-#!/usr/bin/perl
-
-use FindBin;
-BEGIN {
-  lib->import($FindBin::Bin) unless $ENV{mod_perl}
-}
-require "old-handler.pl";

Modified: trunk/sql/Pg-database.sql
===================================================================
--- trunk/sql/Pg-database.sql	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/sql/Pg-database.sql	2013-09-15 13:44:56 UTC (rev 6031)
@@ -3061,8 +3061,8 @@
 97	action	translation	237
 97	translation	partsgroup	238
 98	menu	1	239
-100	module	jc.pl	243
-100	action	add	244
+100	module	timecard.pl	243
+100	action	display	244
 100	project	project	246
 100	type	timecard	247
 101	menu	1	248

Modified: trunk/sql/modules/menu_rebuild.sql
===================================================================
--- trunk/sql/modules/menu_rebuild.sql	2013-09-15 03:28:30 UTC (rev 6030)
+++ trunk/sql/modules/menu_rebuild.sql	2013-09-15 13:44:56 UTC (rev 6031)
@@ -371,8 +371,8 @@
 97	action	translation	237
 97	translation	partsgroup	238
 98	menu	1	239
-100	module	jc.pl	243
-100	action	add	244
+100	module	timecard.pl	243
+100	action	display	244
 100	project	project	246
 100	type	timecard	247
 101	menu	1	248

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


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits