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 49-54 Link Here
49
                                    <th>Nonpublic notes</th>
49
                                    <th>Nonpublic notes</th>
50
                                    <th>Call number</th>
50
                                    <th>Call number</th>
51
                                    <th>Create item when receiving</th>
51
                                    <th>Create item when receiving</th>
52
                                    <th>Warn when late</th>
52
                                    <th>Expiration date</th>
53
                                    <th>Expiration date</th>
53
                                </tr>
54
                                </tr>
54
                            </thead>
55
                            </thead>
Lines 71-76 Link Here
71
                                                <span>No</span>
72
                                                <span>No</span>
72
                                            [% END %]
73
                                            [% END %]
73
                                        </td>
74
                                        </td>
75
                                        <td>
76
                                            [% IF subscription.warn_when_late %]
77
                                                <span>Yes</span>
78
                                            [% ELSE %]
79
                                                <span>No</span>
80
                                            [% END %]
81
                                        </td>
74
                                        <td>[% subscription.enddate | $KohaDates %]</td>
82
                                        <td>[% subscription.enddate | $KohaDates %]</td>
75
                                    </tr>
83
                                    </tr>
76
                                [% END %]
84
                                [% END %]
Lines 140-145 Link Here
140
                                    </select>
148
                                    </select>
141
149
142
                                </li>
150
                                </li>
151
                                <li>
152
                                    <label for="warn_when_late">Warn when late: </label>
153
                                    <select id="warn_when_late" name="warn_when_late">
154
                                        <option value="">No change</option>
155
                                        <option value="0">No</option>
156
                                        <option value="1">Yes</option>
157
                                    </select>
158
                                </li>
143
                                <li>
159
                                <li>
144
                                    <label for="enddate">Expiration date: </label>
160
                                    <label for="enddate">Expiration date: </label>
145
                                    <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change"/>
161
                                    <input type="text" class="flatpickr" id="enddate" name="enddate" placeholder="No change"/>
(-)a/serials/subscription-batchedit.pl (-1 / +1 lines)
Lines 59-64 if ($batchedit) { Link Here
59
        notes => scalar $cgi->param('notes'),
59
        notes => scalar $cgi->param('notes'),
60
        internalnotes => scalar $cgi->param('internalnotes'),
60
        internalnotes => scalar $cgi->param('internalnotes'),
61
        serialsadditems => scalar $cgi->param('serialsadditems'),
61
        serialsadditems => scalar $cgi->param('serialsadditems'),
62
        warn_when_late => scalar $cgi->param('warn_when_late'),
62
        enddate => dt_from_string(scalar $cgi->param('enddate')),
63
        enddate => dt_from_string(scalar $cgi->param('enddate')),
63
    );
64
    );
64
65
65
- 

Return to bug 30095