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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7147-7153 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
7147
          AFTER publisheddate
7147
          AFTER publisheddate
7148
    ");
7148
    ");
7149
7149
7150
    print "Upgrade to $DBversion done (Add serial.publisheddatetext)\n";
7150
    print "Upgrade to $DBversion done (Bug 8296: Add serial.publisheddatetext)\n";
7151
    SetVersion($DBversion);
7151
    SetVersion($DBversion);
7152
}
7152
}
7153
7153
(-)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 228-234 $(document).ready(function() { Link Here
228
  [% UNLESS ( serialslis.subscriptionexpired ) %]
228
  [% UNLESS ( serialslis.subscriptionexpired ) %]
229
  [% IF ( serialslis.serialsadditems ) %]
229
  [% IF ( serialslis.serialsadditems ) %]
230
          <tr>
230
          <tr>
231
          <td colspan="5">
231
          <td colspan="6">
232
      <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 %]);">
232
      <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 %]);">
233
             Click to add item</a>
233
             Click to add item</a>
234
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
234
        <fieldset class="rows" style="display:none;" id="items[% serialslis.subscriptionid %][% serialslis.serialid %]">
Lines 286-292 $(document).ready(function() { Link Here
286
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
286
            <input type="text" name="publisheddate" value="[% newserialloo.publisheddate %]" size="10" maxlength="15" />
287
        </td>
287
        </td>
288
        <td>
288
        <td>
289
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext || newserialloo.publisheddate %]" size="10" maxlength="100" />
289
            <input type="text" name="publisheddatetext" value="[% newserialloo.publisheddatetext %]" size="10" maxlength="100" />
290
        </td>
290
        </td>
291
        <td>
291
        <td>
292
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
292
            <input type="text" name="planneddate" id="supexpecteddate" value="[% newserialloo.planneddate %]" size="10" maxlength="15" />
Lines 340-346 $(document).ready(function() { Link Here
340
    </tr>
340
    </tr>
341
  [% IF ( newserialloo.serialsadditems ) %]
341
  [% IF ( newserialloo.serialsadditems ) %]
342
          <tr>
342
          <tr>
343
          <td colspan="5">
343
          <td colspan="6">
344
      <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 %]')">
344
      <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 %]')">
345
             Click to add item</a>
345
             Click to add item</a>
346
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
346
        <fieldset  class="rows" style="display:none;" id="items[% newserialloo.subscriptionid %][% newserialloo.serialid %]">
347
- 

Return to bug 8296