<?php
require('../../fpdf.php');
include "../../root.class.php";

$db = new db_safeguard();



$pdf = new FPDF();
$pdf->AliasNbPages();
$pdf->AddPage('p');

$pdf->SetFont('Arial', 'B', 20);
$pdf->Cell(200, 15, "TEST REPORT" , 0, 1, 'C');
$pdf->Cell(200, 15, "FOR {$_GET['jobcard_id']}" , 0, 1, 'C');
$pdf->Cell(10, 8, '', 0, 1, 'L');
$pdf->SetFont('Arial', '', 10);

$pdf->Cell(70, 8, "Jobcard Id : ", "", 0, 'L');
$pdf->Cell(70, 8, $_GET['jobcard_id'], "", 1, 'L');
$pdf->Cell(70, 8, "Date & Time of Request : ", "", 0, 'L');
$pdf->Cell(70, 8, $request_data['date_requested'], "", 1, 'L');
$pdf->Cell(70, 8, "Requested By : ", "", 0, 'L');
$pdf->Cell(70, 8, $request_data['requested_by '], "", 1, 'L');
$pdf->Cell(10, 5, '', 0, 1, 'L');

$pdf->Output('I');