This commit is contained in:
2026-01-12 13:40:57 +08:00
parent 0aa46fd635
commit 57376115c8
@@ -137,6 +137,7 @@ class UsedCarController extends BaseController
}
}
$data['attachment'] = $attachments;
$data['price'] = $price;
$pdf = (new MpdfDriver())->exportUsedCarPdf($data);
UsedCar::where('id', $data['id'])->update(['pdf_src' => $pdf]);