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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 8597-8603 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
8597
          AFTER publisheddate
8597
          AFTER publisheddate
8598
    ");
8598
    ");
8599
8599
8600
    print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n";
8600
    print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n";
8601
    SetVersion($DBversion);
8601
    SetVersion($DBversion);
8602
}
8602
}
8603
8603
(-)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 312-318 $(document).ready(function() { Link Here
312
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15"  class="datepicker" />
312
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15"  class="datepicker" />
313
        </td>
313
        </td>
314
        <td>
314
        <td>
315
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" />
315
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" />
316
        </td>
316
        </td>
317
        <td>
317
        <td>
318
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" class="datepicker" />
318
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" class="datepicker" />
Lines 386-392 $(document).ready(function() { Link Here
386
    </tr>
386
    </tr>
387
  [% IF ( newserialloo.serialsadditems ) %]
387
  [% IF ( newserialloo.serialsadditems ) %]
388
          <tr>
388
          <tr>
389
          <td colspan="5">
389
          <td colspan="6">
390
      <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 %]')">
390
      <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 %]')">
391
             Click to add item</a>
391
             Click to add item</a>
392
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
392
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
393
- 

Return to bug 8296