Bug 28805: (QA follow-up) Pass onsite variable to confirmation screen

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-09-25 18:48:59 +00:00 committed by Tomas Cohen Arazi
parent 23a1dfe04a
commit 1cf021d961
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 3 additions and 1 deletions

View file

@ -475,7 +475,8 @@ if (@$barcodes) {
} else {
my $confirmation_needed = grep { $_->{NEEDSCONFIRMATION} } @$checkout_infos;
$template->param(
checkout_infos => $checkout_infos,
checkout_infos => $checkout_infos,
onsite_checkout => $onsite_checkout,
confirmation_needed => $confirmation_needed,
);
}

View file

@ -323,6 +323,7 @@
<input type="hidden" name="branch" value="[% branch | html %]" />
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
<input type="hidden" name="batch" value="1" />
<input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
<input type="submit" id="checkoutrenew" class="btn btn-primary" value="Checkout or renew" />
</fieldset>
</form>