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

(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js (-2 / +7 lines)
Lines 149-155 function Check_page2() { Link Here
149
        }
149
        }
150
        return false;
150
        return false;
151
    }
151
    }
152
152
    // Validate that enddate is later than acqui_date
153
    const acquiDate = new Date($("#acqui_date").val());
154
    const endDate = new Date($("input[name='enddate']").val());
155
    if (endDate < acquiDate) {
156
        alert( __("End date must be after the first publication date") );
157
        return false;
158
    }
153
    return true;
159
    return true;
154
}
160
}
155
161
156
- 

Return to bug 36136