コード例 #1
0
ファイル: bill_lading_pdf.php プロジェクト: robocon/shs
     // ����� column �����ͨ����� X ������
     $x1 = 93;
     $x2 = 143;
     $x3 = 153;
     $x4 = 163;
     $x5 = 172;
 }
 if (isset($full_items[$i])) {
     ++$item_i;
     $item = $full_items[$i];
     $pdf->SetXY($x1, $y_start);
     $pdf->Cell(50, $line_height, $item['tradename'], 1, 1, 'L');
     $pdf->SetXY($x2, $y_start);
     $pdf->Cell(10, $line_height, $item['num'], 1, 1, 'R');
 } else {
     $pdf->Rect($x1, $y_start, 50, $line_height);
     //��¡��
     $pdf->Rect($x2, $y_start, 10, $line_height);
     //�ӹǹ�ԡ
 }
 // �����ͧ��ҹ��Ңͧ���� column �繤����ҧ
 $pdf->Rect($x3, $y_start, 10, $line_height);
 //���¨�ԧ
 $pdf->Rect($x4, $y_start, 9, $line_height);
 //���Թ(�ҷ)
 $pdf->Rect($x5, $y_start, 6, $line_height);
 //���Թ(ʵ.)
 $y_start += 7.5;
 // ����ͤú 34 ��(����+���) �����������
 if ($row_i === 34) {
     $row_i = 0;