Exemplo n.º 1
0
         $pdf->Cell(40, 8, $ATC_Finance->currency_format(ATC_SETTING_FINANCE_MONEYFORMAT, $obj->amount), 1, 0, 'R', true);
         $pdf->Cell(40, 8, $translations['paymenttype'][$obj->payment_type], 1, 0, 'C', true);
         $pdf->SetFont('Arial', '', 6);
         $pdf->Cell(40, 8, $obj->reference, 1, 0, 'C', true);
         $pdf->Cell(40, 8, $obj->rank . ' ' . $obj->display_name, 1, 0, 'C', true);
         $pdf->Cell(0, 8, '', 1, 1, 'C', true);
     }
     $pdf->SetFillColor(200);
     $pdf->SetFont('Arial', 'UB', 8);
     $pdf->Cell(30, 8, 'Total', 1, 0, 'C', true);
     $pdf->Cell(40, 8, $ATC_Finance->currency_format(ATC_SETTING_FINANCE_MONEYFORMAT, $totalamount), 1, 0, 'C', true);
     $pdf->Cell(40, 8, '', 1, 0, 'C', true);
     $pdf->Cell(40, 8, '', 1, 0, 'C', true);
     $pdf->Cell(40, 8, '', 1, 1, 'C', true);
 }
 $pdf = $pdf->Output($ATC->generate_session_key() . '.pdf', 'D');
 /*
 			
 		$pdf->Cell(5,3,'SM',1,0,'C',true);
 		$pdf->Cell(20,3,'Attendee',1,0,'L',true);
 		$pdf->Cell(15,3,'Contact #',1,0,'L',true);
 		$pdf->Cell(28,3,'Next of Kin',1,0,'L',true);
 		$pdf->Cell(15,3,'NOK Mobile',1,0,'L',true);
 		$pdf->Cell(15,3,'NOK Home',1,0,'L',true);
 		$pdf->Cell(35,3,'Allergies',1,0,'L',true);
 		$pdf->Cell(35,3,'Medical Conditions',1,0,'L',true);
 		$pdf->Cell(35,3,'Medicinal Reactions',1,0,'L',true);
 		$pdf->Cell(35,3,'Dietary Req.',1,0,'L',true);
 		$pdf->Cell(35,3,'Other.',1,0,'L',true);
 $pdf->Cell(1,3,'',0,1);
 $row = 0;