292 if ($item['y_use'] == 0) // Primary |
292 if ($item['y_use'] == 0) // Primary |
293 $svg = $attenuation; |
293 $svg = $attenuation; |
294 |
294 |
295 if ($item['y_form'] == 0) // Liquid |
295 if ($item['y_form'] == 0) // Liquid |
296 $amount = sprintf("%.0f",floatval($item['y_amount']))." pak"; |
296 $amount = sprintf("%.0f",floatval($item['y_amount']))." pak"; |
297 else if ($item['y_form'] == 1) // Dry |
297 else if ($item['y_form'] == 1 || $item['y_form'] == 6) // Dry |
298 $amount = sprintf("%.1f",floatval($item['y_amount'])*1000)." gr"; |
298 $amount = sprintf("%.1f",floatval($item['y_amount'])*1000)." gr"; |
299 else |
299 else |
300 $amount = sprintf("%.0f",floatval($item['y_amount'])*1000)." ml"; |
300 $amount = sprintf("%.0f",floatval($item['y_amount'])*1000)." ml"; |
301 $this->Cell($vul,5,$laboratory.' '.$product_id.' ('.$name.')',0,0,'L',true); |
301 $this->Cell($vul,5,$laboratory.' '.$product_id.' ('.$name.')',0,0,'L',true); |
302 $this->Cell(15,5,sprintf("%.1f%%",$attenuation),0,0,'R',true); |
302 $this->Cell(15,5,sprintf("%.1f%%",$attenuation),0,0,'R',true); |