Changeset 3318161
- Timestamp:
- 06/26/2025 10:18:33 AM (8 months ago)
- Location:
- invoice-generator
- Files:
-
- 3 added
- 2 edited
-
assets/screenshot-06.png (added)
-
assets/screenshot-07.png (added)
-
trunk/includes/woo-integration.php (added)
-
trunk/invoice-generator.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
invoice-generator/trunk/invoice-generator.php
r3306362 r3318161 4 4 * Plugin URI: https://oplugins.com 5 5 * Description: Generate invoices and download them as PDFs without a database. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.0 … … 17 17 18 18 require_once INGEN_DIR_PATH . 'includes/generate-invoice-pdf-from-data.php'; 19 19 require_once INGEN_DIR_PATH . 'includes/woo-integration.php'; 20 20 21 21 add_action('admin_menu', 'ingen_add_admin_menu'); 22 22 add_action('admin_enqueue_scripts', 'ingen_enqueue_assets'); 23 23 add_action('wp_ajax_ingen_generate_pdf', 'ingen_generate_pdf'); 24 add_action('woocommerce_order_status_completed', 'ingen_generate_invoice_for_order'); 24 25 25 26 … … 203 204 <p id="invoice-message" class="mt-4"></p> 204 205 205 <div class="mt-8 mb-8 text-center text-sm text-gray-500">206 <p>207 <a style="padding:0 10px" href="mailto:[email protected]?subject=Invoice%20Tool%20Help" class="text-blue-600 hover:underline">208 <?php esc_html_e( 'Contact support', 'invoice-generator' ); ?>209 </a> |210 <a style="padding:0 10px" href="mailto:[email protected]?subject=Feature%20Request%20for%20Invoice%20Tool" class="text-blue-600 hover:underline">211 <?php esc_html_e( 'Request a new feature', 'invoice-generator' ); ?>212 </a> |213 <a style="padding:0 10px" href="mailto:[email protected]?subject=Bug%20Report%20for%20Invoice%20Tool" class="text-blue-600 hover:underline">214 <?php esc_html_e( 'Report a bug', 'invoice-generator' ); ?>215 </a>216 </p>217 </div>206 <div class="mt-8 mb-8 text-center text-sm text-gray-500"> 207 <p> 208 <a style="padding:0 10px" href="mailto:[email protected]?subject=Invoice%20Tool%20Help" class="text-blue-600 hover:underline"> 209 <?php esc_html_e( 'Contact support', 'invoice-generator' ); ?> 210 </a> | 211 <a style="padding:0 10px" href="mailto:[email protected]?subject=Feature%20Request%20for%20Invoice%20Tool" class="text-blue-600 hover:underline"> 212 <?php esc_html_e( 'Request a new feature', 'invoice-generator' ); ?> 213 </a> | 214 <a style="padding:0 10px" href="mailto:[email protected]?subject=Bug%20Report%20for%20Invoice%20Tool" class="text-blue-600 hover:underline"> 215 <?php esc_html_e( 'Report a bug', 'invoice-generator' ); ?> 216 </a> 217 </p> 218 </div> 218 219 219 220 </div> <?php -
invoice-generator/trunk/readme.txt
r3306362 r3318161 1 1 === Simple Invoice Generator === 2 2 Contributors: tsplugins 3 Tags: invoice, pdf, generator, invoice generator, invoice-generator3 Tags: invoice, generator, invoice generator, invoice-generator, woocommerce 4 4 Requires at least: 5.2 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Generate beautiful PDF invoices from the WordPress admin panel . No database needed — all data is handled in-browser.11 Generate beautiful PDF invoices from the WordPress admin panel — and with full WooCommerce integration! No database needed — all data is handled in-browser or on the fly. 12 12 13 13 == Description == 14 14 15 Invoice Generator is a lightweight WordPress plugin for generating PDF invoices directly from the admin dashboard. It allows you to: 15 **Simple Invoice Generator** is a lightweight, easy-to-use WordPress plugin for generating PDF invoices. It also includes powerful **WooCommerce support**, allowing automatic invoice generation when customers complete an order. 16 16 17 🎉 **In 1.0.7 — WooCommerce Integration!** 18 Automatically generate and attach a PDF invoice when a WooCommerce order is placed (e.g. after checkout or when an order is marked as completed). 19 You can also view and download the generated invoice directly from the order admin screen. 20 21 ### Core features: 17 22 - Input invoice details (bill from / to, items, prices, tax, currency, etc.) 23 - Automatically generates WooCommerce order invoices with proper customer data 18 24 - Choose between two built-in PDF styles: **Standard** and **Blue Accent** 19 25 - Upload a custom logo to display on the invoice … … 21 27 - All done without storing anything in the database 22 28 23 Great for freelancers, small businesses, or anyone who wants a fast way to generate invoices without complex setup.29 Great for freelancers, small businesses, or WooCommerce shops needing a simple invoice workflow! 24 30 25 31 == Installation == … … 27 33 1. Upload the plugin files to the `/wp-content/plugins/invoice-generator` directory, or install the plugin through the WordPress Plugins screen directly. 28 34 2. Activate the plugin through the 'Plugins' menu in WordPress. 29 3. Navigate to the **Invoice Generator** section in the admin menu to begin creating invoices. 35 3. Navigate to the **Invoice Generator** section in the admin menu to begin creating invoices manually. 36 4. (Optional) To use WooCommerce integration, simply have WooCommerce active — no extra setup required. 30 37 31 38 == Usage == 32 39 40 🧾 **Manual Invoice Creation** 33 41 1. Go to the **Invoice Generator** menu item in your admin panel. 34 42 2. Fill in invoice details: invoice number, dates, billing info, line items, currency, and tax. … … 36 44 4. Select your preferred template style: **Standard** or **Blue Accent**. 37 45 5. Click **Generate Invoice** to create and download your PDF. 38 6. Use the **Reset** button to clear the form if needed. 46 47 🛒 **WooCommerce Invoices** 48 - When a WooCommerce order is completed (or placed), an invoice is automatically generated. 49 - You’ll see the **Invoice PDF** download link directly inside the WooCommerce order admin panel. 50 - The generated invoice uses the order’s billing data, products, prices, currency, and tax details. 39 51 40 52 == Frequently Asked Questions == 41 53 42 54 = Does this plugin store data in the database? = 43 No. This plugin is purely frontend-driven and does not persist any invoice data in the database.55 No. This plugin is purely frontend-driven for manual invoices. For WooCommerce orders, the generated PDF link is saved as order meta only. 44 56 45 = Can I send invoices via email? = 46 Not yet. Currently, the plugin only generates and downloads PDF files locally. Email integration may be added in the future. 47 48 = Can I customize the PDF layout? = 49 At this moment, the PDF generation is based on static HTML and styles. Advanced customization is possible by editing the template in the plugin code (coming soon). 57 = Is WooCommerce required? = 58 No, WooCommerce is optional. But if WooCommerce is active, the plugin will auto-enable invoice generation for orders. 50 59 51 60 == Screenshots == 52 1. Page of **invoice generator** form in WP admin panel. 53 2. Example of generated PDF invoice. 61 62 1. **Invoice form in admin panel** – Easy-to-use invoice editor directly in the WordPress admin area. 63 2. **Generated PDF in Standard style** – A clean, professional invoice layout without logo. 64 3. **Generated PDF in Blue Accent style** – An alternative layout with bold styling and accent color. 65 4. **Standard PDF with logo** – Example of a branded invoice using the Standard template with a custom logo. 66 5. **Blue Accent PDF with logo** – Example of a branded invoice using the Blue Accent template and logo. 67 6. **WooCommerce admin view** – Invoice PDF download link inside a WooCommerce order in the WordPress admin. 68 7. **WooCommerce customer view (Checkout)** – Downloadable invoice link shown to the customer after placing an order. 69 54 70 55 71 == Changelog == 72 73 = 1.0.7 = 74 * Full WooCommerce integration! 75 * Auto-generates invoices for WooCommerce orders (on checkout or order completion) 76 * Shows download link in WooCommerce order admin screen 77 * Stores PDF link as order meta 56 78 57 79 = 1.0.6 = … … 71 93 72 94 = 1.0.1 = 73 * Update styles and data pickr .95 * Update styles and data pickr 74 96 75 97 = 1.0.0 = … … 78 100 == Upgrade Notice == 79 101 80 = 1.0 =81 Initial stable version. No database required, pure frontend-based invoice generation.102 = 1.0.7 = 103 Big update: WooCommerce support added! Automatically generate and view PDF invoices for orders. 82 104 83 105 == License ==
Note: See TracChangeset
for help on using the changeset viewer.