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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt (-4 / +5 lines)
Lines 105-111 Link Here
105
                        <tbody>
105
                        <tbody>
106
                        </tbody>
106
                        </tbody>
107
                    </table></li>
107
                    </table></li>
108
                    <li><label for="merge_invoicenumber">Invoice number:</label><span id="merge_invoicenumber"></span></li>
108
                    <li><label for="merge_invoicenumber">Invoice number:</label>
109
                            <input type="text" size="10" id="merge_invoicenumber" name="invoicenumber" value="" class="required" required="required" />
110
                            <span class="required">Required</span>
111
                            </li>
109
                    <li><label for="merge_shipmentdate">Shipment date:</label>
112
                    <li><label for="merge_shipmentdate">Shipment date:</label>
110
                            <input type="text" size="10" id="merge_shipmentdate" name="shipmentdate" value="" class="datepicker" /></li>
113
                            <input type="text" size="10" id="merge_shipmentdate" name="shipmentdate" value="" class="datepicker" /></li>
111
114
Lines 351-358 Link Here
351
                        $(row).click(function () {
354
                        $(row).click(function () {
352
                            $('#merge_table tbody tr').removeClass('active');
355
                            $('#merge_table tbody tr').removeClass('active');
353
                            $(this).addClass('active');
356
                            $(this).addClass('active');
354
                            $('#merge_invoicenumber').text(invoice.invoicenumber);
357
                            $.each(['invoiceid', 'shipmentdate', 'billingdate', 'shipmentcost', 'shipment_budgetid', 'invoicenumber'], function (idx, prop) {
355
                            $.each(['invoiceid', 'shipmentdate', 'billingdate', 'shipmentcost', 'shipment_budgetid'], function (idx, prop) {
356
                                $('#merge_' + prop).val(invoice[prop]);
358
                                $('#merge_' + prop).val(invoice[prop]);
357
                            });
359
                            });
358
                            if (invoice.closedate) {
360
                            if (invoice.closedate) {
359
- 

Return to bug 20318