From c95ce8d52335733cc57d28c9743eabec3dd50d9e Mon Sep 17 00:00:00 2001 From: pavlosb Date: Fri, 28 Jun 2024 13:28:25 +0300 Subject: [PATCH] Update pdfreport.php --- application/views/pdfreport.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/application/views/pdfreport.php b/application/views/pdfreport.php index 584de61..104bac1 100644 --- a/application/views/pdfreport.php +++ b/application/views/pdfreport.php @@ -141,7 +141,13 @@ lang->line('pdf_wheeldrive_vhcl'); ?>lang->line($inspection->wheeldrive_vhcl); ?>lang->line('pdf_mlg_vhcl'); ?>mlg_vhcl, 0,',', '.'); ?> -lang->line('pdf_displpow_vhcl'); ?>pow_vhcl, 0,',', '.'); ?>kW / displ_vhcl, 0,',', '.'); ?>ccmlang->line('pdf_firstreg_vhcl'); ?>firstreg_vhcl)); ?> +lang->line('pdf_displpow_vhcl'); ?>pow_vhcl, 0,',', '.'); ?>kW / displ_vhcl >0) { + echo number_format($inspection->displ_vhcl, 0,',', '.')."ccm"; + } else { + echo " - "; + } + ?>lang->line('pdf_firstreg_vhcl'); ?>firstreg_vhcl)); ?>   lang->line('pdf_mlg_notice'); ?>