$total_text = array(); $total_text[] = '+ ' . displayCurrency($order['currency'], $orders_total['ot_shipping']['value']); $pdf->SetXY($xpos + $col_total_width, $ypos); $pdf->MultiCell($col_total_width_2, $col_total_lineheight, implode("\n", $total_text), 0, 'R'); //Totals: $ypos += 5; $xpos = $margin + 85; $box_width = $col_total_width + $col_total_width_3; $total_text = array(); $total_text[] = ' '; $total_text[] = 'Rechnungsbetrag zahlbar innerhalb'; $total_text[] = '14 Tage nach Erhalt der Ware:'; $total_text[] = ' '; $col_total_lineheight_2 = count($total_text) * $col_total_lineheight; $pdf->setFont('Arial', 'B', $fontsize_big); $pdf->setFillColor(200, 200, 200); $pdf->Rect($xpos, $ypos, $box_width, $col_total_lineheight_2, 'DF'); $pdf->SetXY($xpos, $ypos); $pdf->MultiCell($col_total_width, $col_total_lineheight, implode("\n", $total_text), 0, 'R'); $total_text = array(); $total_price = $orders_total['ot_total']['value']; $total_text[] = displayCurrency($order['currency'], $total_price); $pdf->SetXY($xpos + $col_total_width, $ypos); $pdf->MultiCell($col_total_width_3, $col_total_lineheight_2, implode("\n", $total_text), 0, 'C'); //TRANSFER SLIP //account_name, account_no, bank_no, bank_name $total_price_nocurr = displayCurrency('EUR', $total_price, false); $ystart = 214; /* Hide this, this section is fit with old format invoice paper (right side bank form/slip, left side is Quittung until box EUR)