水灯节增加行程信息

hotfix/paypal-note
LiaoYijun 3 years ago
parent 387cced000
commit 162adb431f

@ -1302,10 +1302,16 @@ class Information extends CI_Controller
$information->ic_content = str_replace('<!--@INFO-PAGE-FORM@-->', $info_page_form_content, $information->ic_content);
// 水灯节表单
$lantern_form_content = $this->load->view($template_path . '-lantern-form', false, true);
$lantern_form_content = $this->load->view(
$template_path . '-lantern-form',
array('information' => $information),
true);
$information->ic_content = str_replace('<!--@LANTERN-FORM@-->', $lantern_form_content, $information->ic_content);
// 水灯节在信息页面表单
$lantern_form_info_page_content = $this->load->view($template_path . '-lantern-form-info-page', false, true);
$lantern_form_info_page_content = $this->load->view(
$template_path . '-lantern-form-info-page',
array('information' => $information),
true);
$information->ic_content = str_replace('<!--@LANTERN-FORM-INFO-PAGE@-->', $lantern_form_info_page_content, $information->ic_content);
// 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。

@ -669,6 +669,7 @@
<input name="totalprice" id="totalPriceHidden" type="hidden" value="10000" />
<input name="product_sn" id="product_sn" type="hidden" value="13949" />
<input name="cli_no" id="cli_no" type="hidden" value="YDFW-AH" />
<input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" />
<button class="sendButton" id="submit_ticket_button" name="submit_ticket_form"
type="button">Proceed to Payment</button>
</form>

@ -668,6 +668,7 @@
<input name="totalprice" id="totalPriceHidden" type="hidden" value="10000" />
<input name="cli_no" id="cli_no" type="hidden" value="ah-24"/>
<input name="itinerary" type="hidden" value="<?php echo $information->ic_title; ?>" />
<button class="sendButton" id="submit_ticket_button" name="submit_ticket_form"
type="button">Proceed to Payment</button>
</form>

Loading…
Cancel
Save