edit-licheb-car_pdf
This commit is contained in:
@@ -77,6 +77,11 @@ require_once APPPATH.'controllers/wxapp/Wxapp.php';
|
||||
$show_car_pro = $biz['city_id'] == '350900' ? true : false;
|
||||
}
|
||||
if($show_car_pro) {
|
||||
//2022-12-23至2023-01-01使用 car_tpl_tmp.pdf内容
|
||||
$tmp_html = "";
|
||||
if(time()>strtotime('2023-01-01 00:00:00')){
|
||||
$tmp_html = "<div style=\"margin-top:10px;\"><b>附加条款:</b></div><div style=\"text-indent:6.4vw;\">基于2022年12月31日新能源国家补贴取消的约束性条件,本合同特别约定,狸车公司代为合同签约客户办理国补申报手续,如因不可抗力(国税、上牌等)导致无法在2022年12月31日前完成国补资料收集以及申报的,需要客户承担国补损失7000元,或者协商退车,狸车退还客户已交付的相关费用</div>";
|
||||
}
|
||||
$car_html = "<div style=\"margin-top:20px;text-align:center;font-weight:bold;font-size:4.266vw;\"><b>汽车购买协议</b></div>
|
||||
<div style=\"background-color:#f8f8f8;border:#ebebeb 1px solid;box-sizing:border-box;margin-top:4vw;padding:4vw;border-radius:1.333vw;line-height:2;word-break:break-all;word-wrap:break-word;font-size:3.2vw;color:#666;overflow-x:hidden;\">
|
||||
<div style=\"text-align:right;\">编号【{$row['sid']}】</div>
|
||||
@@ -98,7 +103,7 @@ require_once APPPATH.'controllers/wxapp/Wxapp.php';
|
||||
<div style=\"margin-top:10px;\"><b>适用法律</b></div>
|
||||
<div style=\"text-indent:6.4vw;\">本协议应受中华人民共和国法律管辖并据其进行解释。因本协议引起的以及与本协议有关的一切争议,首先应由双方通过友好协商解决。如果双方未能通过协商解决该等争议,则任何一方有权向狸车公司所在地有管辖权的人民法院提起诉讼。如需仲裁,双方另行协商签订相关补充条款。</div>
|
||||
<div style=\"margin-top:10px;\"><b>协议生效</b></div>
|
||||
<div style=\"text-indent:6.4vw;\">本协议的所有附件构成本协议不可分割的一部分。本协议自您点击确认“我已阅读并同意”或双方签字、盖章且狸车公司收到您支付的定金后立即生效。</div>
|
||||
<div style=\"text-indent:6.4vw;\">本协议的所有附件构成本协议不可分割的一部分。本协议自您点击确认“我已阅读并同意”或双方签字、盖章且狸车公司收到您支付的定金后立即生效。</div>{$tmp_html}
|
||||
<div style=\"margin-top:10px;\">狸车用户:</div>
|
||||
<div>
|
||||
<div style=\"text-indent:6.4vw;\">签署:{$fill_info['name']}</div>
|
||||
|
||||
@@ -584,7 +584,8 @@ class Orders_v2_entity{
|
||||
'price_book' => $fill_info['price_book'],
|
||||
'last_price' => $fill_info['last_price'],
|
||||
];
|
||||
$pdf_path = 'pdf/car_tpl.pdf';
|
||||
//2022-12-23至2023-01-01使用 car_tpl_tmp.pdf
|
||||
$pdf_path = time()>strtotime('2023-01-01 00:00:00') ? 'pdf/car_tpl.pdf' : 'pdf/car_tpl_temp.pdf';
|
||||
if ($fill_info['sa']) {
|
||||
$fill_data['sa'] = $fill_info['sa'];
|
||||
$pdf_path = 'pdf/car_sa_tpl.pdf';
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user