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

(-)a/C4/Members.pm (-3 / +13 lines)
Lines 1122-1131 sub IssueSlip { Link Here
1122
        $issue->{date_due} = $issue->{date_due_sql};
1122
        $issue->{date_due} = $issue->{date_due_sql};
1123
        if ($quickslip) {
1123
        if ($quickslip) {
1124
            my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 });
1124
            my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 });
1125
            if ( substr( $issue->{issuedate}, 0, 10 ) eq $today
1125
            if ( C4::Context->preference("ShowRenewalsQuickslip") == 0 ) {
1126
                or substr( $issue->{lastreneweddate}, 0, 10 ) eq $today ) {
1126
               #we want today's issues, but not items renewed today
1127
               if ( (substr( $issue->{issuedate}, 0, 10 ) eq $today )
1128
                    && (substr( $issue->{lastreneweddate}, 0, 10 ) ne $today) )   {
1127
                  $issue->{now} = 1;
1129
                  $issue->{now} = 1;
1128
            };
1130
               }
1131
            }
1132
            else {
1133
            # we want all issues, including renewals, from today
1134
               if ( substr( $issue->{issuedate}, 0, 10 ) eq $today
1135
                    or substr( $issue->{lastreneweddate}, 0, 10 ) eq $today ) {
1136
                      $issue->{now} = 1;
1137
               }
1138
            }
1129
        }
1139
        }
1130
    }
1140
    }
1131
1141
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 479-484 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
479
('ShelfBrowserUsesLocation','1','1','Use the item location when finding items for the shelf browser.','YesNo'),
479
('ShelfBrowserUsesLocation','1','1','Use the item location when finding items for the shelf browser.','YesNo'),
480
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
480
('ShowAllCheckins', '0', '', 'Show all checkins', 'YesNo'),
481
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
481
('ShowPatronImageInWebBasedSelfCheck','0','','If ON, displays patron image when a patron uses web-based self-checkout','YesNo'),
482
('ShowRenewalsQuickslip','1','If OFF, do not show renewals on quick slips','','YesNo'),
482
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
483
('ShowReviewer','full','none|full|first|surname|firstandinitial|username','Choose how a commenter\'s identity is presented alongside comments in the OPAC','Choice'),
483
('ShowReviewerPhoto','1','','If ON, photo of reviewer will be shown beside comments in OPAC','YesNo'),
484
('ShowReviewerPhoto','1','','If ON, photo of reviewer will be shown beside comments in OPAC','YesNo'),
484
('SlipCSS','',NULL,'Slips CSS url.','free'),
485
('SlipCSS','',NULL,'Slips CSS url.','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (-1 / +6 lines)
Lines 150-155 Circulation: Link Here
150
                  yes: Allow
150
                  yes: Allow
151
                  no: "Don't allow"
151
                  no: "Don't allow"
152
            - patrons to submit notes about checked out items.
152
            - patrons to submit notes about checked out items.
153
        -
154
            - pref: ShowRenewalsQuickslip
155
              choices:
156
                  yes: Show
157
                  no: "Don't show"
158
            - items renewed today on the circulation Quick Slip.
153
159
154
    Checkout Policy:
160
    Checkout Policy:
155
        -
161
        -
156
- 

Return to bug 18527