GX-Bug #60049 » TAXFREEOrderInvoiceFix.patch
| src/admin/includes/gm/classes/gmOrderPDF.php (date 1533911906000) | ||
|---|---|---|
| 162 | 162 |
|
| 163 | 163 |
// -> to set the creator of the pdfument |
| 164 | 164 |
parent::SetCreator('fpdf.org/gambio.de');
|
| 165 |
|
|
| 166 |
|
|
| 167 |
$t_order_tax_sql = "SELECT * |
|
| 168 |
FROM " . TABLE_ORDERS_TOTAL . " |
|
| 165 |
|
|
| 166 |
$t_order_tax_sql = "SELECT allow_tax |
|
| 167 |
FROM " . TABLE_ORDERS_PRODUCTS . " |
|
| 169 | 168 |
WHERE |
| 170 | 169 |
orders_id='" . (int)$_GET['oID'] . "' AND |
| 171 |
class = 'ot_tax'";
|
|
| 170 |
allow_tax = 1";
|
|
| 172 | 171 |
$t_order_tax_result = xtc_db_query($t_order_tax_sql); |
| 173 | 172 |
|
| 174 | 173 |
|