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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt (+16 lines)
Lines 50-55 Link Here
50
                    <th>Nonpublic notes</th>
50
                    <th>Nonpublic notes</th>
51
                    <th>Call number</th>
51
                    <th>Call number</th>
52
                    <th>Create item when receiving</th>
52
                    <th>Create item when receiving</th>
53
                    <th>Warn when late</th>
53
                    <th>Expiration date</th>
54
                    <th>Expiration date</th>
54
                </tr>
55
                </tr>
55
            </thead>
56
            </thead>
Lines 72-77 Link Here
72
                                <span>No</span>
73
                                <span>No</span>
73
                            [% END %]
74
                            [% END %]
74
                        </td>
75
                        </td>
76
                        <td>
77
                            [% IF subscription.warn_when_late %]
78
                                <span>Yes</span>
79
                            [% ELSE %]
80
                                <span>No</span>
81
                            [% END %]
82
                        </td>
75
                        <td>[% subscription.enddate | $KohaDates %]</td>
83
                        <td>[% subscription.enddate | $KohaDates %]</td>
76
                    </tr>
84
                    </tr>
77
                [% END %]
85
                [% END %]
Lines 141-146 Link Here
141
                        <option value="1">Yes</option>
149
                        <option value="1">Yes</option>
142
                    </select>
150
                    </select>
143
                </li>
151
                </li>
152
                <li>
153
                    <label for="warn_when_late">Warn when late: </label>
154
                    <select id="warn_when_late" name="warn_when_late">
155
                        <option value="">No change</option>
156
                        <option value="0">No</option>
157
                        <option value="1">Yes</option>
158
                    </select>
159
                </li>
144
                <li>
160
                <li>
145
                    <label for="enddate">Expiration date: </label>
161
                    <label for="enddate">Expiration date: </label>
146
                    <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change" />
162
                    <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change" />
(-)a/serials/subscription-batchedit.pl (-1 / +1 lines)
Lines 61-66 if ( $op eq 'cud-batchedit' ) { Link Here
61
        notes           => scalar $cgi->param('notes'),
61
        notes           => scalar $cgi->param('notes'),
62
        internalnotes   => scalar $cgi->param('internalnotes'),
62
        internalnotes   => scalar $cgi->param('internalnotes'),
63
        serialsadditems => scalar $cgi->param('serialsadditems'),
63
        serialsadditems => scalar $cgi->param('serialsadditems'),
64
        warn_when_late  => scalar $cgi->param('warn_when_late'),
64
    );
65
    );
65
66
66
    # If we convert a blank string we get todays date, we should only convert enddate if it is not blank
67
    # If we convert a blank string we get todays date, we should only convert enddate if it is not blank
67
- 

Return to bug 30095