Quickfix
Ich habe swiss-qr-bill\includes\tcpdf\templates\parts\customer-address.php
den Firmennamen eingefügt <?php echo $order->get_billing_company(); ?>
.
Noch besser w?re eine Abfrage.
K?nnt ihr so etwas in den Code übernehmen?
<?php
$invoice_date = WC_Swiss_Qr_Bill_Generate::get_formatted_date($order->get_date_created())
?>
<style>
td.f-small{
font-size: 10px;
}
</style>
<table border="0">
<tr>
<td class="f-small"><b><?php echo $order->get_billing_company(); ?></b>
<br><b><?php echo $order->get_formatted_billing_full_name(); ?></b>
<br><?php echo $order->get_billing_address_1(); ?>
<?php echo $order->get_billing_address_2() ? '<br>' . $order->get_billing_address_2() : ''; ?>
<br><?php echo $order->get_billing_postcode() . ' ' . $order->get_billing_city(); ?>
<br>
<br><?php echo ($gateway_options['shop_city'] ? $gateway_options['shop_city'] . ', ' : '') . $invoice_date ?>
</td>
</tr>
</table>