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

SF.net SVN: ledger-smb:[6040] trunk/UI/timecards



Revision: 6040
          http://sourceforge.net/p/ledger-smb/code/6040
Author:   einhverfr
Date:     2013-09-17 07:45:34 +0000 (Tue, 17 Sep 2013)
Log Message:
-----------
New timecard entry pre-filter

Modified Paths:
--------------
    trunk/UI/timecards/timecard.html

Added Paths:
-----------
    trunk/UI/timecards/entry_filter.html

Added: trunk/UI/timecards/entry_filter.html
===================================================================
--- trunk/UI/timecards/entry_filter.html	                        (rev 0)
+++ trunk/UI/timecards/entry_filter.html	2013-09-17 07:45:34 UTC (rev 6040)
@@ -0,0 +1,47 @@
+<?lsmb INCLUDE 'ui-header.html';
+       PROCESS 'elements.html';
+       PROCESS 'utilities.html';
+?>
+<body>
+<form method="post" action="timecard.pl">
+<div class="listtop"><?lsmb text('Timecard Criteria') ?></div>
+<div class="input_row"><?lsmb IF employees;
+          # Setting this to a conditional so that employee list can be
+          # populated by add-on workflows.  Our standard ones will be set up
+          # only to enter the timecards of the current user. --CT
+          PROCESS employee element_name="person_id" label=text('Employee'); 
+       END ?>
+</div>
+<div class="input_row">
+<?lsmb PROCESS business_unit_class; label=text('Recording time for') _ ':' #' ?>
+</div>
+<div class="input_row">
+<?lsmb PROCESS select element_data = {
+            name = 'num_days'
+         options = [{text = text('Day'),  value = 1},
+                     text = text('Week'), value = 7}]
+  default_values = [7],
+           label = text('Time Frame') #'
+           class = 'timeframe'
+       };
+</div>
+<div class="input_row">
+<?lsmb PROCESS input element_data = {
+       label = text('Starting Date') #'
+        name = date_from
+        type = 'text'
+        size = 12
+       class = 'date'
+} ?>
+</div>
+<div class="input_row">
+<?lsmb PROCESS button element_data = {
+    text = text('Continue')
+  action = 'timecard_screen'
+    type = 'submit'
+   class = 'submit'
+} ?>
+</div>
+</form>
+</body>
+</html>

Modified: trunk/UI/timecards/timecard.html
===================================================================
--- trunk/UI/timecards/timecard.html	2013-09-16 02:25:21 UTC (rev 6039)
+++ trunk/UI/timecards/timecard.html	2013-09-17 07:45:34 UTC (rev 6040)
@@ -7,7 +7,6 @@
 <form action="timecard.pl" method="post">
 <div class="listtop"><?lsmb text('Time or Materials Card') ?></div>
 <table>
-<?lsmb PROCESS employee element_name="person_id" label=text('Employee'); ?>
 <tr><th colspan="2" class="listtop"><?lsmb text('Category') ?> : 
     </th>
 </tr>

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/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits