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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-3 / +24 lines)
Lines 79-85 $(document).ready(function() { Link Here
79
	</ul>
79
	</ul>
80
80
81
<div id="first"><table>
81
<div id="first"><table>
82
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">First letter</th><th scope="col">Restrict</th></tr>
82
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">First letter</th><th scope="col">Restrict</th><th scope="col">Issue an invoice</th></tr>
83
                    [% FOREACH tabl IN table %]
83
                    [% FOREACH tabl IN table %]
84
                     [% UNLESS ( loop.odd ) %]
84
                     [% UNLESS ( loop.odd ) %]
85
                                <tr class="highlight">
85
                                <tr class="highlight">
Lines 113-125 $(document).ready(function() { Link Here
113
                                    <input type="checkbox" name="debarred1-[% tabl.overduename %]" value="1" />
113
                                    <input type="checkbox" name="debarred1-[% tabl.overduename %]" value="1" />
114
                                [% END %]
114
                                [% END %]
115
                            </td>
115
                            </td>
116
                            <td>
117
                            	[% IF ( tabl.invoice1 ) %]
118
                                	<input type="checkbox" name="invoice1-[% tabl.overduename %]" checked="checked" value="1" />
119
                                [% ELSE %]
120
                                	<input type="checkbox" name="invoice1-[% tabl.overduename %]" value="1" />
121
                                [% END %]
122
                            </td>
116
							</tr>
123
							</tr>
117
							[% END %]
124
							[% END %]
118
							</table>
125
							</table>
119
</div>
126
</div>
120
127
121
<div id="second"><table>
128
<div id="second"><table>
122
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Second letter</th><th scope="col">Restrict</th></tr>
129
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Second letter</th><th scope="col">Restrict</th><th scope="col">Issue an invoice</th></tr>
123
                    [% FOREACH tabl IN table %]
130
                    [% FOREACH tabl IN table %]
124
                     [% UNLESS ( loop.odd ) %]
131
                     [% UNLESS ( loop.odd ) %]
125
                                <tr class="highlight">
132
                                <tr class="highlight">
Lines 153-165 $(document).ready(function() { Link Here
153
                                    <input type="checkbox" name="debarred2-[% tabl.overduename %]" value="1" />
160
                                    <input type="checkbox" name="debarred2-[% tabl.overduename %]" value="1" />
154
                                [% END %]
161
                                [% END %]
155
                            </td>
162
                            </td>
163
                            <td>
164
                            	[% IF ( tabl.invoice2 ) %]
165
                                	<input type="checkbox" name="invoice2-[% tabl.overduename %]" checked="checked" value="1" />
166
                                [% ELSE %]
167
                                	<input type="checkbox" name="invoice2-[% tabl.overduename %]" value="1" />
168
                                [% END %]
169
                            </td>
156
							</tr>
170
							</tr>
157
							[% END %]
171
							[% END %]
158
							</table>
172
							</table>
159
</div>
173
</div>
160
174
161
<div id="third"><table>
175
<div id="third"><table>
162
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Third letter</th><th scope="col">Restrict</th></tr>
176
                    <tr><th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Third letter</th><th scope="col">Restrict</th><th scope="col">Issue an invoice</th></tr>
163
                    [% FOREACH tabl IN table %]
177
                    [% FOREACH tabl IN table %]
164
                     [% UNLESS ( loop.odd ) %]
178
                     [% UNLESS ( loop.odd ) %]
165
                                <tr class="highlight">
179
                                <tr class="highlight">
Lines 193-198 $(document).ready(function() { Link Here
193
                                    <input type="checkbox" name="debarred3-[% tabl.overduename %]" value="1" />
207
                                    <input type="checkbox" name="debarred3-[% tabl.overduename %]" value="1" />
194
                                [% END %]
208
                                [% END %]
195
                            </td>
209
                            </td>
210
							<td>
211
								[% IF ( tabl.invoice3 ) %]
212
                                	<input type="checkbox" name="invoice3-[% tabl.overduename %]" checked="checked" value="1" />
213
                                [% ELSE %]
214
                                	<input type="checkbox" name="invoice3-[% tabl.overduename %]" value="1" />
215
                                [% END %]
216
                            </td>
196
                        </tr>
217
                        </tr>
197
                    [% END %]
218
                    [% END %]
198
                </table>
219
                </table>

Return to bug 11092