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

SF.net SVN: ledger-smb:[6430] trunk/LedgerSMB



Revision: 6430
          http://sourceforge.net/p/ledger-smb/code/6430
Author:   einhverfr
Date:     2014-01-10 09:51:41 +0000 (Fri, 10 Jan 2014)
Log Message:
-----------
First filter screen now comes up for timecard to sales order generation

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm
    trunk/LedgerSMB/PE.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2014-01-10 08:45:07 UTC (rev 6429)
+++ trunk/LedgerSMB/Form.pm	2014-01-10 09:51:41 UTC (rev 6430)
@@ -2219,6 +2219,7 @@
     );
 
     while (my $classref = $class_sth->fetchrow_hashref('NAME_lc')){
+        warn $classref->{id};
         push @{$self->{bu_class}}, $classref;
         $bu_sth->execute($classref->{id}, $transdate, $credit_id);
         $self->{b_units}->{$classref->{id}} = [];

Modified: trunk/LedgerSMB/PE.pm
===================================================================
--- trunk/LedgerSMB/PE.pm	2014-01-10 08:45:07 UTC (rev 6429)
+++ trunk/LedgerSMB/PE.pm	2014-01-10 09:51:41 UTC (rev 6430)
@@ -822,7 +822,8 @@
 
     $form->all_years( $myconfig, $dbh );
 
-    $form->all_projects( $myconfig, $dbh, $transdate );
+    $form->all_business_units( $transdate, undef, 'Timecards');
+    $form->{all_project} = $form->{b_units}->{2};
 
     $form->all_employees( $myconfig, $dbh, $transdate );
 

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