[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6660] trunk/LedgerSMB
- Subject: SF.net SVN: ledger-smb:[6660] trunk/LedgerSMB
- From: ..hidden..
- Date: Mon, 27 Jan 2014 04:49:38 +0000
Revision: 6660
http://sourceforge.net/p/ledger-smb/code/6660
Author: einhverfr
Date: 2014-01-27 04:49:37 +0000 (Mon, 27 Jan 2014)
Log Message:
-----------
Get interface now works for timecards
Modified Paths:
--------------
trunk/LedgerSMB/Scripts/timecard.pm
trunk/LedgerSMB/Timecard.pm
Modified: trunk/LedgerSMB/Scripts/timecard.pm
===================================================================
--- trunk/LedgerSMB/Scripts/timecard.pm 2014-01-27 03:27:11 UTC (rev 6659)
+++ trunk/LedgerSMB/Scripts/timecard.pm 2014-01-27 04:49:37 UTC (rev 6660)
@@ -229,7 +229,19 @@
# TODO after beta 1
}
+=item get
+This routine retrieves a timecard and sends it to the display.
+
+=cut
+
+sub get {
+ my ($request) = @_;
+ my $tcard = LedgerSMB::Timecard->get($request->{id});
+ display($tcard);
+}
+
+
=back
=head1 SEE ALSO
Modified: trunk/LedgerSMB/Timecard.pm
===================================================================
--- trunk/LedgerSMB/Timecard.pm 2014-01-27 03:27:11 UTC (rev 6659)
+++ trunk/LedgerSMB/Timecard.pm 2014-01-27 04:49:37 UTC (rev 6660)
@@ -206,6 +206,7 @@
procname => 'timecard__get', args => [$id]);
my ($buclass) = __PACKAGE__->call_procedure(
procname => 'timecard__bu_class', args => [$id]);
+
$retval->{bu_class_id} = $buclass->{id};
return __PACKAGE__->new(%$retval);
}
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