$pdf->SetTextColor(0, 0, 0);
     $pdf->Cell($address_width, 4, $order['delivery_company']);
     $ypos += 4;
 }
 $pdf->SetXY($box1x, $ypos);
 $pdf->setFont('Arial', 'B', '10');
 $pdf->SetTextColor(0, 0, 0);
 $pdf->Cell($address_width, 4, $order['delivery_name']);
 $ypos += 4;
 $shipping_address = $order['delivery_street_address'];
 $shipping_address .= "\n" . $order['delivery_postcode'];
 $shipping_address .= ' ' . $order['delivery_city'];
 $shipping_address .= "\n" . $order['delivery_country'];
 $pdf->SetXY($box1x, $ypos);
 $pdf->setFont('Arial', '', '10');
 $pdf->MultiCell($address_width, 4, $shipping_address);
 if ($print_address_note) {
     //Billing Address
     $ypos = $box_y;
     $pdf->SetXY($box2x, $ypos);
     $pdf->SetTextColor($gray, $gray, $gray);
     $pdf->Cell($address_width, 4, 'Bestellt von:');
     $ypos += 6;
     if ($order['billing_company'] != '') {
         $pdf->SetXY($box2x, $ypos);
         $pdf->setFont('Arial', 'B', '10');
         $pdf->SetTextColor(0, 0, 0);
         $pdf->Cell($address_width, 4, $order['billing_company']);
         $ypos += 4;
     }
     $pdf->SetXY($box2x, $ypos);
예제 #2
0
     $pdf->SetTextColor(0, 0, 0);
     $pdf->Cell($address_width, 4, $order['delivery_company']);
     $ypos += 4;
 }
 $pdf->SetXY($box1x, $ypos);
 $pdf->setFont('Arial', 'B', '10');
 $pdf->SetTextColor(0, 0, 0);
 $pdf->Cell($address_width, 4, $order['delivery_name']);
 $ypos += 4;
 $shipping_address = $order['delivery_street_address'];
 $shipping_address .= "\n" . $order['delivery_postcode'];
 $shipping_address .= ' ' . $order['delivery_city'];
 $shipping_address .= "\n" . $order['delivery_country'];
 $pdf->SetXY($box1x, $ypos);
 $pdf->setFont('Arial', '', '10');
 $pdf->MultiCell($address_width, 4, $shipping_address);
 if ($print_address_note) {
     //Billing Address
     $ypos = $box_y;
     $pdf->SetXY($box2x, $ypos);
     $pdf->SetTextColor($gray, $gray, $gray);
     $pdf->Cell($address_width, 4, 'Bestellt von:');
     $ypos += 6;
     if ($order['billing_company'] != '') {
         $pdf->SetXY($box2x, $ypos);
         $pdf->setFont('Arial', 'B', '10');
         $pdf->SetTextColor(0, 0, 0);
         $pdf->Cell($address_width, 4, $order['billing_company']);
         $ypos += 4;
     }
     $pdf->SetXY($box2x, $ypos);
예제 #3
0
 $pdf->logo_image = 'nm.de';
 $pdf->AddPage();
 //Order Counter
 $counter_display = dailyCounterNo($order['order_date'], $order['daily_count']);
 $pdf->SetXY(10, 5);
 $pdf->setFont('Arial', '', '12');
 $pdf->Cell(40, 5, $counter_display);
 //Header
 $pdf->SetXY(10, 10);
 $pdf->setFont('Arial', 'B', '18');
 $pdf->Cell(70, 10, 'Lieferschein', 0, 0);
 $top_pos = 30;
 //Shipping Address
 $pdf->SetXY($margin, $top_pos);
 $pdf->setFont('Arial', '', $fontsize_sml);
 $pdf->MultiCell($address_width, 4, 'Warenempfänger');
 $shipping_address = $order['customer_shipping_title'];
 $shipping_address .= ' ' . $order['customer_shipping_firstname'];
 $shipping_address .= ' ' . $order['customer_shipping_lastname'];
 $shipping_address .= "\n" . $order['customer_shipping_address'];
 $shipping_address .= ' ' . $order['customer_shipping_address2'];
 $shipping_address .= "\n" . $order['customer_shipping_postcode'];
 $shipping_address .= ' ' . $order['customer_shipping_city'];
 $pdf->SetXY($margin, $top_pos + 5);
 $pdf->setFont('Arial', '', $fontsize_med);
 $pdf->MultiCell($address_width, 4, $shipping_address);
 //Return Address
 $leftpos = $margin + 125;
 $pdf->SetXY($leftpos, $top_pos);
 $pdf->setFont('Arial', '', $fontsize_sml);
 $pdf->MultiCell($address_width, 4, 'Rücksendeadresse');