Changeset 1800485
- Timestamp:
- 01/10/2018 01:57:44 PM (8 years ago)
- Location:
- smartaccounts/trunk
- Files:
-
- 2 edited
-
SmartAccountsClass.php (modified) (2 diffs)
-
smartaccounts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smartaccounts/trunk/SmartAccountsClass.php
r1796659 r1800485 15 15 try { 16 16 $order = new WC_Order( $order_id ); 17 18 17 if ( strlen( get_post_meta( $order_id, 'smartaccounts_invoice_id', true ) ) > 0 ) { 19 18 return; //Smartaccounts order is already created … … 29 28 update_post_meta( $order_id, 'smartaccounts_invoice_id', $invoice['invoice']['invoiceNumber'] ); 30 29 } catch ( Exception $exception ) { 31 $handle = fopen( 'error.log', 'a' ); 30 $handle = fopen( dirname( __FILE__ ) . "/error.log", 'a' ); 31 32 32 if ( $handle ) { 33 33 fwrite( $handle, $exception->getMessage() ); -
smartaccounts/trunk/smartaccounts.php
r1796659 r1800485 4 4 * Plugin URI: https://github.com/smartman/woocommerce_smartaccounts 5 5 * Description: This plugin creates sales invoices in the smartaccounts.ee Online Accounting Software after Woocommerce order creation 6 * Version: 1.1 6 * Version: 1.1.1 7 7 * Author: Margus Pala 8 8 * Author URI: http://marguspala.com
Note: See TracChangeset
for help on using the changeset viewer.