Bug 32694: Fix value of 'Keep current' option in receiving
This patch restores missing template toolkit markers around the variable To test: 1 - Order an item in a basket 2 - Close the basket 3 - Attempt to receive the item, leaving budget as 'Keep current' 4 - 500 Error: C4::Acquisition::ModReceiveOrder(): DBI Exception: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (koha_cclsny.aqorders, CONSTRAINT aqorders_budget_id_fk FOREIGN KEY (budget_id) REFERENCES aqbudgets (budget_id) ON DELETE CASCADE ON UPDATE CASCADE) at /usr/share/koha/intranet/cgi-bin/acqui/finishreceive.pl line 120 5 - Apply patch 6 - Receive order successfully! Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit9531a82e97) Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com> (cherry picked from commit6f0bbc2afc) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
fa82da9b57
commit
85d389c5e8
|
|
@ -292,7 +292,7 @@
|
|||
[% END %]
|
||||
<select class="select2" id="bookfund" name="bookfund">
|
||||
<optgroup label="Current">
|
||||
<option value="order.fund.budget.id" selected="selected" data-sort1-authcat="[% order.fund.sort1_authcat | html %]" data-sort2-authcat="[% order.fund.sort2_authcat | html %]">
|
||||
<option value="[% order.fund.budget.id %]" selected="selected" data-sort1-authcat="[% order.fund.sort1_authcat | html %]" data-sort2-authcat="[% order.fund.sort2_authcat | html %]">
|
||||
Keep current ([% order.fund.budget_name | html %])</option>
|
||||
</optgroup>
|
||||
[% FOREACH budget_period_id IN budget_loops.keys %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue