Changeset 2449110
- Timestamp:
- 01/02/2021 01:04:01 PM (5 years ago)
- Location:
- apollo/trunk
- Files:
-
- 3 edited
-
apollo.php (modified) (2 diffs)
-
includes/admin/invoice.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
apollo/trunk/apollo.php
r2415367 r2449110 4 4 * Plugin URI: https://wordpress.org/plugins/apollo 5 5 * Description: Manually or automatically generate invoices and send PDFs as attachments for WooCommerce orders. 6 * Version: 1.1.1 36 * Version: 1.1.14 7 7 * Author: Studio404 8 8 * Text Domain: apollo … … 14 14 defined( 'ABSPATH' ) or exit; 15 15 16 define( 'APOLLO_VERSION', '1.1.1 3' );16 define( 'APOLLO_VERSION', '1.1.14' ); 17 17 18 18 function apollo_load_plugin() { -
apollo/trunk/includes/admin/invoice.php
r2415367 r2449110 318 318 } 319 319 320 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$ type." - ".$number.".pdf";320 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$id.".pdf"; 321 321 if (file_exists($pdf_path)) { 322 322 return $pdf_path; … … 340 340 } 341 341 342 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$ type." - ".$number.".pdf";342 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$id.".pdf"; 343 343 344 344 if(!file_exists(dirname($pdf_path))) … … 371 371 } 372 372 373 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$ type_name." - ".$number.".pdf";373 $pdf_path = APOLLO_DOCUMENTS_DIR."/".$id.".pdf"; 374 374 if (!file_exists($pdf_path)) { 375 375 $pdf_path = Apollo_invoice::getPdf($id, $number, $type); -
apollo/trunk/readme.txt
r2415367 r2449110 85 85 86 86 == Changelog == 87 = 1.1.14 - January 2, 2020 = 88 89 - Fixed: PDF file path bug 90 87 91 = 1.1.13 - November 9, 2020 = 88 92
Note: See TracChangeset
for help on using the changeset viewer.