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

(-)a/C4/Members.pm (-3 / +13 lines)
Lines 1182-1191 sub IssueSlip { Link Here
1182
        $issue->{date_due} = $issue->{date_due_sql};
1182
        $issue->{date_due} = $issue->{date_due_sql};
1183
        if ($quickslip) {
1183
        if ($quickslip) {
1184
            my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 });
1184
            my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 });
1185
            if ( substr( $issue->{issuedate}, 0, 10 ) eq $today
1185
            if ( C4::Context->preference("ShowRenewalsQuickslip") == 0 ) {
1186
                or substr( $issue->{lastreneweddate}, 0, 10 ) eq $today ) {
1186
               #we want today's issues, but not items renewed today
1187
               if ( (substr( $issue->{issuedate}, 0, 10 ) eq $today )
1188
                    && (substr( $issue->{lastreneweddate}, 0, 10 ) ne $today) )   {
1187
                  $issue->{now} = 1;
1189
                  $issue->{now} = 1;
1188
            };
1190
               }
1191
            }
1192
            else {
1193
            # we want all issues, including renewals, from today
1194
               if ( substr( $issue->{issuedate}, 0, 10 ) eq $today
1195
                    or substr( $issue->{lastreneweddate}, 0, 10 ) eq $today ) {
1196
                      $issue->{now} = 1;
1197
               }
1198
            }
1189
        }
1199
        }
1190
    }
1200
    }
1191
1201
(-)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