Skip to content

Commit

Permalink
PDF Rechnung für PhP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dernerd committed Feb 17, 2024
1 parent 0ab8c13 commit 757e1c1
Show file tree
Hide file tree
Showing 399 changed files with 141,495 additions and 43,775 deletions.
568 changes: 284 additions & 284 deletions includes/addons/mp-pdf-invoice/class-mp-pdf-invoice-addon.php

Large diffs are not rendered by default.

711 changes: 341 additions & 370 deletions includes/addons/mp-pdf-invoice/class-mp-pdf-invoice.php

Large diffs are not rendered by default.

20 changes: 4 additions & 16 deletions includes/addons/mp-pdf-invoice/templates/default/invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,13 @@
}

.header img {
max-height: 120px;
width: 300px;
}

.header h2 {
font-size: 25px;
font-weight: normal;
max-height: 60px;
width: auto;
}

.header h3 {
font-size: 20pt;
font-weight: normal;
text-align: center;
}

.clear {
Expand Down Expand Up @@ -63,7 +57,6 @@
<div class="container">
<div class="header">
{{logo}}
<h2>{{shop_name}}</h2>

<h3><?php _e( "Rechnung", "mp" ) ?> #{{order_id}}</h3>
</div>
Expand All @@ -75,7 +68,7 @@
</td>
<?php if ( $show_shipping == true ): ?>
<td>
<strong><?php _e( "Lieferadresse", "mp" ) ?></strong><br>
<strong><?php _e( "Lieferanschrift", "mp" ) ?></strong><br>
{{shipping}}
</td>
<?php endif; ?>
Expand All @@ -96,9 +89,4 @@
{{order_details}}
</tbody>
</table>
{{footer}}
<br/>
<strong><?php _e( "Shopanschrift:", "mp" ) ?></strong>
{{shop_address}}
</div>

</div>
2 changes: 1 addition & 1 deletion includes/addons/mp-pdf-invoice/templates/default/main.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Name: Default
* Description: Default template for PSeCommerce invoice
* Description: Default template for MarketPress invoice
*/
//only for information
10 changes: 5 additions & 5 deletions includes/addons/mp-pdf-invoice/templates/default/packing.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@
<div class="header">
{{logo}}

<h3><?php _e( "Lieferschein", "mp" ) ?> #{{order_id}}</h3>
<h3><?php _e( "Packing Slip", "mp" ) ?> #{{order_id}}</h3>
</div>
<table>
<tr>
<td>
<strong><?php _e( "Rechnungsadresse", "mp" ) ?></strong><br>
<strong><?php _e( "Billing Address", "mp" ) ?></strong><br>
{{billing}}
</td>
<?php if ( $show_shipping == true ): ?>
<td>
<strong><?php _e( "Lieferadresse", "mp" ) ?></strong><br>
<strong><?php _e( "Shipping Address", "mp" ) ?></strong><br>
{{shipping}}
</td>
<?php endif; ?>
Expand All @@ -83,8 +83,8 @@
<table class="product-detail">
<thead>
<tr>
<th><?php _e( "Produktname", "mp" ) ?></th>
<th><?php _e( "Menge", "mp" ) ?></th>
<th><?php _e( "Product Name", "mp" ) ?></th>
<th><?php _e( "Quantity", "mp" ) ?></th>
</tr>
</thead>
<tbody>
Expand Down
24 changes: 24 additions & 0 deletions includes/addons/mp-pdf-invoice/vendors/dompdf/AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Dompdf was designed and developed by Benj Carson.

### Current Team

* **Brian Sweeney** (maintainer)
* **Till Berger**

### Alumni

* **Benj Carson** (creator)
* **Fabien Ménager**
* **Simon Berger**
* **Orion Richardson**

### Contributors
* **Gabriel Bull**
* **Barry vd. Heuvel**
* **Ryan H. Masten**
* **Helmut Tischer**
* [and many more...](https://github.com/dompdf/dompdf/graphs/contributors)

### Thanks

Dompdf would not have been possible without strong community support.
76 changes: 0 additions & 76 deletions includes/addons/mp-pdf-invoice/vendors/dompdf/CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 757e1c1

Please sign in to comment.