Bug 15975 (QA Followup) Fix colspan for footer
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / checkouts-table-footer.inc
index 5638710..3adbfa3 100644 (file)
@@ -1,25 +1,13 @@
 <tfoot>
        <tr>
-        <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
-               <td>[% totaldue %]</td>
-               <td>[% totalprice %]</td>
-               <td colspan="2">
-                       <p>Renewal due date: <input type="text" size="8" id="newduedate" name="newduedate" value="[% newduedate %]" />
-                       <img src="[% themelang %]/lib/calendar/cal.gif" id="newduedate_button" alt="Show Calendar" />
-                       <script type="text/javascript"> //<![CDATA[
-                       //#TODO - ADD syspref (AllowPostDatedCheckouts).
-                        Calendar.setup(
-                             {
-                                inputField : "newduedate",
-                                ifFormat : "[% DHTMLcalendar_dateformat %]",
-                                button : "newduedate_button",
-                                disableFunc : validate1,
-                                dateStatusFunc : validate1
-                              }
-                           );
-                       //]]>
-                       </script></p>
-                       <p><label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label></p>
+        <td colspan="11" style="text-align: right; font-weight:bold;">Totals:</td>
+        <td id="totaldue" style="text-align: right;">[% totaldue %]</td>
+        <td id="totalfine" style="text-align: right;">[% finetotal %]</td>
+        <td id="totalprice" style="text-align: right;">[% totalprice %]</td>
+                <td colspan="3"><div class="date-select">
+            <p><label for="newduedate">Renewal due date:</label> <input type="text" size="12" id="newduedate" name="newduedate" value="[% newduedate %]" />
+</p>
+            <p><label for="exemptfine">Forgive fines on return: <input type="checkbox" id="exemptfine" name="exemptfine" value="1" /></label></p></div>
                </td>
        </tr>
 </tfoot>