43 lines
No EOL
1.9 KiB
PHP
43 lines
No EOL
1.9 KiB
PHP
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
|
|
<div class="invoice-body">
|
|
<!-- Invoice Details :: Start -->
|
|
<div class="invoice-detail--body">
|
|
<div class="invoice-detail">
|
|
<div class="iv-detail--head">
|
|
<table style="width: 100%;" class="oont-header-table">
|
|
<tr style="padding:5px;">
|
|
<td style="font-size: 14px;border:0;">
|
|
<h5><?php _e( 'Order Number:', 'woocommerce-pdf-invoices-packing-slips' ); ?></h5>
|
|
<h2 style="font-size: 38px;font-weight: bold;">#<?php $this->order_number(); ?></h2>
|
|
</td>
|
|
<td style="text-align: right;border: 0;">
|
|
<img src="<?php echo get_stylesheet_directory_uri() . '/assets/images/logo.png'; ?>" alt="" style="width: 60px; height: 30px;">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<th style="font-size:12px;"><?php _e( 'Quantity', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
|
|
<th style="font-size:12px;"><?php _e( 'Items', 'woocommerce-pdf-invoices-packing-slips' ); ?></th>
|
|
</tr>
|
|
<?php foreach ( $this->get_order_items() as $item_id => $item ) : ?>
|
|
<tr>
|
|
<th><?php echo $item['quantity']; ?></th>
|
|
<th><?php echo $item['name']; ?></th>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Invoice Details :: End -->
|
|
|
|
<!-- Shipping Information :: Start -->
|
|
<div class="shipping-info">
|
|
<ul>
|
|
<?php echo softoba_display_order_data_pdf( $this->order ); ?>
|
|
</ul>
|
|
</div>
|
|
<!-- Shipping Information :: End -->
|
|
|
|
</div>
|