832 |
832 |
833 $this->SetX($this->TableX); |
833 $this->SetX($this->TableX); |
834 $this->Cell(45,5,'Hoofdvergisting start temp.',0,0,'L',true); |
834 $this->Cell(45,5,'Hoofdvergisting start temp.',0,0,'L',true); |
835 $this->Cell(45,5,sprintf("%.1f",$row['primary_start_temp']).DEG.'C',0,0,'L',true); |
835 $this->Cell(45,5,sprintf("%.1f",$row['primary_start_temp']).DEG.'C',0,0,'L',true); |
836 $this->Cell($vul,5,'',0,0,'L',false); |
836 $this->Cell($vul,5,'',0,0,'L',false); |
837 $this->Cell(45,5,'Navergisting tempertuur',0,0,'L',true); |
|
838 $this->Cell(45,5,sprintf("%.1f", $row['secondary_temp']).DEG.'C',0,0,'L',true); |
|
839 $this->Ln(); |
|
840 |
|
841 $this->SetX($this->TableX); |
|
842 $this->Cell(45,5,'Hoofdvergisting piek temp.',0,0,'L',true); |
837 $this->Cell(45,5,'Hoofdvergisting piek temp.',0,0,'L',true); |
843 $this->Cell(45,5,sprintf("%.1f",$row['primary_max_temp']).DEG.'C',0,0,'L',true); |
838 $this->Cell(45,5,sprintf("%.1f",$row['primary_max_temp']).DEG.'C',0,0,'L',true); |
844 $this->Cell($vul,5,'',0,0,'L',false); |
|
845 $this->Cell(45,5,'Navergisting einde',0,0,'L',true); |
|
846 $this->Cell(45,5,$row['secondary_end_date'],0,0,'L',true); |
|
847 $this->Ln(); |
839 $this->Ln(); |
848 |
840 |
849 $this->SetX($this->TableX); |
841 $this->SetX($this->TableX); |
850 $this->Cell(45,5,'Hoofdvergisting eind temp.',0,0,'L',true); |
842 $this->Cell(45,5,'Hoofdvergisting eind temp.',0,0,'L',true); |
851 $this->Cell(45,5,sprintf("%.1f",$row['primary_end_temp']).DEG.'C',0,0,'L',true); |
843 $this->Cell(45,5,sprintf("%.1f",$row['primary_end_temp']).DEG.'C',0,0,'L',true); |
852 $this->Cell($vul,5,'',0,0,'L',false); |
844 $this->Cell($vul,5,'',0,0,'L',false); |
853 $this->Cell(45,5,'Lageren temperatuur',0,0,'L',true); |
845 $this->Cell(45,5,'Hoofdvergisting densiteit',0,0,'L',true); |
|
846 $this->Cell(45,5,sprintf("%.3f",floatval($row['primary_end_sg'])).' SG',0,0,'L',true); |
|
847 $this->Ln(); |
|
848 |
|
849 $this->SetX($this->TableX); |
|
850 $this->Cell(45,5,'Hoofdvergisting einde',0,0,'L',true); |
|
851 $this->Cell(45,5,$row['primary_end_date'],0,0,'L',true); |
|
852 $this->Ln(); |
|
853 |
|
854 $this->SetX($this->TableX); |
|
855 $this->Cell(45,5,'Navergisting tempertuur',0,0,'L',true); |
|
856 $this->Cell(45,5,sprintf("%.1f", $row['secondary_temp']).DEG.'C',0,0,'L',true); |
|
857 $this->Cell($vul,5,'',0,0,'L',false); |
|
858 $this->Cell(45,5,'Nagisten densiteit',0,0,'L',true); |
|
859 $this->Cell(45,5,sprintf("%.3f",floatval($row['secondary_end_sg'])).' SG',0,0,'L',true); |
|
860 $this->Ln(); |
|
861 |
|
862 $this->SetX($this->TableX); |
|
863 $this->Cell(45,5,'Nagisten einde',0,0,'L',true); |
|
864 $this->Cell(45,5,$row['secondary_end_date'],0,0,'L',true); |
|
865 $this->Ln(); |
|
866 |
|
867 $this->SetX($this->TableX); |
|
868 $this->Cell(45,5,'Lageren temperatuur',0,0,'L',true); |
854 $this->Cell(45,5,sprintf("%.1f",$row['tertiary_temp']).DEG.'C',0,0,'L',true); |
869 $this->Cell(45,5,sprintf("%.1f",$row['tertiary_temp']).DEG.'C',0,0,'L',true); |
855 $this->Ln(); |
870 $this->Cell($vul,5,'',0,0,'L',false); |
856 |
871 $this->Cell(45,5,'Lageren densiteit',0,0,'L',true); |
857 $this->SetX($this->TableX); |
872 $this->Cell(45,5,sprintf("%.3f",floatval($row['fg'])).' SG',0,0,'L',true); |
858 $this->Cell(45,5,'Hoofdvergisting densiteit',0,0,'L',true); |
873 $this->Ln(); |
859 $this->Cell(45,5,density_str(floatval($row['primary_end_sg'])),0,0,'L',true); |
874 |
860 $this->Cell($vul,5,'',0,0,'L',false); |
875 $this->SetX($this->TableX); |
861 $this->Cell(45,5,'Lageren densiteit',0,0,'L',true); |
|
862 $this->Cell(45,5,density_str(floatval($row['fg'])),0,0,'L',true); |
|
863 $this->Ln(); |
|
864 |
|
865 $this->SetX($this->TableX); |
|
866 $this->Cell(45,5,'Hoofdvergisting einde',0,0,'L',true); |
|
867 $this->Cell(45,5,$row['primary_end_date'],0,0,'L',true); |
|
868 $this->Cell($vul,5,'',0,0,'L',false); |
|
869 $this->Cell(45,5,'Lageren einde',0,0,'L',true); |
876 $this->Cell(45,5,'Lageren einde',0,0,'L',true); |
870 $this->Cell(45,5,$row['package_date'],0,0,'L',true); |
877 $this->Cell(45,5,$row['package_date'],0,0,'L',true); |
871 $this->Ln(); |
878 $this->Cell($vul,5,'',0,0,'L',false); |
872 |
|
873 $svg = 100 * (floatval($row['brew_fermenter_sg']) - floatval($row['fg'])) / (floatval($row['brew_fermenter_sg']) - 1); |
879 $svg = 100 * (floatval($row['brew_fermenter_sg']) - floatval($row['fg'])) / (floatval($row['brew_fermenter_sg']) - 1); |
874 $this->SetX($this->TableX); |
880 $this->Cell(45,5,'Schijnbare vergistingsgraad',0,0,'L',true); |
875 $this->Cell($vul+90,5,'',0,0,'L',false); |
|
876 $this->Cell(45,5,'Schijnbare vergistingsgraad',0,0,'L',true); |
|
877 $this->Cell(45,5,sprintf("%.1f",$svg).'%',0,0,'L',true); |
881 $this->Cell(45,5,sprintf("%.1f",$svg).'%',0,0,'L',true); |
878 $this->Ln(); |
882 $this->Ln(); |
879 } |
883 } |
880 |
884 |
881 function Packaging($row) { |
885 function Packaging($row) { |