Skip to content
  • joubu's avatar
    Bug 18327: Add the ability to set the received date to today on multi receiving serials · d3ed2456
    joubu authored
    
    
    When receiving several issues for a subscription (Serials > Serial
    collection > Multi receiving), the reception date is always identical to the
    publication date.
    In some use cases we would like to set this "date received" value to
    today.
    Note: "date received" refers to the DB column serial.planneddate
    
    To make this possible this patch replaces the JS prompt with a modal
    dialog asking for
     1. the number of issues to receive
     2. if the received date must be set to today
    
    Ergonomic note: bootstrap styled buttons are used, but they do not display correctly
    We may need to improve that (later)
    
    Test plan:
    - Receive 1 or more serials using the "Multi receiving" buttons
    Note that this button appears twice, on the "serial collection
    information" and the "serial edition" pages
    - Try with and without the new checkbox ticked and confirm the behaviour
    is correct (i.e. date received is set to today or set to the publish
    date)
    - Make sure "Edit serials" and "Generate next" buttons still work as
    before
    
    Signed-off-by: default avatarSéverine QUEUNE <severine.queune@bulac.fr>
    
    Signed-off-by: default avatarKatrin Fischer <katrin.fischer.83@web.de>
    
    Signed-off-by: default avatarJonathan Druart <jonathan.druart@bugs.koha-community.org>
    d3ed2456