View | Details | Raw Unified | Return to bug 2601
Collapse All | Expand All

(-)a/C4/Accounts.pm (+1 lines)
Lines 205-210 sub makepayment { Link Here
205
                    INTO accountlines (borrowernumber, accountno, date, amount, description, accounttype, amountoutstanding)
205
                    INTO accountlines (borrowernumber, accountno, date, amount, description, accounttype, amountoutstanding)
206
                    VALUES ( ?, ?, now(), ?, 'Payment,thanks', 'Pay', 0)"
206
                    VALUES ( ?, ?, now(), ?, 'Payment,thanks', 'Pay', 0)"
207
            );
207
            );
208
        sleep 1;
208
        $ins->execute($borrowernumber, $nextaccntno, $payment);
209
        $ins->execute($borrowernumber, $nextaccntno, $payment);
209
        $ins->finish;
210
        $ins->finish;
210
    }
211
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-2 / +1 lines)
Lines 43-49 Link Here
43
  [% FOREACH account IN accounts %]
43
  [% FOREACH account IN accounts %]
44
44
45
   [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
45
   [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
46
      <td>[% account.date %]</td>
46
      <td>[% account.timestamp %]</td>
47
      <td>[% account.description %]&nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %][% account.title |html %]</td>
47
      <td>[% account.description %]&nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %][% account.title |html %]</td>
48
      <td>[% account.note %]</td>
48
      <td>[% account.note %]</td>
49
      [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
49
      [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
50
- 

Return to bug 2601