[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6041] trunk
- Subject: SF.net SVN: ledger-smb:[6041] trunk
- From: ..hidden..
- Date: Tue, 17 Sep 2013 08:11:33 +0000
Revision: 6041
http://sourceforge.net/p/ledger-smb/code/6041
Author: einhverfr
Date: 2013-09-17 08:11:32 +0000 (Tue, 17 Sep 2013)
Log Message:
-----------
Parse errors fixed in template for data entry filtering for time and material cards
Modified Paths:
--------------
trunk/LedgerSMB/Scripts/timecard.pm
trunk/UI/timecards/entry_filter.html
Modified: trunk/LedgerSMB/Scripts/timecard.pm
===================================================================
--- trunk/LedgerSMB/Scripts/timecard.pm 2013-09-17 07:45:34 UTC (rev 6040)
+++ trunk/LedgerSMB/Scripts/timecard.pm 2013-09-17 08:11:32 UTC (rev 6041)
@@ -26,6 +26,33 @@
=over
+=item new
+
+This begins the timecard workflow. The following may be set as a default:
+
+=over
+
+=item business_unit_class
+
+=item time_frame (1 for day, 7 for week)
+
+=item date_from
+
+=back
+
+=cut
+
+sub new {
+ my ($request) = @_;
+ LedgerSMB::Template->new(
+ user => $request->{_user},
+ locale => $request->{_locale},
+ path => 'UI/timecards',
+ template => 'entry_filter',
+ format => 'HTML'
+ )->render($request);
+}
+
=item display
Displays a timecard. LedgerSMB::Timecard properties set are treated as
Modified: trunk/UI/timecards/entry_filter.html
===================================================================
--- trunk/UI/timecards/entry_filter.html 2013-09-17 07:45:34 UTC (rev 6040)
+++ trunk/UI/timecards/entry_filter.html 2013-09-17 08:11:32 UTC (rev 6041)
@@ -19,11 +19,12 @@
<?lsmb PROCESS select element_data = {
name = 'num_days'
options = [{text = text('Day'), value = 1},
- text = text('Week'), value = 7}]
+ {text = text('Week'), value = 7}]
default_values = [7],
label = text('Time Frame') #'
class = 'timeframe'
};
+?>
</div>
<div class="input_row">
<?lsmb PROCESS input element_data = {
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