Skip to content

Commit

Permalink
Fixed: Circulation bugs printed receipt doesn't show record title cor…
Browse files Browse the repository at this point in the history
…rectly
  • Loading branch information
dicarve committed Mar 23, 2014
1 parent 3b6eb37 commit 662d8ca
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions admin/modules/circulation/pop_loan_receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
foreach ($_SESSION['receipt_record']['loan'] as $loan) {
echo '<tr>';
echo '<td>'.$loan['itemCode'].'</td>';
echo '<td>'.substr($loan['title'], 0, $receipt_titleLength);
if (strlen($loan['title']) > $receipt_titleLength) {
echo '<td>'.substr($loan['title'], 0, $sysconf['print']['receipt']['receipt_titleLength']);
if (strlen($loan['title']) > $sysconf['print']['receipt']['receipt_titleLength']) {
echo ' ...';
}
echo '.</td>';
Expand All @@ -110,8 +110,8 @@
echo '<td>'.$ext['itemCode'].'</td>';
#echo '<td>'.substr($ext['title'], 0, 50).'...<br />-- extended --</td>';

echo '<td>'.substr($ext['title'], 0, $receipt_titleLength);
if (strlen($ext['title']) > $receipt_titleLength) {
echo '<td>'.substr($ext['title'], 0, $sysconf['print']['receipt']['receipt_titleLength']);
if (strlen($ext['title']) > $sysconf['print']['receipt']['receipt_titleLength']) {
echo ' ...';
}
echo '. <strong>(Loan Extended)</strong></td>';
Expand Down Expand Up @@ -146,8 +146,8 @@
foreach ($_SESSION['receipt_record']['return'] as $ret) {
echo '<tr>';
echo '<td>'.$ret['itemCode'].'</td>';
echo '<td>'.substr($ret['title'], 0, $receipt_titleLength);
if (strlen($ret['title']) > $receipt_titleLength) {
echo '<td>'.substr($ret['title'], 0, $sysconf['print']['receipt']['receipt_titleLength']);
if (strlen($ret['title']) > $sysconf['print']['receipt']['receipt_titleLength']) {
echo ' ...';
}
echo '.</td>';
Expand Down
Empty file modified images/default/digg.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/fb.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/gplus.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/lin.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/rdit.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/su.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/default/tw.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/docs/information_arch.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 662d8ca

Please sign in to comment.