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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 8961-8967 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
8961
          AFTER publisheddate
8961
          AFTER publisheddate
8962
    ");
8962
    ");
8963
8963
8964
    print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n";
8964
    print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n";
8965
    SetVersion($DBversion);
8965
    SetVersion($DBversion);
8966
}
8966
}
8967
8967
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-5 / +4 lines)
Lines 167-173 $(document).ready(function() { Link Here
167
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" class="datepicker" />
167
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" class="datepicker" />
168
        </td>
168
        </td>
169
        <td>
169
        <td>
170
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext || serialslis.publisheddate %]" size="10" maxlength="100" />
170
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext %]" size="10" maxlength="100" />
171
        </td>
171
        </td>
172
        <td>
172
        <td>
173
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" class="datepicker" />
173
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" class="datepicker" />
Lines 251-257 $(document).ready(function() { Link Here
251
  [% UNLESS ( serialslis.subscriptionexpired ) %]
251
  [% UNLESS ( serialslis.subscriptionexpired ) %]
252
  [% IF ( serialslis.serialsadditems ) %]
252
  [% IF ( serialslis.serialsadditems ) %]
253
          <tr>
253
          <tr>
254
          <td colspan="5">
254
          <td colspan="6">
255
      <a id="label[% serialslis.subscriptionid %][% serialslis.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items[% serialslis.subscriptionid %][% serialslis.serialid %]','label[% serialslis.subscriptionid %][% serialslis.serialid %]',  '[% serialslis.serialid %]');setStatus([% serialslis.serialid %]);">
255
      <a id="label[% serialslis.subscriptionid %][% serialslis.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items[% serialslis.subscriptionid %][% serialslis.serialid %]','label[% serialslis.subscriptionid %][% serialslis.serialid %]',  '[% serialslis.serialid %]');setStatus([% serialslis.serialid %]);">
256
             Click to add item</a>
256
             Click to add item</a>
257
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
257
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
Lines 324-330 $(document).ready(function() { Link Here
324
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15"  class="datepicker" />
324
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15"  class="datepicker" />
325
        </td>
325
        </td>
326
        <td>
326
        <td>
327
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" />
327
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" />
328
        </td>
328
        </td>
329
        <td>
329
        <td>
330
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" class="datepicker" />
330
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" class="datepicker" />
Lines 398-404 $(document).ready(function() { Link Here
398
    </tr>
398
    </tr>
399
  [% IF ( newserialloo.serialsadditems ) %]
399
  [% IF ( newserialloo.serialsadditems ) %]
400
          <tr>
400
          <tr>
401
          <td colspan="5">
401
          <td colspan="6">
402
      <a id="label[% newserialloo.subscriptionid %][% newserialloo.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items[% newserialloo.subscriptionid %][% newserialloo.serialid %]','label[% newserialloo.subscriptionid %][% newserialloo.serialid %]', '[% newserialloo.serialid %]')">
402
      <a id="label[% newserialloo.subscriptionid %][% newserialloo.serialid %]" style="color: grey; font-size: 80%; cursor: pointer;"  onclick="unHideItems('items[% newserialloo.subscriptionid %][% newserialloo.serialid %]','label[% newserialloo.subscriptionid %][% newserialloo.serialid %]', '[% newserialloo.serialid %]')">
403
             Click to add item</a>
403
             Click to add item</a>
404
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
404
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
405
- 

Return to bug 8296