Bug 22896: Missing inputs in transfer modal
This patch restores hidden inputs to save overridden checkin date and other data Currently we lose the list of checkouts and several settings when items with transfers are checked in To test: 1 - Find an item from another branch 2 - Set a checkin date and click the box for the date to be remembered 3 - Check in the item 4 - Click ok or print, note the checkin date is lost 5 - Apply patch 6 - Repeat 7 - Checkin date remains Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
a6840d14d2
commit
edb9f498f7
1 changed files with 12 additions and 10 deletions
|
@ -225,6 +225,8 @@
|
|||
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button>
|
||||
<button type="submit" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% TransferWaitingAt | html %]&op=slip"><i class="fa fa-print"></i> Print transfer slip</button>
|
||||
<button class="btn btn-default deny cancel-transfer" type="submit"><i class="fa fa-times"></i> Cancel transfer</button>
|
||||
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" />
|
||||
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -389,17 +391,7 @@
|
|||
</p>
|
||||
<input type="hidden" name="tobranch" value="[% returnbranch | html %]" />
|
||||
<input type="hidden" name="transferitem" value="[% itemnumber | html %]" />
|
||||
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" />
|
||||
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" />
|
||||
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" />
|
||||
[% FOREACH inputloo IN inputloop %]
|
||||
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
|
||||
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
|
||||
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
|
||||
[% END %]
|
||||
<input type="hidden" name="barcode" value="0" />
|
||||
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" />
|
||||
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" />
|
||||
[% END %]
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
@ -410,6 +402,16 @@
|
|||
<button type="submit" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button>
|
||||
<button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Print slip</button>
|
||||
[% END %]
|
||||
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" />
|
||||
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" />
|
||||
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" />
|
||||
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" />
|
||||
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" />
|
||||
[% FOREACH inputloo IN inputloop %]
|
||||
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" />
|
||||
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" />
|
||||
<input type="hidden" name="bn-[% inputloo.counter | html %]" value="[% inputloo.borrowernumber | html %]" />
|
||||
[% END %]
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue