http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8129 Priority: P5 - low Change sponsored?: --- Bug ID: 8129 CC: gmcharlt@gmail.com Assignee: kyle.m.hall@gmail.com Summary: quick slips issuing does not work Severity: normal Classification: Unclassified OS: All Reporter: leonardobareno@gmail.com Hardware: All Status: NEW Version: rel_3_8 Component: Circulation Product: Koha in ./C4/Members.pm, IssueSlip function, $today string has "yyyy-mm-dd" format, but $it->{'issuedate'} and $it->{'due_date'} are in "yyyy-mm-ddThh:mm:ss" format, so the "eq" and "le" string comparisons made later are not going to work. suggested edition in ./C4/Members.pm: if ((substr $it->{'issuedate'}, 0, 10) eq $today) { $it->{'today'} = 1; } elsif ((substr $it->{'date_due'}, 0, 10) le $today) { $it->{'overdue'} = 1; } $it->{'date_due'}=format_date($it->{'date_due'}); } please accept my apologies for my lack of bugEtiquette. -- You are receiving this mail because: You are watching all bug changes.