Skip to content

Commit 91f8dba

Browse files
committed
Added link to hand off to the standard hosted booking engine from Step 4
1 parent d1f7f4e commit 91f8dba

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

step4.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@
5959
<input type="hidden" name="channel" value="<?php print $channel; ?>" />
6060
<input type="submit" name="submit" value="Go" />
6161
</form>
62+
63+
<?php
64+
// Hand off to standard booking engine
65+
if(!empty($result->booking->booking_engine_url)) {
66+
?>
67+
<p>Or <a href="<?php echo $result->booking->booking_engine_url; ?>" target="_blank">jump in to the hosted booking engine to complete this booking</a><br />(if you were building a hand-off to the hosted booking engine for real you would probably have skipped the customer name collection on the previous page).</p>
68+
<?php
69+
}
70+
?>
6271

6372
<?php
6473
include_once("inc/debug.php");

0 commit comments

Comments
 (0)