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

SF.net SVN: ledger-smb:[6606] trunk/LedgerSMB/Report/Listings/Overpayments. pm



Revision: 6606
          http://sourceforge.net/p/ledger-smb/code/6606
Author:   einhverfr
Date:     2014-01-23 09:01:03 +0000 (Thu, 23 Jan 2014)
Log Message:
-----------
Fixes to overpayment report

Modified Paths:
--------------
    trunk/LedgerSMB/Report/Listings/Overpayments.pm

Modified: trunk/LedgerSMB/Report/Listings/Overpayments.pm
===================================================================
--- trunk/LedgerSMB/Report/Listings/Overpayments.pm	2014-01-23 08:20:27 UTC (rev 6605)
+++ trunk/LedgerSMB/Report/Listings/Overpayments.pm	2014-01-23 09:01:03 UTC (rev 6606)
@@ -123,7 +123,7 @@
     return [{
         col_id => 'select',
           name => '',
-          type => 'select',
+          type => 'checkbox',
     },
     {   col_id => 'entity_name',
           name => LedgerSMB::Report::text('Counterparty'),
@@ -159,13 +159,13 @@
             type => 'submit',
            class => 'submit'
           },
-       ]) if $request->is_allowed_role('overpayments_reverse');
+       ]) if $self->{batch_id};
     }
     my @rows = $self->exec_method({funcname => 'payment__overpayments_list'});
     for my $r (@rows){
        $r->{row_id} = $r->{payment_id};
     }
-    $self->rows(@rows);
+    $self->rows(\@rows);
 }
 
 =head1 COPYRIGHT

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