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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 8568-8574 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
8568
          AFTER publisheddate
8568
          AFTER publisheddate
8569
    ");
8569
    ");
8570
8570
8571
    print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n";
8571
    print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n";
8572
    SetVersion($DBversion);
8572
    SetVersion($DBversion);
8573
}
8573
}
8574
8574
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-5 / +4 lines)
Lines 164-170 $(document).ready(function() { Link Here
164
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" />
164
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" />
165
        </td>
165
        </td>
166
        <td>
166
        <td>
167
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext || serialslis.publisheddate %]" size="10" maxlength="100" />
167
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext %]" size="10" maxlength="100" />
168
        </td>
168
        </td>
169
        <td>
169
        <td>
170
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" />
170
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" />
Lines 248-254 $(document).ready(function() { Link Here
248
  [% UNLESS ( serialslis.subscriptionexpired ) %]
248
  [% UNLESS ( serialslis.subscriptionexpired ) %]
249
  [% IF ( serialslis.serialsadditems ) %]
249
  [% IF ( serialslis.serialsadditems ) %]
250
          <tr>
250
          <tr>
251
          <td colspan="5">
251
          <td colspan="6">
252
      <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 %]);">
252
      <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 %]);">
253
             Click to add item</a>
253
             Click to add item</a>
254
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
254
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
Lines 309-315 $(document).ready(function() { Link Here
309
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
309
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
310
        </td>
310
        </td>
311
        <td>
311
        <td>
312
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" />
312
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" />
313
        </td>
313
        </td>
314
        <td>
314
        <td>
315
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
315
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
Lines 383-389 $(document).ready(function() { Link Here
383
    </tr>
383
    </tr>
384
  [% IF ( newserialloo.serialsadditems ) %]
384
  [% IF ( newserialloo.serialsadditems ) %]
385
          <tr>
385
          <tr>
386
          <td colspan="5">
386
          <td colspan="6">
387
      <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 %]')">
387
      <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 %]')">
388
             Click to add item</a>
388
             Click to add item</a>
389
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
389
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
390
- 

Return to bug 8296