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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7066-7072 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
7066
          AFTER publisheddate
7066
          AFTER publisheddate
7067
    ");
7067
    ");
7068
7068
7069
    print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n";
7069
    print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n";
7070
    SetVersion($DBversion);
7070
    SetVersion($DBversion);
7071
}
7071
}
7072
7072
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-5 / +4 lines)
Lines 166-172 $(document).ready(function() { Link Here
166
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" />
166
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate %]" size="10" maxlength="15" />
167
        </td>
167
        </td>
168
        <td>
168
        <td>
169
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext || serialslis.publisheddate %]" size="10" maxlength="100" />
169
            <input type="text" name="publisheddatetext" value="[% serialslis.publisheddatetext %]" size="10" maxlength="100" />
170
        </td>
170
        </td>
171
        <td>
171
        <td>
172
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" />
172
            <input type="text" id="expecteddate" name="planneddate" value="[% serialslis.planneddate %]" size="10" maxlength="15" />
Lines 230-236 $(document).ready(function() { Link Here
230
  [% UNLESS ( serialslis.subscriptionexpired ) %]
230
  [% UNLESS ( serialslis.subscriptionexpired ) %]
231
  [% IF ( serialslis.serialsadditems ) %]
231
  [% IF ( serialslis.serialsadditems ) %]
232
          <tr>
232
          <tr>
233
          <td colspan="5">
233
          <td colspan="6">
234
      <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 %]);">
234
      <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 %]);">
235
             Click to add item</a>
235
             Click to add item</a>
236
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
236
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
Lines 288-294 $(document).ready(function() { Link Here
288
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
288
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
289
        </td>
289
        </td>
290
        <td>
290
        <td>
291
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" />
291
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" />
292
        </td>
292
        </td>
293
        <td>
293
        <td>
294
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
294
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
Lines 342-348 $(document).ready(function() { Link Here
342
    </tr>
342
    </tr>
343
  [% IF ( newserialloo.serialsadditems ) %]
343
  [% IF ( newserialloo.serialsadditems ) %]
344
          <tr>
344
          <tr>
345
          <td colspan="5">
345
          <td colspan="6">
346
      <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 %]')">
346
      <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 %]')">
347
             Click to add item</a>
347
             Click to add item</a>
348
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
348
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
349
- 

Return to bug 8296