edit-licheb-car_pdf
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user